Clicking a taxonomy entry in a widget uses wrong template
-
Hi Jim,
What a relieve that a plugin lik Pods exists. I whish I had discovered a long time ago. It would have save me a lot of troubles and time.
Ok… long story short, I found it and I am extremely happy with it. Keep up the great work.
Got a question and if anyone can answer it… yeah, it’s you.
I’ve created a cpt and a custom taxonomy. Works well. To show the archive pages I use my custom archive-recept.php template. I slightly adjusted it to display the Pods fields. Works great. On the different recept pages I want to show a widget with the categories. (like the wordpress categories widget).I could not getting it to work properly. Using the Pods list item it shows me the the custom fields from the respective posts.
Using a dedicated plugin to show the contents of a custom taxonomy (List Custom Taxonomy Widget) and select the taxonomy of my choice (receptcategorie) it is displayed nicely. The culprit however is the fact that clicking on one of the items is displaying the archive using archive.php instead of archive.php. So, I’m loosing the markup (and therefor the css) I’m using in arhcive-recept.php.Please advice me how to incorporate a taxonomy (receptcategorie) widget showing the correct results using the custom archive-recept.php for showing results after clicking.
Best wishes,
Adri
- The topic ‘Clicking a taxonomy entry in a widget uses wrong template’ is closed to new replies.