Possible to use standard WP Pages as the "CPT-onomy"?
-
Curious if there is a way to use standard WordPress Pages instead of a CPT?
Why you ask? Well, because CPTs have post_type’s in their slugs and I don’t want that. Further this excellent code from VIP to remove the slug works, but then breaks other permalinks (children/taxonomies/etc…)
http://vip.wordpress.com/documentation/remove-the-slug-from-your-custom-post-type-permalinks/So I’m thinking I could use standard pages and get the permalinks I want out of it all.
Structure is currently:
CPT_State (hierarchical)
CPT_FAQ (hierarchical, CPT-onomy attached to CPT_State)This way I show FAQ’s on the State pages they’re related to.
New structure:
Pages named: Alabama, Alaska, etc…
CPT_FAQ (hierarchical, CPT-onomy attached to ‘page’).I realize the CPT-onomy would pickup ALL my pages, but that’s ok because the CPT-onomy is only used on the backend…
- The topic ‘Possible to use standard WP Pages as the "CPT-onomy"?’ is closed to new replies.