Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Perials

    (@perialscom)

    Dear lisalambert,

    Thank you for using our plugin.

    As of now, the plugin does not support facility for adding text before the icons.
    But if you know a little bit of PHP you can easily do that by following below steps (Do take a backup before doing this).
    1) In the simple-social-share plugins folder (wp-content/plugins/simple-social-share), search for the file simple-social-share.php. Open it in a text editor like Notepad++.
    2) Find line number 158 that contains the code
    return '<div id="s-share-buttons" class="'.$class.'">'.$html_markup.'</div>';
    3) Replace it with the below code

    $text = "<h3>Share this article</h3>"; //this variable contains the html text that you want to append
    return $text.'<div id="s-share-buttons" class="'.$class.'">'.$html_markup.'</div>';

    Let us know if this works.

    Thanks & Regards,
    Perials Team.

    Thread Starter lisalambert

    (@lisalambert)

    Great! Thanks for the very quick reply!! This worked perfectly and as expected.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Insert Text & Title for The Plugin’ is closed to new replies.