Juiz Social Post Sharer
[resolved] Title/instruction before the buttons (3 posts)

  1. lukasz_wp
    Posted 3 years ago #

    Hi! I would like to add small text before the plugin buttons. Something like "If you find this topic interested share it wit your friends" or something. I'm totally green in PHP. How can I do it? What file in plugin shoyuld I edit and how?

    thanks for any advise!


  2. Geoffrey Crofte
    Plugin Author

    Posted 3 years ago #


    You can follow the documentation inside the plugin you downloaded.
    Or just here : http://creativejuiz.fr/blog/doc/juiz-social-post-sharer-documentation.html#hooks

    Find the functions.php file in your current WordPress theme, and add this code at the end, just before ?> :

    if( !function_exists('content_before_jsps_list')) {
    	function content_before_jsps_list() {
    		return '<p class="info">The text I want to print before buttons</p>';
    add_filter('juiz_sps_before_the_list', 'content_before_jsps_list');

    Save your file.
    It's done :)

    Have a nice day.

  3. lukasz_wp
    Posted 3 years ago #

    Great, works perfect! Thanks a lot for this advise!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Juiz Social Post Sharer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic