Hi! I added a custom taxonomy for a CPT through a plugin I made, and I want to apply different layout view to this custom tax, but when I select any of display views it doesn’t work, still display the layout I have select for archive template.
https://www.dropbox.com/s/4bk0ovlvtuxb6xh/Captura%20de%20pantalla%202019-10-14%2016.17.13.png?dl=0
Hi,
First you need to create a custom template taxonomy, rename it and after that you need to edit it
https://www.screencast.com/t/NBz1dH5I8cA
For more details, please check our documentation for CPT from here:
https://forum.tagdiv.com/custom-post-type-support/
Thanks.
Ok but my theme doesn´t have taxonomy.php template file: https://www.dropbox.com/s/62f8nkyyeg1ok2a/Captura%20de%20pantalla%202019-10-15%2009.10.54.png?dl=0
I try to duplicate category.php to taxonomny-my_custom_tax.php and WordPress rendered it, but I can´t change layout in theme panel, it still display the archive layout I have seleted.
Hi,
In order to use CPT, you should use a child theme where to set the CPT templates.
Also the taxonomy.php is in wp-content/plugins/td-composer/legacy/Newspaper/taxonomy.php
Hope this will help you!
Thank you!
Hi Jakyo-ck,
Now the taxonomy.php file was moved in wp-content/plugins/td-standard-pack/Newspaper/taxonomy.php -> http://prntscr.com/q36efy now in tagDiv Composer plugin can be found the wp-content/plugins/td-composer/legacy/Newspaper/taxonomy-post_format.php
Child theme support -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!