Support » Plugin: Facebook AWD All in one » [Plugin: Facebook AWD All in one] Removing AWD options from new/edit post page

  • Resolved DK999k



    Is there an option to remove the Facebook AWD options from the new/edit post page? – I will never use them and they’re taking up alot of space since I customized my login button to make it larger.

    As a temporary solution, I would be OK with going into the plugin files and removing the hooks if necessary. If you could tell me where the calls are that would be great.

    The two boxes i’d like to remove are: ‘Facebook AWD Manager’ and ‘Open Graph Metas’.

    Any help would be much appreciated.


Viewing 1 replies (of 1 total)
  • Plugin Author AHWEBDEV


    Of course you can, You just have to remove the action that add this metabox.

    Let me show you:

    you can remove the metaboxes using the default function from WP.

    function remove_facebook_awd_metaboxes(){
    	global $AWD_facebook;
    	$post_types = get_post_types();
    	foreach($post_types as $type){
    		if($AWD_facebook->options['open_graph_enable'] == 1){
    			remove_meta_box($AWD_facebook->plugin_slug."_open_graph_post_metas_form", $type , 'normal');
    		//Like button manager on post page type
    		remove_meta_box($AWD_facebook->plugin_slug."_awd_mini_form_metabox", $type , 'side');
    add_action('admin_menu', 'remove_facebook_awd_metaboxes', 1000);

    Add that in your functions.php.

    This should remove the opengraph form oon all post types, and will remove the manager too.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Facebook AWD All in one] Removing AWD options from new/edit post page’ is closed to new replies.