[wp-hackers] Need Custom Post Type Rewrite Help, Please
mikeschinkel at newclarity.net
Sun Apr 18 10:37:23 UTC 2010
So adding this mostly worked:
$wp_rewrite->use_verbose_page_rules = true;
BTW, this also work, in it's entirety (note the last line is different from what you suggested, i.e. no domain, only path):
$pages = get_pages();
foreach ( $pages as $page )
Only problem is, in either case, now it calls single_template instead of page_template. Go figure.
On Apr 18, 2010, at 6:22 AM, scribu wrote:
> Oh... Right, try triggerring add_verbose_rules somehow, so you don't have to
> add the page rules yourself.
> On Sun, Apr 18, 2010 at 1:20 PM, Mike Schinkel
> <mikeschinkel at newclarity.net>wrote:
>> I get a 404 error on the "about" page.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers