[wp-hackers] Ordering categories in permalinks
ozh at ozh.org
Fri Nov 5 21:55:26 UTC 2010
On Fri, Nov 5, 2010 at 10:31 PM, William Davis <will.davis at gmail.com> wrote:
> We're currently using categories in permalinks, but we'd like a way to order
> which categories appear, instead of the default WordPress handling which is
> based on ID number.
> So, for example, right now the 'news' category is ID 1, and the 'politics'
> category is ID 5. However, if there's a story that's categorized both news
> and politics we'd rather the have the permalink contain right /politics/
> than /news/. In addition, if politics were to be a subcategory we'd rather
> it was /politics/ instead of /news/politics/.
> I've taken a look at
> http://codex.wordpress.org/Function_Reference/WP_Rewrite and but haven't had
> a ton of success.
> William P. Davis
> will.davis at gmail.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers