Tagged Questions
1
vote
1answer
96 views
How To Limit Hierarchical Pages Depth (For Custom Post Types) To Children Only
Is there a way to limit the creation of pages (custom post type) to a specific depth - e.g. level 1 (where 0 = parent, 1 = child, 2 = grand-child, etc.)?
For example, let's create a 'Summer' recipe ...
1
vote
0answers
181 views
List Posts For Terms Of A Custom Taxonomy For Any Post Type
The function is great and i am using this function with these filter to just display selected taxonomy term posts by id, but what result i am getting is like this
Child Taxonomy 1
- Child Taxonomy 1 ...
2
votes
2answers
497 views
Custom post type hierarchical permalinks not behaving as expected for parent/child pages
When you have Pages with children, the permalink structure works something like this:
example.com/parent-page/child-page/
All well and good. Trying to go to this URL:
example.com/child-page/
...