menu link to custom post_type?

ok – got this working with a walker in the end; (added a custom directors link to the menu) class Director_nav_links extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { global $wp_query; $indent = ( $depth ) ? str_repeat( “\t”, $depth ) : ”; $class_names = $value=””; $classes = empty( $item->classes ) ? array() : … Read more

cutsom posts 404ing

Since you’re hosted by WPEngine, I recommend contacting them directly and asking for advice. It might be that your CPT isn’t reliably making it into their cache for some reason, but they can give you a better answer than any of us. You should definitely escalate the ticket you’ve already submitted for the issue. If … Read more

Target post type edit page to change view post button, how do I?

»View Post« Button There’s a filter that you can use with a simple str_replace. Not the best solution, but there’s no other one: apply_filters(‘get_sample_permalink_html’, $return, $id, $new_title, $new_slug) »Preview« Button For the »Preview« Text, there’s not filter (only for the link target), but you can take a look at this Answer by @toscho on how … Read more