Hi there,
I love thematic and as a designer I had to figure out this task over a few days by trial and error to get it running (still learning php...).
As I am very thankful for the support in this forum I'd like to share this elegant solution with you as a copy-paste-delight:
Task: display posts of one or more specific categories on specific pages in addition to the page's content. So you can have the page content as an introduction to the following category posts.
Solution: add the query_posts(); with your desired categories below thematic_indexloop followed by another instance of thematic_indexloop and you're done:
function childtheme_second_loop() {
if (is_page(153)) {
query_posts("cat=9&showposts=10");
thematic_index_loop();
} elseif (is_page(12)) {
query_posts("cat=4&showposts=10");
thematic_index_loop();
} elseif (is_page(7)) {
query_posts("cat=3&showposts=10");
thematic_index_loop();
} else {
return;
}
}
add_action('thematic_below_indexloop', 'childtheme_second_loop' );
In my case it was very important to get the posts as full posts and not as excerpts. thematic_content() would deliver them as excerpts by default and that doesn't work very well with tables or flash galleries within the posts. Works quite simple, too:
function childtheme_content($content) {
if (is_page()) {
$content= 'full';}
}
add_filter('thematic_content', 'childtheme_content');
Hope you like it and thanks to Chris, Gene and grpsmglr00