WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Hiding WordPress SEO Meta Box on posttypes (1 post)

  1. Codepress
    Member
    Posted 2 years ago #

    Hi Yoast,

    I have noticed a small change since the last update, which I think is not intended. As of the last update I can not hide the SEO Meta Box on post-types which have the 'public' argument set to false.

    WordPress version: 3.4
    WordPress SEO version: 1.2.2

    I did this:
    I have registered a posttype with the 'public' argument set to 'false':

    register_post_type( 'demo', array(
     'public' => false,
      ....
    ) );

    I expected the plugin to do this:
    To show an option to Hide the SEO Meta Box for the registered demo posttype. This way I could hide the Metabox on posttypes which are not set to public.

    Instead it did this:
    Displayed the SEO Metabox on the editor page of the demo posttype. And there was no option to turn the Metabox off.

    Hopefully you could implement an option to also hide MetaBoxes on posttypes which are not set publicly.

    Best,

    Tobias Schutter
    - Codepress

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.