WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. omggimme
    Member
    Posted 1 year 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.

    Thanks,
    Jason

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Template_Hierarchy

    have you tried looking into single.php?

  3. omggimme
    Member
    Posted 1 year ago #

    oh wow, thank you :)

    I've never really devled into the WP documentation.

    This helps, I'll give it a try!

  4. omggimme
    Member
    Posted 1 year 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