Tagged Questions
0
votes
0answers
8 views
List custom post type as children of page in wp_list_pages
I've got a WP site, with a custom post type set for team members (called 'people').
In the site page hierarchy, I have:
About
-> Team
Is there a way so that all entries for the team members, are ...
2
votes
0answers
37 views
Automatically populate a hierarchical taxonomy from a custom field
I've got a vexing how-to that I've not found any help on. I have a custom post type that has a custom field with a date in it (format: yyyy-mm-dd-t). When a post is published or edited, I would like ...
1
vote
1answer
26 views
Modifying Custom Post Type after registration (will it affect content?)
I have a CPT (defined in functions.php) that I have set to as non-hierarchical. A lot of content has already been uploaded into the database.
If I change the definition to 'hierarchical' => true, ...
1
vote
2answers
123 views
Can I have Post Types under other Post Types in Admin menu?
Lets say I have created two custom post types A and B. Those post types are displayed in the Admin menu one after another. (After Posts for example)
Is there a way to display B under A?
The only ...
1
vote
1answer
94 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
1answer
239 views
Hierarchical Custom Post Types or Similar
Doing a site for an architecture firm. Want to organize this very intelligently. I know of a lot of different ways to do what I'm about to explain, but I want to know the most efficient way/most ...
1
vote
2answers
49 views
Custom Post Type 'hierarchical' Help!
Not quite sure why it's even available because I cannot find any documentation on how to make a custom post type hierarchical other than in the optional parameter 'hierarchical' => true....Can someone ...
2
votes
1answer
68 views
Custom post type routing with hierarchy
I've been playing around with a lot of custom post types lately and I am pretty anal about my URL structure / routing.
An issue I ran in to a with a site that I just developed was this:
I had many ...
3
votes
3answers
435 views
Nested custom post types with permalinks
I am trying to set up a multi-level custom post type structure with permalinks that look like authors/books/chapters, with authors, books, and chapters all set up as their own custom post type. For ...
0
votes
1answer
339 views
Does “Custom Post Type” can have page hierarhy option?
I want create "Custom Post Type" that will have next structure:
Post (hierarhy level)-(some-post-id)
Post 1-1 =>
Post 2-2
Post 2-3
Post 2-4 =>
Post 3-5
...
1
vote
1answer
610 views
Child pages on hierarchical Custom Post Types 404s
I've been working with Custom Post Types lately and haven't had any major problems. This time I'm trying something new. I want to create a CPT which basically works like Pages, with page hierarchy.
...
3
votes
3answers
310 views
Hierachical Custom post types permalinks not working
Been looking for someone with this same problem for hours now so I decided to post my own thread.
I have a hierachical custom post type called contact-information. Using this I have parentpages ...
0
votes
1answer
360 views
Custom permalinks - post type - hierarchical taxonomy's
I did folowed the steps / solution from Jeff it helped me alot with he's settings, got it for about 90% working properly. But getting stuck on the post / postname. It loads now the ...
0
votes
1answer
138 views
Wordpress Custom Post Type Children Template
I have created a hierarchical custom post type in wordpress called "films." It is hierarchical so it can have children elements.
When a "film" is clicked, wordpress automatically uses the template ...
1
vote
1answer
321 views
Use a hierarchical custom post type for a main blog and subblogs?
After some trouble with custom post type/custom taxonomy permalinks I'm trying out custom post types with hierarchy = true and capability_type = 'page'. Would I miss out on any blog capabilities or go ...
0
votes
1answer
174 views
Specifying Default Template for Hierarchal Custom Post Type [duplicate]
Possible Duplicate:
single-{$post_type}-{slug}.php for custom post types
I have registered a Custom Post Type named conference with the attribute:
'hierarchical' => true
In the ...
1
vote
1answer
289 views
Change custom post type to hierarchical after being registered
Very similar to this previous question: Changing 'rewrite' argument after custom post type is registered
I am trying to make MarketPress Products hierarchical - I can do it with hacking the ...
10
votes
2answers
4k views
How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
I've been combing this site and google for the answer and I've come up completely empty. Basically I want to do exactly what this post asks, but I need a hierarchical taxonomy. The answer given in ...
2
votes
0answers
397 views
Hierarchical Custom Posts - Highlighting Current Post in Sub-Menu
I have created a hierarchical custom post type called events and have used wp_list_pages to list the sub-posts for each event post (See below). This navigation works great, but I cannot figure out how ...
0
votes
1answer
167 views
Creating an Events Feed with Sub Pages/Posts for Each Event
I am currently working on creating an events section for a website. My original plan was to create a custom post type for Events and create a new post for each event. Then I would query the top five ...
2
votes
2answers
492 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/
...
1
vote
1answer
488 views
Custom post type Permalinks with hierarchical Taxonomies
I Would use Custom Post Type and hierarchical Taxonomies with same Slug. Fortunately I found a good solution based on post_type_link filter here from TheDeadMedic.
...
1
vote
2answers
360 views
Should I use custom taxonomy or custom post type
I've recently taken on a project from a client of mine, after a lot of persuasion I've managed to finally get the website under some kind of CMS. I'm pretty new to Wordpress I've come from an ...
2
votes
2answers
290 views
Post type hierarchy
I am looking to create two custom post types, one of which is a child of the other. Let's call them Authors and Books for simplicity.
Authors should be a top level URL and the landing page for them ...
7
votes
2answers
3k views
Integrating a custom post type into a page hierarchy
I'm creating a theme with a custom post type for team members, I've also got the following page structure:
about <-- this is a page
about/team-members <-- this is a page, lists all the team ...
1
vote
3answers
1k views
wp_list_pages doesn't work in hierarchical custom post type
I've been bashing my head against my desk all afternoon trying to figure this out. I've got a custom post type all set up, with hierarchical set to "true" and I can assign parents and see the ...
5
votes
2answers
4k views
How to handle a hierarchy with custom post types
I have moved into WordPress for a few days and was quite impressed by all the available features, plugins and polished themes. I have spent quite some times reading documentation about themes and ...
3
votes
3answers
672 views
How can I combine posts of different types in one hierarchy?
I'd like to create a custom post type and add this as a child post of some but not all existing standard posts (which are not pages). Is this possible?
Can I, for example, create a custom post type ...
1
vote
4answers
495 views
URL Design for Sub-Posts?
I currently have this:
mysite.com/product-name
mysite.com/another-product
etc where product-name and another-product are posts.
I then have a custom post type called Changelogs, which I have for ...