Tagged: x
-
AuthorPosts
-
July 24, 2016 at 12:24 am #1100389
CaptainJuneParticipantI was reading over this post: custom-template-for-custom-taxonomy-archive, i kind of get how that works for normal posts.
But how do i do that same thing but for Custom Woocommerce Taxonomies?
My custom taxonomy is called “collection”, and I have made taxonomy-collection.php, and put that file in:
framework > view > renew
and nothing changed on that taxonomy page.July 24, 2016 at 3:15 am #1100490
RadModeratorHi there,
Thanks for writing in.
Woocommerce has its own standard when it comes to templates, it mostly uses template parts too. It may require copying the templates from /wp-content/plugins/woocommerce/templates/ to /wp-content/themes/x-child/woocommerce/
All woocommerce templates and pages are dependent to /wp-content/themes/x/woocommerce.php as root, but you can follow the view path to get the actual template’s code.
Try this one http://stackoverflow.com/questions/16353899/changes-on-archive-product-php-doesnt-work
if ( is_singular( 'product' ) ) { woocommerce_content(); }else{ //For ANY product archive. //Product taxonomy, product search or /shop landing woocommerce_get_template( 'archive-product.php' ); }On this file, \wp-content\themes\x\framework\views\{CURRENT STACK}\woocommerce.php and you can copy that to yuor child theme (eg. \wp-content\themes\x-child\framework\views\{CURRENT STACK}\woocommerce.php )
It’s different than WordPress default archive/taxonomy templates since it’s Woocommerce’s standard.
Thanks!
July 24, 2016 at 11:42 am #1100808
CaptainJuneParticipantThis reply has been marked as private.July 24, 2016 at 12:13 pm #1100837
ChristianModeratorWe’re sorry but further customization from here would be getting into custom development which falls outside the scope of our support. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/
Thank you for understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1100389 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
