GeoDirectory SupportMake an option to add ShareThis / social media buttons in blog posts – GeoDirectory Support https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/feed Fri, 14 Mar 2025 17:18:10 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-36146 <![CDATA[Make an option to add ShareThis / social media buttons in blog posts]]> https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-36146 Sat, 04 Apr 2015 07:02:21 +0000 Holiday Monk Hi,

We can see ShareThis & social media sharing button on only geodirectory listings but to add on our blog posts we need to add a extra plugin. Since its already implemented in geodirectory plugin please make options for users to display the same buttons on either pages, blog posts, categories etc. This will surely help many of the geodirectory users. My idea is to make less use of third party plugins and thus reducing number of css and js. Already there are so many css and js files in geodirectory.

And what if you implement site builder to geodirectory?

]]>
https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-36152 <![CDATA[Reply To: Make an option to add ShareThis / social media buttons in blog posts]]> https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-36152 Sat, 04 Apr 2015 13:54:20 +0000 Guust You can add your feature request to https://wpgeodirectory.com/requests/ if you like.

Can you explain a bit better what you mean with site builder?

]]>
https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-36164 <![CDATA[Reply To: Make an option to add ShareThis / social media buttons in blog posts]]> https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-36164 Sat, 04 Apr 2015 16:14:30 +0000 Paolo Hi,

you can try this code snippet for that:



function my_add_post_content($content) {
 if('post' == get_post_type() && is_single()) {
ob_start();
geodir_share_this_button_code();
$share = ob_get_clean();
  $content .= '<div class="share-after-posts"> ' . $share .'</div>';
 }
 return $content;
}
add_filter('the_content', 'my_add_post_content');

Copy it in your theme functions.php file.

Let us know,

Thanks

]]>
https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-56356 <![CDATA[Reply To: Make an option to add ShareThis / social media buttons in blog posts]]> https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-56356 Fri, 09 Oct 2015 18:44:31 +0000 iwoaw Does not do the trick. I disabled the other share plugin and nothing shows at all.

]]>
https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-56399 <![CDATA[Reply To: Make an option to add ShareThis / social media buttons in blog posts]]> https://wpgeodirectory.com/support/topic/make-an-option-to-add-sharethis-social-media-buttons-in-blog-posts/#post-56399 Fri, 09 Oct 2015 21:16:54 +0000 Paolo Hi,

just tested here: http://wpgeo.directory/hello-world/

Where are you expecting the social share to appear?

Let us know,

Thanks

]]>