Archived topic
Custom taxonomy as a page with custom content
19 replies · Started by Alberto on March 18, 2020
If you want to insert custom fields, you have two choices:
a) Build shortcode that output your custom fields, then add those shortcodes to your static pages
b) Create your taxonomy-pais.php file, and build the content using your custom fields. You don't need to include the loop for posts in the template, just add whatever you want to add.
Hi Tom
As I told you, I'm working with a GP Child theme, so for b) option, what's the GP file I take as a model?, page.php?
Regards
You could copy page.php or even archive.php. It doesn't really matter as long as you rename it correctly and remove the existing loop. You're just going to be adding your own custom fields/HTML anyays.
Hi Tom!
Thanks for your reply!, that seems to work fine.
Regards
No problem :)