WordPress.org

Ready to get started?Download WordPress

Forums

Juiz Social Post Sharer
[resolved] Only display on certain pagses/posts (5 posts)

  1. jrnetwork
    Member
    Posted 1 year ago #

    Hi,

    I'd like to know how to display this feature only on certain pages... nor not on pages at all, only posts.

    How can I do this.

    Many thanks for a great plugin.

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

  2. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Thank you.
    It's coming with the next version.

    For the moment you can replace in the code :
    !is_admin()
    With the
    is_single()

    Have a nice day!

  3. jrnetwork
    Member
    Posted 1 year ago #

    I changed that in the file juiz-social-post-sharer.php

    What difference should that have made, as the buttons are still showing up on pages as well.

    Also, when is next update due out?

    Jason

  4. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    It's my bad.

    The 1.1.0 version fixes this issue.

    Thank you ;)

  5. Linksbreaker
    Member
    Posted 1 year ago #

    What I did to fix it was to write a few lines in my stylesheet:

    /* social icons -> global hidden */
    .juiz_sps_links{
    display: none;
    }
    /* social icons -> showing specific page */
    #page-id-xx .juiz_sps_links{
    display: block;
    }
    /* social icons -> showing specific post */
    .post-xx .juiz_sps_links{
    display: block;
    }

    // Great plugin, my dear friend.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.