Adding code to Post Loop (Single.php)

Community Forums Forums Design Tips and Tricks Adding code to Post Loop (Single.php)

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cehwitham 2 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #19266


    I’m trying to add a Facebook like/share button to the posts on the my site, and to do that I was instructed to add a certain bit of code to the Post Loop section of my Single.php file.

    Problem is Studiopress themes do not have a single.php file. There’s one inside the primary Genesis theme folder that I could copy over to the child theme, but it doesn’t have any actual code inside it anyway.



    Did you find a solution to this? I see that it is resolved.

    You can copy the single.php file into your child theme folder and then add code to it using hooks and filters.

    Twitter: cehwitham Web:

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.