taxonomy.php file

Posted in: Newspaper
Post count: 23

hi

I’m trying to create a special template for one of my Custom Post Type

I did everything listed in this tutorial

https://forum.tagdiv.com/custom-post-type-support/

at the end of the tutorial it says

“…How to create a custom taxonomy list:
Copy the taxonomy.php file from the root of the theme to the root of the child theme and rename it to taxonomy-YourTaxonomy.php…”

but I can’t find it taxonomy.php file in the root of the Newspaper theme (Version: 11.4.1)

I did the upload “td-custom-post-type.zip” and I installed the plugin, but even then the taxonomy.php file did not appear

how can i solve this?

thanks in advance

Post count: 21065

Hello @zlobica!

Try to find taxonomy-post_format.php in wp-content\plugins\td-composer\legacy\Newspaper.
Hope that helps you!

Thank you!

Post count: 23

hi @Bettina

Thank you for your help

however, this is not exactly what is written at the end of this tutorial

maybe TagDiv should add a file to the next version of theme, or change the end of the tutorial

anyway, Bettina thank you again

Post count: 23

unfortunately, I can’t solve the problem…

with the “Custom Post Type UI” plugin I have created a Custom Post Type called “Gewerbe” (/wp-admin/edit.php?post_type=gewerbe)

in the folder “Newspaper-child” I put and renamed the files as I showed below

1. – wp-content >> themes >> Newspaper >> single.php (single-gewerbe.php)

2. – wp-content >> plugins >> td-standard-pack >> Newspaper >> parts >> single >> single_template_1.php (single-gewerbe.php and single_gewerbe.php)

3. – wp-content >> plugins >> td-composer >> legacy >> Newspaper >> taxonomy-post_format.php (taxonomy-gewerbe.php)

none of this worked and I was never able to get a page that has a sidebar…

please can you send me a file that i can use as a template for Custom Post Types pages which works properly and which can show a sidebar

https://prnt.sc/ScEcFixJd6UT

thank you in advance

  • This reply was modified 4 years by zlobica.
  • This reply was modified 4 years by zlobica.
  • This reply was modified 4 years by zlobica.
Post count: 21065

Hello @zlobica!

Copy the file \wp-content\plugins\td-standard-pack\Newspaper\single.php and paste it into your child theme folder as single-gewerbe.php.
Let me know the results!

Thank you!

Post count: 23

finally works 🙂


@Bettina
, thank you for your help

  • This reply was modified 4 years by zlobica.
Post count: 21065

Hello @zlobica!

I’m glad that I could help you!

Have a wonderful day!

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