Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Code96

    (@code96)

    This is the logic that the plugin is using to decide to show the buttons in the editor

    current_user_can('edit_posts') && current_user_can('edit_pages')

    So if the user can edit posts and edit pages it will show.

    Make sense??

    Thread Starter coralseait

    (@coralseait)

    Perfect !!!

    //* Override Genesis Easy Columns so Authors and up have button
    remove_action('init', 'gc_add_button');
    function trc_gc_add_button() {
    	   if ( current_user_can('edit_posts'))
    	   {
    		  	add_filter('mce_external_plugins', 'gc_add_plugin');
    			add_filter('mce_buttons', 'gc_register_button');
    	   }
    	}
    add_action('init', 'trc_gc_add_button');
    Plugin Author Code96

    (@code96)

    I think this one is worthy of an update and change to allow Authors to have the buttons. Thanks for bringing this to my attention and I will include this in the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Column Buttons only available to Editors and Admins’ is closed to new replies.