WordPress.org

Ready to get started?Download WordPress

Forums

Juiz Social Post Sharer
[resolved] Shortcode support? (10 posts)

  1. Sebastian
    Member
    Posted 1 year ago #

    Hi!

    Great plugin, thank you!
    Any chance you could add a shortcode? I have some special page & post templates and like to have detail control on the position of the widget.

    Thanks a lot,
    Sebastian

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

  2. Sebastian
    Member
    Posted 1 year ago #

    Alternatively, function juiz_sps_print_links($content) could just check whether the passed parameter is empty (=='') and then consider this call a manual one which then prints the buttons.

    Or, another API function that always prints. Many choices. :)

  3. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Sebastian,

    It's already writed on my todolist :-)
    I just need time to implement all my ideas.
    The shortcode is the next one.

    Thank you for your feedback.

  4. Linksbreaker
    Member
    Posted 1 year ago #

    Excellent plugin. Congratulations!

    One question: if "function juiz_sps_print_links ($content) == empty". Is it possible to display the buttons using php code directly?

  5. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I think it was the same question as Sebastian.
    It's not possible for the moment but it's coming ;-)
    Thank you to support this young plugin!
    Have a nice week-end
    G.

  6. Linksbreaker
    Member
    Posted 1 year ago #

    That's right, I get it.
    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.

  7. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Ah ah :)
    It's a temporary solution :p

  8. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    Shortcode support is ok with the 1.2.0 ;)
    Idem with template function.

    Have a nice day !

  9. Sebastian
    Member
    Posted 1 year ago #

    Wonderful, thank you so much! Already activated it. :)

  10. Linksbreaker
    Member
    Posted 1 year ago #

    Ey Geoffrey, great news to me!
    -thank you so much! Already updated!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.