custom post type rewrite rule not working with gpress
my set up is a bp site with gpress. I also have a couple of custom-post-types with the rewrite slug ‘turned-on’ in the register_post_type function as follows:
‘rewrite’ => array(‘slug’ => “resources”, ‘with_front’ => false)
problem is that I always get a 404 trying to view these custom posts (i have a single.php and re-saved and flushed the permalinks structure after I added them), but when disabling gPress everything works back without any problems, can you have a look please at your rewrite rules?
my code is here http://pastebin.com/ubUwrPG3
- The topic ‘custom post type rewrite rule not working with gpress’ is closed to new replies.