Thread Starter
thias_
(@thias_)
This code enables page categories:
function page_categories() {
// Add tag metabox to page
register_taxonomy_for_object_type('post_tag', 'page');
// Add category metabox to page
register_taxonomy_for_object_type('category', 'page');
}
// Add to the admin_init hook of your theme functions.php file
add_action( 'admin_init', 'page_categories' );
Thread Starter
thias_
(@thias_)
Hi Calvin!
Thanks you for your reply.
The problem is that it are pages (not posts) still have just the
http://www.domain.com/pagename
and i would like to have http://www.domain.com/categoryname/pagename
The premalink settings dont change the url for the pages, or atleast not in my install.
Can you point me in the right direction?