Tagged: shortcode
-
AuthorPosts
-
July 30, 2015 at 10:36 pm #480984
Hi,
is it possible to use my own sozial share box instead of the existing?
I’ve a plugin for sozial media and I got a shortcode for the buttons. I wanna use this one. But in the Blog setting, I just can check to see the standard enfold buttons, which I do not wanna use.Thanks, Enrico
July 31, 2015 at 1:13 am #481031Hi enricobaumgart!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.single-post .av-share-box { display: none; }
Best regards,
YigitJuly 31, 2015 at 9:29 am #481175Okay, thanks. But how can I add my own shortcode instead? I dont wanna put it into the post itself, because when I have to change the shortcode, I’d have to change every single post.
Regards, EnricoJuly 31, 2015 at 2:44 pm #481335Hi!
Please go open Enfold/single.php file and find following line
get_template_part( 'includes/related-posts');
and add your shortcode right above it as following
do_shortcode( '[your-shortcode]' );
Best regards,
YigitJuly 31, 2015 at 4:02 pm #481424Hi, thanks for help.
I just tried to add the following:
do_shortcode( '[easy-social-share buttons="facebook,twitter,google,linkedin,xing" counters=1 counter_pos="rightm" total_counter_pos="hidden" style="button"]' );
But it doesn’t work. If I add the shortcode in the post themself, it works. Do you have an idea?
Thanks, Enrico
July 31, 2015 at 4:10 pm #481432Hi!
Can you please try changing your code to following
echo do_shortcode( '[easy-social-share buttons="facebook,twitter,google,linkedin,xing" counters=1 counter_pos="rightm" total_counter_pos="hidden" style="button"]' );
Best regards,
YigitJuly 31, 2015 at 4:24 pm #481454oh, that works :)
But it there an option to have the same adjustments as the post has?
Like here: IMAGEDo I have to add the shortcode somewhere else? Because when I use the build in social media buttons, the adjustments are the same as the post.
July 31, 2015 at 4:27 pm #481457July 31, 2015 at 4:34 pm #481460August 2, 2015 at 6:46 pm #481793Is there any idea, how I can get the same adjustments?
Thanks, EnricoAugust 3, 2015 at 4:57 pm #482262 -
AuthorPosts
- You must be logged in to reply to this topic.