Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1322490
    Jimmy P
    Participant

    I looked through the forum and couldnt find the exact answer to this question. I hope it’s an easy one.
    I want to add the option to share my posts via email or text (if possible).
    Right now I only have the option to share via Twitter, Facebook, or Google+
    Is there a way to edit the “share this” buttons or do I have to use Cornerstone and add the Sharing element at the bottom?
    Thanks,
    Jimmy

    http://prntscr.com/dtf722

    http://prntscr.com/dtf78f

    #1322589
    Prasant Rai
    Moderator

    Hello Jimmy,

    Thanks for writing in!

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.

    After that add following code to child theme function.php file:

    // Add Social Sharing after the single post content
    // =============================================================================
    
    function x_add_social_sharing ( $content ) {
      if ( is_singular('post') ) {
        echo do_shortcode('[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');

    Thanks.

    #1322712
    Jimmy P
    Participant

    Thanks for the response.
    I added this and now have the following showing:

    http://prntscr.com/dthat7

    I wanted to keep the buttons the way they were before:
    http://prntscr.com/dthbf8

    I just wanted to add the email option or possibly texting it.

    Is that possible?

    Thanks again

    #1322838
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! To assist you with this request, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1322874
    Jimmy P
    Participant

    URL: empowersperformance.com

    Empowersperformance.com/blog

    Thanks,

    Jimmy

    #1323073
    Jade
    Moderator

    Hi Jimmy,

    The share buttons you are using is generate by a third party plugin which is outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!

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