Vantage Theme Permalinks Issue
- I have created 2 custom post types. I have also applied the rewrite while registering custom post type.
The Issue
Can't get it work, every link on front page for any of my custom post type is redirected to home page (va-home.php) which seem to be alternative for 404.php,
I have used flush_rewrite_rules(); following instructions from codex, changed the permalinks to default, used template_redirect filter with different priorities ......... nothing work whatsoever.
I am using vantage as parent and flatpage (activated) as child theme.
I have already created custom-posttype.php template in the child theme.
The permalinks works fine in twenty-fifteen when I moved the code.
Please help.