WordPress.org

Ready to get started?Download WordPress

Forums

Juiz Social Post Sharer
[resolved] Disable Juiz Social Post Sharer only on specific pages (8 posts)

  1. nottylarka
    Member
    Posted 1 year ago #

    I just wanna know how to disable this plugin only on specific wordpress pages. It's really driving me crazy, plz help me out fast.

    http://wordpress.org/extend/plugins/juiz-social-post-sharer/

  2. nottylarka
    Member
    Posted 1 year ago #

    Plz reply me fast, i am waiting for your reply.

  3. nottylarka
    Member
    Posted 1 year ago #

    Anybody there to answer my question plz.

  4. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. jamesdodd
    Member
    Posted 1 year ago #

    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.

  6. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    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 ;)

  7. jamesdodd
    Member
    Posted 1 year ago #

    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

  8. jamesdodd
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.