-
Author
-
September 3, 2017 at 20:48 #172537SaskiaParticipantHello,Thank you for your theme I love it. I use it here: http://www.dutchcyclinginlondon.comI can’t find the location of the template in which php template the share links part appears (see for instance http://www.dutchcyclinginlondon.com/discover at the bottom)Apparently it is not in ‘post-social-share’ because when I modify this, it doesn’t change anything.Could you please indicate me where it is? Could you also let me know what the ‘post-social-share’ php template refers to?I would like to change ‘Share this’ to ‘Like or share this’.Thank you very muchKind regards,SaskiaSeptember 3, 2017 at 21:02 #172538Kieran_SQModerator
Hi,
Thanks for reaching out and really glad to hear you’re liking the theme!
To edit the Share feature you’ll need to copy the below file to your KLEO Child theme and edit line 52 for the “Share this” text.
/kleo/page-parts/posts-social-share.php
If this is the file you have been editing could you please share the contents of the file via HasteBin https://hastebin.com/ with me.
You may also want to disable or clear caching and any services like CloudFlare or MaxCDN to see changes.
Let me know if this helps,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
September 3, 2017 at 21:33 #172539SaskiaParticipantHello Kieran,
Indeed this is the file I have modified.
Even when I remove the whole file from kleo and kleo-child, the functionality still works on my different devices.I’ve pasted the content in hastebin. How can I share it with you?
Best,
SaskiaSeptember 3, 2017 at 21:36 #172540Kieran_SQModeratorHi,
You can press save in the top right, it will change the URL, if you copy and paste that it should work fine.
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
September 3, 2017 at 22:44 #172543Kieran_SQModeratorHi,
Can you share the generated HasteBin URL with me please so I can look at the code?
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
September 3, 2017 at 22:53 #172544SaskiaParticipantSure here it is: https://hastebin.com/olokamapem.xml
September 3, 2017 at 22:56 #172545Kieran_SQModeratorHmmm, seems to be fine, could you supply me with admin credentials for the site and an FTP screenshot of your KLEO Child theme folder?
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
September 4, 2017 at 17:54 #172617Kieran_SQModeratorHi,
Please try the below snippet in your KLEO Child theme’s functions.php file
COPY CODE// Translate Share this single phrase add_filter('gettext', 'translate_reply'); add_filter('ngettext', 'translate_reply'); function translate_reply($translated) { $translated = str_ireplace('Share this', 'Like and share this', $translated); return $translated; }
I have tried this out locally and it does work for me, if this doesn’t work for you we may be looking at a conflict of some kind.
Hope this helps,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.