[wp-hackers] Rewrite API CPT Parent Slug Removal
me at jes.se.com
Thu Apr 25 20:41:53 UTC 2013
I'm trying to remove the parent page slug from a CPT url.
- where My Website is a child of Web
- portfolios = CPT slug
- web = Parent page slug
- my-website = page slug
I am attempting to remove "web" with the Rewrite API but I'm having
difficulty. I want the url to be:
Any push in the right direction would be greatly appreciated.
Book: Web Designers Guide to WordPress -
Twitter: @professor <http://twitter.com/professor>
More information about the wp-hackers