It turns out that the WordPress SEO by Yoast metabox will not automatically load in Event Espresso’s event post type edit screens because the SEO plugin does this check:
if ( in_array( $pagenow, array( 'edit.php', 'post.php', 'post-new.php' ) ) || apply_filters( 'wpseo_always_register_metaboxes_on_admin', false ) ) {
$GLOBALS['wpseo_metabox'] = new WPSEO_Metabox;
if ( $options['opengraph'] === true ) {
$GLOBALS['wpseo_social'] = new WPSEO_Social_Admin;
}
}
The nice thing is, they provide the filter in that conditional so you can override it by adding something like this to a little function plugin:
I looked a little into it after your insight – but I was thinking checking for admin.php only was a little inspecific so I decided to check for page = event_espresso.
Then I also did a search on the forums and realised that there were some questions too.
I think I discussed this with Darren over github that a plugin or a core file to hook popular plugins properly would be good.
I guess you guys are fixing the major stuff first so I wrote something –
Yes that’s awesome. It would be great to have his input. I’d be happy to integrate other plugins as well.
Cheers! Marking as resolved
Viewing 4 reply threads
The support post ‘WordPress SEO by Yoast Metabox not appearing in Event Post Type edit Screen’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.