Joost,
Please add a quick checkbox setting to disable the new columns for all users. Or have the columns disabled by default. I manage dozens of sites with multiple users, and it would take me forever to go into (a) each user on (b) each site and uncheck (c) all of the Screen Options boxes in (d) Pages, Posts, and sometimes other taxonomies. a * b * c * d is not a small number. I love your plugin but this is too much work and I would hate to have to switch back to All in one SEO.
Thank you!
Joost,
Lovely plugin!
While you consider whether to add an option to disable the additional columns, how about adding this to the FAQ on the plugin directory?
Something like:
Q: The SEO columns on the All Pages and All Posts screens have made the table difficult to read. How can I turn them off?
A: Use the “Screen Options” pulldown in the upper right.
Thanks.
Hi Joost,
Could you please elaborate on the filter – as I have this problem and need to resolve with a filter.
I already use a custom admin column plugin for my client, but the recent update to the latest version of this plugin added all the default columns back in. I have to configure this across 6 custom post types, so this is a big deal.
I’m guessing we’d handle this through the wpseo_options (array), but there isn’t enough information in the SEO API docs to figure this out.
Sorry, could you also please provide documentation on how to remove the SEO filter that has been added to all posts and custom post types? My clients are very unhappy, as they are getting extremely confused with these changes.
Thanks!
No news about that? Same need here…
If you would like to remove the columns you could use Codepress Admin Columns. You have the option to show/hide and reorder any column. Also works for the added columns of WordPress SEO by Yoast.
Thanks for the tip Tobias! The plugin saves your settings across all users and you can set the columns for Pages and Posts in one convenient place.
Just put this in your functions.php file
add_filter( 'wpseo_use_page_analysis', '__return_false' );
Yoast’s filter is useful for removing all WordPress SEO columns from the Page and Post edit screens, and you can easily show only certain columns per user by logging in and editing screen options.
If you happen to want to set only particular WordPress SEO columns to be displayed across the board – for all users – then here’s some code you can run once from functions.php: https://gist.github.com/4074620
If you’d like to set which WordPress SEO columns are displayed for any users created in the future, you can use this code instead: https://gist.github.com/4074688
It’s not the same as including an option in the plugin, and I’m sure there’s a better way to write this stuff, but it worked for me and I hope it’s helpful to others as well.
I’ve also seen the suggestion to use Codepress Admin Columns to manage these columns, though I haven’t used it. Might make more sense to do that.
I followed Steven’s advice and it worked like a charm. Thanks!
Thanks, Jeremy!
I wanted to hide the SEO columns from users, so only admin could see them and I found your code to be the solution. I added your code to user_register
hook and then just used user_can
to exclude admin-user.
Smooth sailing.
I’m glad to hear it! Good idea, differentiating between user levels using user_can
.
Thanks @achensee commenting out //$wpseo_metabox = new WPSEO_Metabox(); in the wordpress-seo/admin/class-metabox.php file worked for me.
@digimixus
You don’t want to do that as when the plugin is updated you’ll lose your changes.
See my last post as to how to get rid of the post columns.