[wp-hackers] WPMU Category Table
scribu
scribu at gmail.com
Fri Aug 14 00:20:30 UTC 2009
The ID changes because it's an autoincremented value in a column, not
because it's stored in a common table.
You might want to try using the Carrington framework, which has
category-{slug}.php and other nifty features.
On Fri, Aug 14, 2009 at 2:40 AM, Tim Schoffelman <tim at silentgap.com> wrote:
> Quick question, and this may have been asked before, but is there a
> specific
> reason why there's a shared wp_sitecategories table, instead of a table
> broken out into wp_2_categories or something like that. The reason I ask is
> that when trying to develop a theme and creating a category-[CATID].php
> file, such as category-6.php and then implement that theme on a different
> blog, the category ID changes. Now I know I can just rename the file, but
> this issue spans into many different scenarios when creating a theme. Any
> thoughts?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
http://scribu.net
More information about the wp-hackers
mailing list