-
How display meta box of FV SEO in custom posts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
Foliovision › Forums › FV Simpler SEO › Requests and Feedback › How display meta box of FV SEO in custom posts?
Hello Sergey,
this is a WP design issue. We expected that the “supports” attribute of the register_post_type() function would allow you to enter “fvseo_meta” to show our meta box, but it does not.
If you know a bit of PHP, you can use this code to add out meta box to your custom post type:
add_action('admin_menu', 'yoursite_your_custom_pos_type_meta_box');
function yoursite_your_custom_pos_type_meta_box() {
global $fvseo;
if( is_a( $fvseo, 'FV_Simpler_SEO_Pack' ) ){
add_meta_box('fvsimplerseopack',__('FV Simpler SEO', 'fv_seo'),
'fvseo_meta', 'your_custom_pos_type');
}
}
It should not be a problem, as most of the time you need to know PHP to create these custom post types in the first place.
If this is important for your work, we are happy to add this feature into our plugin. Just use our pro plugin support (as a donation for our open source development).
Thanks,
Martin