Retrieving Taxonomy Data from Nested Posts within the Current Post
I’m trying to retrieve taxonomy data from nested posts within the current post. Specifically, I have a custom post type called ‘book-pages,’ which I use inside a post to represent a book. These ‘book-pages’ are nested posts representing individual pages of the book. Additionally, I have a taxonomy called ‘chapter.’ My goal is to filter chapters from the current post representing a book.
I’m getting duplicating list like if chapter 1 have 4 pages chapter 1 showing 4 time.I’m using timber 2.0 version.Thanks
TImber 2.0 Errors
I’m trying to upgrade to Timber 2.x and keep running into errors with template locations.
How can I do a twig template validation on WordPress?
For example, I have two headers
header.twig
и
new-header.twig