[resolved] Insert code before the_content() (4 posts)

  1. omggimme
    Posted 3 years ago #

    Im looking for some advice on where I can find the template for the STANDARD post. I've checked everywhere trying to insert <!-- TEST --> into all the files to see if it shows up, but to no avail.

    I want to insert my plugin code to use [featured-img] function in every standard post as seen here: http://omggim.me/?p=342

    Right now, Im just using it in the content, inserting the shortcode and then a BR. I want to hard code it into the template so I dont need to do it every time.

    Can someone direct me to the correct php file I have to edit? I've gone through all them that made sense.


  2. Michael
    Forum Moderator
    Posted 3 years ago #


    have you tried looking into single.php?

  3. omggimme
    Posted 3 years ago #

    oh wow, thank you :)

    I've never really devled into the WP documentation.

    This helps, I'll give it a try!

  4. omggimme
    Posted 3 years ago #

    Found it and made the change, thank you for your help!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic