Results 1 to 9 of 9
Threaded View
-
23rd Apr 2011, 03:12 AM #4Member
What theme are you using? The loop can start without that IF, but it is often added to avoid errors. Are you able to locate the start of your loop? If so paste a snippet of that code and we'll help you adding the codes.
Edit: A proper loop should be like this:
Code:<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div id="post"> <div id="post-title"> <h1><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1><br /> <span class="sub"><?php the_time('j F, Y'); ?> <span class="grey">| Posted By: </span><?php the_author_posts_link(); ?></span> </div> <div id="entry"> <?php the_content('<span class="readmore">.:Read More:.</span>'); ?> </div><!--close entry--> <p class="postmetadata"> Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?><br/><br/><?php the_tags('Tags:', ', '); ?></p> </div><!--close post--> <?php endwhile; else: ?> <h2>Woops...</h2> <p>Sorry, no posts were found.</p> <?php endif; ?>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
adhitz payout help
By tut2tut in forum General DiscussionReplies: 4Last Post: 20th May 2012, 06:38 PM -
Help with Adhitz
By tut2tut in forum Webmaster DiscussionReplies: 2Last Post: 23rd Feb 2012, 01:52 PM -
Yieldads, CMP.biz or AdHitz? Which one is the best?
By Darlos in forum Webmasters, Money MakingReplies: 4Last Post: 2nd Jan 2012, 10:05 AM -
Wordpress Posts To FB Fan Page?
By Mulana in forum Webmaster DiscussionReplies: 11Last Post: 24th Jun 2011, 07:04 PM -
Wordpress posts using RSS?
By starme in forum WordpressReplies: 0Last Post: 10th May 2011, 08:57 PM
themaManager - edit and manage...
Version 4.19 released. Open older version (or...