specifically, it’s a custom button code (it’s an additional custom share button that I use) that I’d like to insert into the bottom of the title, next to the social share icons, and also the end of the post alongside the social share icons.
-
This reply was modified 6 years by
Jarrett.
Thanks Vlad, the single.php looks very different from the other theme I used to use, so I couldn’t figure out how to manage it. What I actually wanted is to add a custom social sharing shortcode after the post title.
I have my shortcode or php code:
<?php xh_social_share(); ?>
I wonder how do I edit the post template, or where should I insert this php.
Thanks a lot
Hello !
You can add you code after the get title function which can be found in the LOOP files here: https://www.screencast.com/t/t9m5wfs6
This should work for your customization.
Thank you !
Hello !
The single post php file is for the default single posts.
You can code the cloud library templates but those will require serious coding skills. If you really want to add that code I would suggest to either hire a freelancer or you can contact our developers team in order to provide the custom work over a fee: https://tagdiv.com/premium-customization-services/
We are sorry for the inconvenience !
Thank you !