-
Author
-
July 30, 2015 at 05:09 #70648msattoloParticipant
Could you advice me how to add Kleo Social Sharing to GeoDirectory?
I am getting familiar with do_actions and customizing Geodirectory pages, but I would need to know the bit of code for adding your theme social sharing, in order to be consistent.
Thank you!
MiriamJuly 30, 2015 at 14:15 #70699sharmstrModeratorYou’ll need to do two things.
1 – Add places to Theme Options > Social Info > Social share Post types
2 – Add this to your child theme functions.php file.
COPY CODEadd_action('geodir_after_main_content','add_kleo_social_share'); function add_kleo_social_share() { get_template_part( 'page-parts/posts-social-share' ); }
@andrei – I assigned this topic to you because I think you did the initial GeoDir integration. We need to add a check within Kleo to see if “Places” was turned on for Social share post types. If so, we need to add the geodir_after_main_content action to insert it. If you weren’t responsible, let me know and I’ll talk to Abe. Thanks 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 30, 2015 at 14:20 #70704AndreiModeratorI’ll give a look into it and push it into the core, thanks for pointing it out.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 30, 2015 at 14:53 #70715sharmstrModeratorThank you 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 30, 2015 at 17:08 #70754msattoloParticipantHi Sharmstr and Andrei
It worked fine!Another question. Facebook share is only showing the link and not the image, excerpt and other features it generally has (such as private sharing). Can you advice?
Thank you for a great great job. I am being able to work around and developing a great tool integrating geodirectory, buddpress, etc.
Kind regards
MiriamJuly 30, 2015 at 17:53 #70762AndreiModeratorYou will need to use a SEO plugin that expose this kind of information ( picture, description ) for social sharing tools. They are called Open Graph tags ( og tags) and I think the WordPress SEO plugin will help you expose them.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 30, 2015 at 18:38 #70775sharmstrModeratorYes. WP SEO from Yoast does.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 1, 2015 at 18:46 #71114msattoloParticipantHi Andrei and Sharmstr
I installed Yoast WP SEO, and it is not fixing.
Have you tested yourself? Any other clue?Is it possible to replace your social sharing tools with a plugin such as Add this?
Thank you
MiriamAugust 30, 2015 at 02:46 #75307AndreiModeratorSorry for the late reply, yes you can turn off our social share buttons and add a plugin which has such features.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 15, 2015 at 20:06 #93440AndreiModeratorI’ve added this feature built in Kleo, just add the “Places” post type under “Theme Options > Social Share” and the share tools will appear in the listing detail page.
The feature will be available starting next update, keep an eye on the updates.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.