Remove %post-title% from custom post type permalinks
-
THE REFERENCED CODE IS HERE: http://pastebin.com/FASDd1Vm
I’m trying to rewrite the URL of a custom taxonomy with the following structure:
property/%property_order_id%
where “property” is the slug of the custom post type, and “property_order_id” is a custom taxonomy value unique to each post.
The following code gets me 90% of the way there, by giving me the structure:
property/%property_order_id%/%post-title%
How do I remove the %post-title% from the permalink structure?
thanks!
- The topic ‘Remove %post-title% from custom post type permalinks’ is closed to new replies.