dspink
Forum Replies Created
-
Forum: Plugins
In reply to: [Load More Products for WooCommerce] Disable on a pageThanks for the reply Dima, on searching I found a plugin called ‘Plugin Organizer’ that allowed me to do what I required but I’ll try your suggestion.
Regards DarrenForum: Plugins
In reply to: [A-Z Listing] Woocommerce category imagesThanks Daniel
Error gone but category images aren’t loading, just the placeholder image ??
https://design-dev.co.uk/wordpress/artists/
Any ideas?
Forum: Plugins
In reply to: [A-Z Listing] Woocommerce category imagesThanks for the reply and your time Daniel. Unfortunately that creates a fatal error:
Fatal error : Uncaught Error: Call to a member function get_the_item_id() on null in /home/dev/public_html/wp-content/themes/child/a-z-listing.php:57 Stack trace: #0 /home/dev/public_html/wp-content/plugins/a-z-listing/src/Query.php(1201): require() #1 /home/dev/public_html/wp-content/plugins/a-z-listing/src/Query.php(743): A_Z_Listing\_do_template(Object(A_Z_Listing\Query), '/home/dev/publi...') #2 /home/dev/public_html/wp-content/plugins/a-z-listing/src/Query.php(758): A_Z_Listing\Query->the_listing() #3 /home/dev/public_html/wp-content/plugins/a-z-listing/src/Shortcode.php(241): A_Z_Listing\Query->get_the_listing() #4 /home/dev/public_html/wp-includes/shortcodes.php(325): A_Z_Listing\Shortcode->handle(Array, '', 'a-z-listing') #5 [internal function]: do_shortcode_tag(Array) #6 /home/dev/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(a\\-z\\-...', 'do_shortcode_ta...', '[a-z-listing ta...') #7 /home/dev/public_html in /home/dev/public_html/wp-content/themes/child/a-z-listing.php on line 57
57 being:
<?php woocommerce_subcategory_thumbnail ( $a_z_listing->get_the_item_id() ); ?>
Any further assistance would be most welcome, Darren
Forum: Plugins
In reply to: [A-Z Listing] Woocommerce category imagesSo, not being a programmer I feel like I’m pissing in the wind here.
I can pull all the category images with the following:
<?php $product_category_terms = get_terms( array( 'taxonomy' => "product_cat", )); foreach($product_category_terms as $term){ woocommerce_subcategory_thumbnail( $term ); } ?>
But that’s obviously a fat load of good on it own, can you help Daniel?
Sorry, forget the above.