Hi Guys,
Big fan of thematic, and have a small problem.
I am trying to use functions.php to insert a new div element around my posts. I have it working BUT only want to target posts that aren't on a single page.
This is what I have so far:
if (!is_single()) {
function new_blog_top() {
echo "<div class='page_blog'>";
}
add_action('thematic_abovepost','new_blog_top');
function new_blog_bottom() {
echo "</div>";
}
add_action('thematic_belowpost','new_blog_bottom');
}
else {
break;
}
I have also tried is_singular but it applies it to both posts on my blog page, and posts on their own single page. What am I doing wrong?