[wp-hackers] Need Custom Post Type Rewrite Help, Please

scribu scribu at gmail.com
Sun Apr 18 09:20:02 UTC 2010


Or rather:


foreach ( $pages as $page )
    add_rewrite_rule('http://example.com/' . $page->post_name, '?' .
$page->post_type . '=' $page->post_name, 'top');


-- 
http://scribu.net


More information about the wp-hackers mailing list