– wordpress 2.1 (and i don’t want to update that, as i made several changes to core files)
– brajeshwar 7.0 theme (customized)
– podpress 8.2 (latest version)
i hope someone can help me with the following problem:
what i’m trying to achieve is to have an mp3-player with every article teaser on my frontpage. i switched the “before <!–more–> tag” option in podpress on and it works fine for the archive pages, but not for my front page.
i figured out it could have something to do with having two mini loops on the front page instead of one normal loop. in the archive pages there’s a normal loop being used.
this is what my front page basically looks like:
<?php $posts = get_posts('numberposts=1'); foreach($posts as $post) : setup_postdata($post); ?> ... <div class="post-body"> <?php the_content('<p class="more">more... '); ?> ... </div> ... <?php endforeach; ?> ... <?php $posts = get_posts('numberposts=5&offset=1'); foreach($posts as $post) : setup_postdata($post); ?> ... <?php the_content('<p class="more">more... '); ?> ... <?php endforeach; ?>
does anybody know how to make either podpress work with this or how to use a normal loop to achieve what the above syntax does?
thanks in advance
and kind regards
- The topic ‘Podpress doesn’t work within a mini loop’ is closed to new replies.