bmabetha
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Next and Prev links not workingTo: abooze
Thanks to you too man.
Is finally working, I just removed this<?php global $query_string; query_posts( $query_string . '&posts_per_page=4'); ?>and went to dashboard > settings > reading and set Blog pages show at most to 5. as Xam 1.0 said and it worked well on all pages!
But thanks to you too man.
Forum: Fixing WordPress
In reply to: Next and Prev links not workingHey, Thanks a lot, if finally works, this is how is did id
Or just delete the query
<?php global $query_string; query_posts( $query_string . '&posts_per_page=4'); ?>and go dashboard > settings > reading and set Blog pages show at most to 5.
That should fix it.
Now let me try the category links.Many Thanks!!
Forum: Fixing WordPress
In reply to: Next and Prev links not workingBy the way,
I also wanted to add categories on my sidebar, look at this link here http://harukami.co.za/blog/
If you notice there’s a heading named Case Studies which displays categories, Other Links to be the same, but display different categories.
Do you have an idea on how I could do that?
Forum: Fixing WordPress
In reply to: Next and Prev links not workingThanks,
Well I dont know what’s wrong with it, it only works well on the home.php page but I also need it on the category page.
There’s no plugin that I should install and activate?
Forum: Fixing WordPress
In reply to: How to add a vertical line between posts and sidebarMeaning you want to add another one? Im asking cos I can see a thin black line between your posts and a sidebar.
You can send at least a code for your design.
Forum: Fixing WordPress
In reply to: Next and Prev links not workingBut this is how it should be, Is that so? or should I say this how I want it to be.
<?php get_header(); ?> <?php global $query_string; query_posts( $query_string . '&posts_per_page=4'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post"> <div class="date"><?php the_time('F dS Y'); ?></div> <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div> <div class="tags"> <?php the_tags('Selected works: ', ', ', '<br />'); ?> </div> <div class="entry"> <?php the_content( '<div id="entry-more">More Information</div>' ); ?> <div id="separate">|</div> <div id="comm"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> <div id="dividerLine"></div> </div> </div> <?php endwhile; ?> <div id="navigation"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?> <div id="prev_link"><?php previous_posts_link('« Previous') ?></div> <div id="next_link"><?php next_posts_link('Next »') ?></div> <?php } ?> <!-- Page number inattivo <?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?> --></div> <?php else: ?> <h2>Not Found</h2> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> <?php get_sidebar();?> <?php get_footer();?>Forum: Plugins
In reply to: Why do the Next and Prev link not work on the category.php pageBut this is how it should be, Is that so?
<?php get_header(); ?> <?php global $query_string; query_posts( $query_string . '&posts_per_page=4'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post"> <div class="date"><?php the_time('F dS Y'); ?></div> <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div> <div class="tags"> <?php the_tags('Selected works: ', ', ', '<br />'); ?> </div> <div class="entry"> <?php the_content( '<div id="entry-more">More Information</div>' ); ?> <div id="separate">|</div> <div id="comm"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> <div id="dividerLine"></div> </div> </div> <?php endwhile; ?> <div id="navigation"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?> <div id="prev_link"><?php previous_posts_link('« Previous') ?></div> <div id="next_link"><?php next_posts_link('Next »') ?></div> <?php } ?> <!-- Page number inattivo <?php if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; ?> --></div> <?php else: ?> <h2>Not Found</h2> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> <?php get_sidebar();?> <?php get_footer();?>Forum: Fixing WordPress
In reply to: Next and Prev links not workingI did, but i ended up removing them!
Forum: Fixing WordPress
In reply to: Next and Prev links not workingIm not sure which url you are looking for, so this is the url to the site that im woking on http://www.harukami.co.za/blog/
Hey just found out, this links only are working on the home.php page but they dont on the category.php page.
Forum: Fixing WordPress
In reply to: Next and Prev links not workingOh ,I want to display 5posts per page, need help with the next & Prev links, they work on localhost but they dont on the hosting server.
This is how i did it <?php next_posts_link(‘Next’); ?>
What should I do?I installed the plugin and activated it but my next and prev link dont work