Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #896570
    jonathan2012
    Participant

    Hi,

    How do I add social shares to the bottom of posts on a site we have using the Integrity stack? I can’t see to find the setting?

    Cheers,

    Jonathan

    #896583
    jonathan2012
    Participant

    e.g. can I add the same social shares as you can using Cornerstone to the bottom of each blog post without having to install with cornerstone?

    #897309
    Thai
    Moderator

    Hi There,

    Please add the following code under functions.php file locates in your 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 🙂

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