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

scribu scribu at gmail.com
Sun Apr 18 09:59:30 UTC 2010

On Sun, Apr 18, 2010 at 12:39 PM, Mike Schinkel <mikeschinkel at newclarity.net
> wrote:

> Thanks for the quick answer.  Are you saying I need to add 700+ rewrite
> rules, one for each financial term?  I'm hoping that won't be a requirement.
>  I'm hoping to write one rewrite rule to capture every financial term.

Then maybe something like this:

$wp_rewrite->add_rewrite_tag("%financialterm%", '([^/]+)',
$wp_rewrite->add_permastruct($tag, '/%financialterm%');


More information about the wp-hackers mailing list