Support » Plugin: Hustle Marketing, Social Share, Email Opt-in Form, and Popup Plugin » Embed and social sharing icons showing up on every page.

  • Resolved manuwork

    (@manuwork)


    Hi,

    Okay so I’ve created and implemented an email embed & a social share embed after the posts and have set these to be visible only at the end of posts.

    But I’m getting these at the end of other pages (contact us, about us, etc) on my site as well.

    I just want them to be visible at the end of posts and not on other pages. How can I do this?

    Also, I want to add some text above the social media icons, something like ‘Share on’ how can I do this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @manuwork

    Can you also select “No Pages” as shown below?
    https://monosnap.com/file/giltwWmDsljhyrv6JKa7U5TpTFp6Kc

    As for adding some text before the social sharing icons, please use a handy plugin like this https://wordpress.org/plugins/custom-css-js/ in order to use a little JS snippet like the following:

    (function ($) {
      $(document).ready(function () {
        var message = 'Share on:';
        $('.hustle-social').before(message);
      });
    })(jQuery);

    Thank you,
    Dimitris

    manuwork

    (@manuwork)

    Thanks mate, I was able to solve both of my problems.

    For anyone trying to add something beside the share icons,

    I used this plugin: https://wordpress.org/plugins/code-snippets/ (I was already using this for some other scripts).

    And added this code provided by Dimitris,

    add_action( ‘wp_head’, function () { ?>
    <script>

    (function ($) {
    $(document).ready(function () {
    var message = ‘Share on:’;
    $(‘.hustle-social’).before(message);
    });
    })(jQuery);

    </script>
    <?php } );

    That’s it.

    At last, thank you again Dimitris! Really appreciate it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.