The most commonly used blog pages can be either one of these -
- index.php (blog index)
- archive.php (all archive pages - date, author, category etc. or specific archive pages like date.php, author.php, category.php etc.)
- single.php (single post view).
(Please refer to WordPress template hierarchy for a list of all the blog related files)
You can place this function call directly in these files, wherever you want the social buttons to appear. For e. g. if you want it to appear below the post title, then place the function call below the div/header tag surrounding ‘the_title()’.
Please try this and let us know whether it worked or not. We’re here to assist you!