Multiple loops in thematic child theme to display related posts
-
Hello,
I am trying to get two loops working on a category template in order to show some related posts (posts from the same category). I have read the codex pages and tried the suggested loops but it doesn’t work for me. It usually repeats the same post rather than listing several other relevant ones.
Here is how my category-3.php template is looking without my attempts at adding the second loop:
‘
<?php// calling the header.php
get_header();// action hook for placing content above #container
thematic_abovecontainer();?>
<div id=”container”>
<div id=”content”><?php
// displays the page title
thematic_page_title();// create the navigation above the content
thematic_navigation_above();// action hook for placing content above the category loop
thematic_above_categoryloop();// action hook creating the category loop
thematic_categoryloop();// action hook for placing content below the category loop
thematic_below_categoryloop();// create the navigation below the content
thematic_navigation_below();?>
</div><!– #content –>
</div><!– #container –><?php
// action hook for placing content below #container
thematic_belowcontainer();// calling the standard sidebar
thematic_sidebar();// calling footer.php
get_footer();?>
‘Any help would be great. I have tried various plug-ins mostly not working for me.
Thanks
- The topic ‘Multiple loops in thematic child theme to display related posts’ is closed to new replies.