daz1uk
Forum Replies Created
-
Forum: Plugins
In reply to: Merge posts with woocommerce products.Bump* Hoping someone can help with this?
Forum: Fixing WordPress
In reply to: Serve resources from a consistent URL with gtmetrixSame problem here, I wonder why this is happening? Did you manage to resolve it?
Forum: Fixing WordPress
In reply to: VestaCP WordPress Nginx PHP-fpm PermalinksSolved,
Add “try_files $uri $uri/ /index.php?$args;” to nginx.conf located at /home/user/conf/web/.
“try_files $uri $uri/ /index.php?$args;” Needs to be added to the location section of each website you host.
Forum: Plugins
In reply to: Add Facebook Comments Plugin to Woocommerce single-product.phpScrap that, the code needs to be added to content-single-product.php.
Thanks.
Forum: Plugins
In reply to: [WooCommerce] How to change the order of displayed products.School boy error, it was the “<?php”.
Thanks for the help, much appreciate!
Forum: Plugins
In reply to: [WooCommerce] How to make product image on product page open product link.Sorry, my bad, having read the documentation it now works 😉
Thanks for your help Mike, much appreciated!
For anyone reading this, the woocommerce file structures is replicated minus the templates folder.
Forum: Plugins
In reply to: [WooCommerce] How to make product image on product page open product link.Hi Mike,
Thanks for your help, it’s still not working though.
I have made the change in product-image.php in /wp-content/themes/MyChildTheme/woocommerce.
Do I need to replicate the woocommerce file structure in my child theme for this to work?
Forum: Plugins
In reply to: [WooCommerce] How to make product image on product page open product link.By wrong file, what I mean is I am copying the file product-image.php to the root of my child theme and making the edit there. Maybe it needs to be located elsewhere?
Forum: Plugins
In reply to: [WooCommerce] How to make product image on product page open product link.Hi Mike,
Thanks for the response, yes these are external products. It is on the product page that I wish to link the image to the external product.
I have tried following this:
In particular, this:
Here’s how I fixed it in Woocommerce version 2.5.2
1. Disable the lightbox, you’ll find this option in Woocommerce -> Settings -> Products Tab -> Display Link -> Very bottom checkbox
2. Edit the product-image.php in \plugins\woocommerce\templates\single-product
Change the line:
$image_link = wp_get_attachment_url( get_post_thumbnail_id() );
to
$image_link = esc_url( $product->get_product_url() );Save and enjoy.
But maybe I am trying it in the wrong file?
Forum: Plugins
In reply to: [WooCommerce] How to change the order of displayed products.Hi,
Thanks for the response, for some reason I get a 500 error when adding this to my child functions.php?
Forum: Plugins
In reply to: Trying to create Yith Wishlist ButtonMy apologies, I have posted this in the wrong section of the forum.
Forum: Fixing WordPress
In reply to: This webpage has a redirect loop, after changing url.This thread is resolved.
Forum: Fixing WordPress
In reply to: This webpage has a redirect loop, after changing url.The plugin is “Redirection”, it must have automatically added a redirect back to the old page.
Yes all working now, thank you for the help.
Forum: Fixing WordPress
In reply to: This webpage has a redirect loop, after changing url.Yes, it was a plugin.
Thanks Krishna.
Forum: Fixing WordPress
In reply to: This webpage has a redirect loop, after changing url.My bad spelling sorry.
The url is http://www.mycomputerrepairguy.co.uk
Yeah I have no problem accessing the dashboard or the rest of the site.