bestftp
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Pagination not working properlyAny ideas?
Forum: Fixing WordPress
In reply to: next_posts_link not showing upI was able to get it working by editing the home.php file instead of the index.php file. However, upon clicking the previous button it does not show older posts. It simply refreshes the page with the same posts that were before displayed before. Any ideas?
Forum: Fixing WordPress
In reply to: next_posts_link not showing upIf i view the source, there is nothing there. It doesn’t display empty divs or anything. It shows the last post followed by the right sidebar.
I have also tried moving the navigation div in between endwhile and endif, but it gives the same result.
Forum: Fixing WordPress
In reply to: next_posts_link not showing upCan anyone figure out why the next posts and previous posts are not showing up? Please! This is driving me crazy. I see no reason why they are not showing up at all.
Forum: Fixing WordPress
In reply to: next_posts_link not showing up@mrmist neither the next nor previous post links show up. and yes there are more posts to show.
Forum: Fixing WordPress
In reply to: next_posts_link not showing up@alchymyth I tried moving it after <?php endif; ?>, but it still does not display. Here is what the current code looks like.
<?php get_header(); ?> <div id="contentwrap"> <div id="content"> <div id="contentleft"> <div id="menubar"> <div id="catlist"> <ul class="menu"> <li><a href="#menu" onclick="javascript:showlayer('sm_1')">Select a Category</a></li> <ul class="submenu" id="sm_1"> <?php wp_list_categories('exclude=9,7,8'&title_li=); ?> </ul> </ul> </div> <a title="Subscribe to Content via RSS" href="<?php bloginfo('rss2_url'); ?>"><div id="subscribe"></div></a> </div> <div id="videogallery"> <?php query_posts('cat=-4'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="videoitem"> <div class="ratings"> <?php if(function_exists('the_ratings')) { the_ratings(); } ?> </div> <div class="comments"> <?php comments_number('0', '1', '%'); ?> </div> <div class="thumbnail"> <a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><img style="background: url(<?php $key="thumbnail"; echo get_post_meta($post->ID, $key, true); ?>)" class="thumb" src="<?php bloginfo('template_url'); ?>/images/zoom.png" alt="<?php the_title() ?>" /></a> </div> <h2 class="itemtitle"><a href="<?php the_permalink() ?>" title="<?php the_title() ?>"><?php the_title() ?></a></h2> <p class="itemdesc"><?php the_content_rss('', TRUE, '', 8); ?></p> <small class="gallerydate"><?php the_time('F j, Y'); ?></small> </div> <?php endwhile; else: ?> <?php endif; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> </div> </div> <div id="contentright"> <?php get_sidebar(); ?> </div> </div> </div> <?php get_footer(); ?>