Adding of extra A tag causing issues…
-
Hi,
I’m running a site with a child theme (Unicon) and have an issue on the products/archive page, which I have googled, but to no avail:
When I add an A tag (link) within the product loop, using my child theme functions.php, somehow several extra links are created that wrap around various levels of the loop content. Essentially, it’s the woocommerce_template_loop_product_link_open (and close) gone mad! It doesn’t matter whether input the link directly within an action or call woocommerce_template_loop_add_to_cart(), the same thing happens – it can be any A tag.
You can only see this when logged in as admin, as I’ve hidden it for end users – where can I send login details so you can see it?
Many thanks in advance.
Here is the system status report:
### WordPress Environment ### Home URL: http://vetcpd.co.uk Site URL: http://vetcpd.co.uk WC Version: 2.6.9 Log Directory Writable: ✔ WP Version: 4.7 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_GB ### Server Environment ### Server Info: Apache/2.4.23 (Unix) PHP Version: 5.6.29 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.19.7 NSS/3.19.1 Basic ECC SUHOSIN Installed: – Max Upload Size: 64 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 2.6.9 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations: ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta: ✔ MaxMind GeoIP Database: ✔ ### Active Plugins (23) ### Advanced Custom Fields: by Elliot Condon – 4.4.10 All In One WP Security: by Tips and Tricks HQ Peter Ruhul Ivy – 4.1.9 Cimy User Manager: by Marco Cimmino – 1.5.0 Contact Form 7 MailChimp Extension: by Renzo Johnson – 0.4.34 Contact Form 7: by Takayuki Miyoshi – 4.6 Custom Post Type UI: by WebDevStudios – 1.4.2 Heartbeat Control: by Jeff Matson – 1.0.3 WPBakery Visual Composer: by Michael M - WPBakery.com – 4.11.2.1 P3 (Plugin Performance Profiler): by GoDaddy.com – 1.5.3.9 Parent Category Toggler: by Ben Lobaugh – 1.3.3 PDF Embedder: by Dan Lester – 2.7.5 Slider Revolution: by ThemePunch – 5.2.4.1 Simple 301 Redirects: by Scott Nellé – 1.07 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.12.23 Aelia Foundation Classes for WooCommerce: by Aelia – 1.7.5.160722 WooCommerce AJAX Products Filter: by BeRocket – 2.0.6.39 WooCommerce EU VAT Assistant: by Aelia (Diego Zanella) – 1.6.11.161207 WooCommerce Stripe Gateway: by Automattic – 3.0.6 WooCommerce PDF Invoices: by Bas Elbers – 2.4.13 WooCommerce: by WooThemes – 2.6.9 WP Fastest Cache: by Emre Vona – 0.8.6.3 WP-Optimize: by David Anderson Ruhani Rabin Team Updraft – 2.1.0 WP Sentry: by Steve Weigold – 0.9 ### Settings ### Force SSL: ✔ Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ✔ ### WC Pages ### Shop Base: #47 - /shop/ Basket: #48 - /basket/ Checkout: #49 - /checkout/ My Account: #50 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Unicon Child Theme Version: 1.0 Author URL: Child Theme: ✔ Parent Theme Name: Unicon Parent Theme Version: 2.2.1 Parent Theme Author URL: http://mintithemes.com WooCommerce Support: ✔ ### Templates ### Overrides: Your theme has a woocommerce.php file. You will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: –
The topic ‘Adding of extra A tag causing issues…’ is closed to new replies.