WordPress.org

Ready to get started?Download WordPress

Forums

leenk.me
[resolved] Meta-boxes in post/page write panel (3 posts)

  1. mished
    Member
    Posted 3 years ago #

    I really like this plugin; it is now my standard tool for cross-posting from my sites to media sites.

    There's just one last thing I'm trying to fix right now - the Leenk.me meta-boxes appear on the post/page write panel. I prefer that it be made invisible as it will only tend to confuse my users. I could customise the write panel, of course. But I haven't got the skill set just yet to do that.

    I've tried two solutions: (a) using Adminimize; and (b) via the Screen Options. But neither works because Leenk.me is not visible in both of them anyway (so there is no box to tick).

    Any suggestions (ie plugin or simple, and I mean really simple, as I'm not a tech)?

    http://wordpress.org/extend/plugins/leenkme/

  2. Lew Ayotte
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Mished,

    There are some pretty simples ways you can do this with some coding... but it will require you to edit your functions.php file. This code should completely remove the current leenk.me meta boxes:

    global $dl_pluginleenkmeTwitter;
    remove_action( 'edit_form_advanced', array( $dl_pluginleenkmeTwitter, 'leenkme_add_twitter_meta_tag_options' ), 1 );
    remove_action( 'edit_page_form', array( $dl_pluginleenkmeTwitter, 'leenkme_add_twitter_meta_tag_options' ), 1 );
    
    global $dl_pluginleenkmeFacebook;
    remove_action( 'edit_form_advanced', array( $dl_pluginleenkmeFacebook, 'leenkme_add_facebook_meta_tag_options' ), 1 );
    remove_action( 'edit_page_form', array( $dl_pluginleenkmeFacebook, 'leenkme_add_facebook_meta_tag_options' ), 1 );
    
    global $dl_pluginleenkmeGoogleBuzz;
    remove_action( 'edit_form_advanced', array( $dl_pluginleenkmeGoogleBuzz, 'leenkme_add_googlebuzz_meta_tag_options' ), 1 );
    remove_action( 'edit_page_form', array( $dl_pluginleenkmeGoogleBuzz, 'leenkme_add_googlebuzz_meta_tag_options' ), 1 );
    
    global $dl_pluginleenkmeLinkedIn;
    remove_action( 'edit_form_advanced', array( $dl_pluginleenkmeLinkedIn, 'leenkme_add_linkedin_meta_tag_options' ), 1 );
    remove_action( 'edit_page_form', array( $dl_pluginleenkmeLinkedIn, 'leenkme_add_linkedin_meta_tag_options' ), 1 );
    
    global $dl_pluginleenkmeFriendFeed;
    remove_action( 'edit_form_advanced', array( $dl_pluginleenkmeFriendFeed, 'leenkme_add_friendfeed_meta_tag_options' ), 1 );
    remove_action( 'edit_page_form', array( $dl_pluginleenkmeFriendFeed, 'leenkme_add_friendfeed_meta_tag_options' ), 1 );
  3. mished
    Member
    Posted 3 years ago #

    Thanks! This worked fine. I may not be a tech person but I can certainly cut and paste!

    Your product is great, and so is your service. All the best with it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic