WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Recurring div in or outside the_content? (2 posts)

  1. Sigil
    Member
    Posted 2 years ago #

    I have a recurring div that I want repeated in each of my page templates, and I don't want to add it to each and every one of my old pages. Is there a way I can add this div so that the_content will wrap around it?

  2. Sigil
    Member
    Posted 2 years ago #

    Silly me... Of course, just
    <article>
    <div id="contact-info">
    </div>
    <div class="entry"><… the content() —></div>
    </article>

Topic Closed

This topic has been closed to new replies.

About this Topic