Forums

Adding a html class to the bottom of each post (5 posts)

  1. daniel_maw
    Member
    Posted 8 months ago #

    I seem to be having trouble finding where to put my html class in the loop so that it is displayed after each post.

    the class contains a background image that I want to use to divide each post.

    Thanks in advance.

    Dan.

  2. keesiemeijer
    moderator
    Posted 8 months ago #

    Find out what template files are used for different content: http://codex.wordpress.org/Template_Hierarchy

  3. daniel_maw
    Member
    Posted 8 months ago #

    Shouldn't it be added somewhere in the loop?

  4. keesiemeijer
    moderator
    Posted 8 months ago #

    Shouldn't it be added somewhere in the loop?

    Yes

    If you want it to show on the home page add it to the loop in your theme's index.php.

    What theme are you using?

  5. daniel_maw
    Member
    Posted 8 months ago #

    Thanks for the replys, just fixed the problem, it was down to something stupid on my part.

    Thanks again, appreciate your time.

    Cheers,

    Dan.

Reply

You must log in to post.

About this Topic

Tags