cannot create 2 loops
-
Hi there folks. my problem is that i cannot create 2 loops for my wordpress theme. The theme im using is Stripey-v1.6
I’ve read on different forums that it is posibil,but when i implement it,it doesnt works, it gives me an error parse:(
Cann anyone help me with this?
Here is my index.php file<?php get_header(); ?>
<h4 style=”border-bottom:1px solid black;”></h4><div id=”content” class=”narrowcolumn”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<div class=”post-top”>
<div class=”post-title”>
</div>
<div class=”entry”>
<?php the_content(‘Read the rest of this entry »’); ?>
</div>
</div>
<?php endwhile; ?>
<div class=”navigation”>
<?php if(!function_exists(‘wp_pagenavi’)) : ?>
<div class=”alignleft”><?php next_posts_link(‘Previous’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Next’) ?></div>
<?php else : wp_pagenavi(); endif; ?>
</div>
<?php else : ?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
<?php include (TEMPLATEPATH . “/searchform.php”); ?>
<?php endif; ?>
</div>
- The topic ‘cannot create 2 loops’ is closed to new replies.