ThemeShaper Forums » Thematic

[closed]

How to wrap elements of the post HTML in extra containers

(1 post)
  • Started 9 years ago by steph
  • This topic is not resolved
  1. I've been slowly but surely getting to grips with Thematic but one thing I want to do just won't click for me and causes my child theme to break and display my site as a white screen :(

    Here's the basic outline of my post HTML that I have amended by adding extras to functions.php:

    <div class="post">
    <h2>Post title</h2>
    <div class="entry-meta">Meta goes here</div>
    <div class="entry-content">Post content goes here</div>
    <div class="entry-utility">Tags, category, author etc here</div>
    </div>

    Here's the HTML I'd like to have:

    <div class="post">
    <div class="post-body">
    <h2>Post title</h2>
    <div class="entry-meta">Meta goes here</div>
    <div class="entry-content">Post content goes here</div>
    </div><!-- end .post-body -->
    <div class="post-footer">
    <div class="entry-utility">Tags, category, author etc here</div>
    </div><!-- end .post-footer -->
    </div>

    Is it possible to achieve this through changing thematic_postheader() and thematic_postfooter() or am I missing something obvious here?

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.