[wp-hackers] Permalink Structure - Performance vs. SEO

Mike Schinkel mikeschinkel at newclarity.net
Thu Jun 16 10:26:14 UTC 2011


On Jun 16, 2011, at 5:33 AM, David Law wrote:
> I tend to stay away from Static Pages because they don't offer as many
> features as Posts: no Categories, Tags, even excerpts are missing by
> default

Adding the following to functions.php makes those objections moot:

add_action('init','my_init');
function my_init() {
add_post_type_support( 'page', 'excerpt' );
register_taxonomy_for_object_type( 'category', 'page' );
register_taxonomy_for_object_type( 'post_tag', 'page' );
}

-Mike



More information about the wp-hackers mailing list