Custom Taxonomy layout

Posted in: Newspaper
Post count: 4

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

Post count: 4

This is my theme info:

Theme name Newspaper
Theme version 9.8
Theme database version 9.8
HTTP channel test wordpress
WP version i 5.2.3
WP multisite enabled No

Post count: 35449

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.

Post count: 4

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.

Post count: 35449

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!

Post count: 4

Solved! Thank you very much!

Post count: 1

What’s the current way to customize a custom taxonomy archive page? There is no taxonomy.php file anymore.

Post count: 35449

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!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.