Hi there, sorry for the incorrect email on our site. The new working email is just [email protected] – you can reach me there as well.
Thank you!
I had issues getting the permalinks to link to the actual custom post type (got a 404). My solution was a little bit of rewrite rules: (if anyone ran in to the same thing)
add_filter('rewrite_rules_array', 'customposttype_rewrites');
function customposttype_rewrites($rules){
$the_parent_page_permalink = substr(get_permalink(70), strlen(home_url('/')));
$rules[sprintf('%s(.+?)/(.+?)$', $the_parent_page_permalink)] = 'index.php?customposttype=$matches[2]';
return $rules;
}
It’s a custom theme that I’ve been building, here’s a link to the site: http://tidd.ca/dev/warnerhouse/
If you click the location page, you’ll see the white screen