WordPress.org

Support

Support » Plugins and Hacks » Juiz Social Post Sharer » [Resolved] Only display on certain pagses/posts

[Resolved] Only display on certain pagses/posts

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Geoffrey Crofte

    @creativejuiz

    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!

    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

    Plugin Author Geoffrey Crofte

    @creativejuiz

    Hi,

    It’s my bad.

    The 1.1.0 version fixes this issue.

    Thank you 😉

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Only display on certain pagses/posts’ is closed to new replies.
Skip to toolbar