WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Disable Juiz Social Post Sharer only on specific pages

[Resolved] Disable Juiz Social Post Sharer only on specific pages

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plz reply me fast, i am waiting for your reply.

    Anybody there to answer my question plz.

    Plugin Author Geoffrey Crofte

    @creativejuiz

    Hi,

    It’s a free plugin, please, don’t ask me to be quick.

    I think the new version will fix some bugs.
    For specific developements, contact a profesionnal.

    Thank you.

    PS : you can use templating function available with this plugin to fix your problem.

    in juiz-social-post-sharer.php create a new line at 219 and add:

    if(get_post_meta($post->ID, 'hide-juiz-sps', 1)){return;}

    then on your posts or pages simply use the custom field and add

    hide-juiz-sps and set the value to true

    this is what I have done and it works fine. if you wanted you could code that custom field to be a tick box on the posts relatively easily.

    Plugin Author Geoffrey Crofte

    @creativejuiz

    Hi james,

    And the next plugin update will overwrites your customizations 😉
    The plugin allows you to use only template function to display those links.

    Add this one to single.php and make your own post condition directly in your theme template, not in the plugin files 🙂

    I’ll add your idea for next updates, thank you 😉

    If you’re adding it to the next updates hopefully it won’t disappear 😉

    The benefit of doing it outside of the theme is for users who change themes regularly, don’t know how much php or like in my case, run a netwrok of blogs and can’t be bothered to update hundreds of themes!

    cheers

    another option which works is if users are outputting tags into the class on the body then they can use some css to hide it:

    .hidesocials .juiz_sps_links{display: none;}

    this will hide any links where posts are tagged hidesocials… not great for pages as by default they don’t have tags. but just another option for anyone who wants a quick fix.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Disable Juiz Social Post Sharer only on specific pages’ is closed to new replies.