[wp-hackers] Need Custom Post Type Rewrite Help, Please
mikeschinkel at newclarity.net
Sun Apr 18 10:04:15 UTC 2010
On Apr 18, 2010, at 5:59 AM, scribu wrote:
> $wp_rewrite->add_rewrite_tag("%financialterm%", '([^/]+)',
> $wp_rewrite->add_permastruct($tag, '/%financialterm%');
Thanks. That seems to work but it hides all the post_type="page". So add them explicitly with the code you had before since there will only ever be a few?
More information about the wp-hackers