Tagged: x
-
AuthorPosts
-
January 9, 2017 at 9:40 am #1322490
Jimmy PParticipantI 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,
JimmyJanuary 9, 2017 at 10:38 am #1322589
Prasant RaiModeratorHello 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.
January 9, 2017 at 12:15 pm #1322712
Jimmy PParticipantThanks for the response.
I added this and now have the following showing:I wanted to keep the buttons the way they were before:
http://prntscr.com/dthbf8I just wanted to add the email option or possibly texting it.
Is that possible?
Thanks again
January 9, 2017 at 1:48 pm #1322838
DarshanaModeratorHi 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.
January 9, 2017 at 2:15 pm #1322874
Jimmy PParticipantURL: empowersperformance.com
Empowersperformance.com/blog
Thanks,
Jimmy
January 9, 2017 at 5:01 pm #1323073
JadeModeratorHi 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!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1322490 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
