WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Social Sharing Toolkit] Excluding some pages from displaying the buttons

[Plugin: Social Sharing Toolkit] Excluding some pages from displaying the buttons

Viewing 8 replies - 1 through 8 (of 8 total)
  • i need to do this too…. any suggestions would be appreciated.

    Did anyone get an answer to this? I thought this was working properly a little while ago, but the toolkit is appearing on all my pages. I don’t want that. I need to pick and choose where they appear.

    I also need this… OK, I found this information on http://www.active-bits.nl/support/social-sharing-toolkit/: “Plans for next update(s): – Enabling / disabling of buttons per page”.

    I am looking forward to the update!

    my interim solution has been to add new template for the pages i don’t want sharing on, and include the following extra style in the header

    <style  type="text/css">
    div.mr_social_sharing_wrapper {
    	display: none;
    }
    </style>

    it’s not perfect, but it does the job for now.

    someone with more skill could likely do it with conditional tags and custom fields…
    but i didn’t have time to sort that out for this project.

    @somethingelse Thank you, this worked! I added this code just under <?php get_header(); ?> in my new template page-no-buttons.php (and not in the header itself). I am not sure if that is correct but it does the job 🙂

    hi Tom – technically that’s not perfect, but i’m from the school where “it works” is perfect enough most of the time 😀

    better plan might be to make a new file – header-nobuttons.php (just save-as your original header.php)- and put the extra style in there, where it should be (before the wp_header hook)… then on your page-no-buttons.php use get_header(nobuttons)

    a more expert coder might have better advice, but as far as i know, that approach would be more “correct”.

    Hi somethingelse, this worked too. When there is an update to Social Sharing Toolkit I will use the “disabling of buttons per page” feature to limit the number of unnecessary files. But for now I have what I wanted:) Thanks a lot!

    Does anybody know if this was ever implemented?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Social Sharing Toolkit] Excluding some pages from displaying the buttons’ is closed to new replies.