Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1003032
    upular
    Participant

    Hi all, how do I allow users to share posts on my blog?
    Thanks

    #1003066
    Thai
    Moderator

    Hi There,

    Please add the following CSS under functions.php file locates in child theme:

    function x_add_social_sharing () {
      if ( is_singular('post') ) {
        echo do_shortcode('[x_share title="Share this Post" facebook="true" twitter="true" google_plus="true" linkedin="true" pinterest="true" reddit="true" email="true"]');
      }
    }
    add_action('x_before_the_content_end', 'x_add_social_sharing');

    Hope it helps 🙂

    #1003086
    upular
    Participant

    I will try it out tomorrow, thank you

    #1003118
    Thai
    Moderator

    Let us know how it goes!

    #1004159
    upular
    Participant

    It worked! thank you very much

    #1004489
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1003032 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>