littlemisssunshine Posted August 13, 2013 Share Posted August 13, 2013 (edited) Hi everyone! I'm creating a blog for someone here: http://test4.neshayasmin.com/ I've used this theme as my foundation, but I'm making changes to its appearance: http://themeforest.net/item/novelty-retina-ready-responsive-wordpress-theme/4367335 I want to change the appearance of the older/newer buttons at the bottom. At the moment each page is numbered at the bottom of the blog, but I want to have an 'older posts' and a 'newer posts' link instead. I don't have very good knowledge of php. Any help would be wildly appreciated, friends. Let me know if you need any more info. Edited August 13, 2013 by littlemisssunshine Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted August 13, 2013 Share Posted August 13, 2013 http://design.sparklette.net/teaches/how-to-add-wordpress-pagination-without-a-plugin/ will something like this work for you Quote Link to comment Share on other sites More sharing options...
littlemisssunshine Posted August 13, 2013 Author Share Posted August 13, 2013 Hi darkfreaks, Unfortunately not. I want just two links 'older posts' and 'newer posts', rather than the enhanced pagination I have on the blog right now. Thank you for the link though! Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted August 13, 2013 Share Posted August 13, 2013 http://wordpress.org/support/topic/how-do-i-add-older-posts-and-newer-posts-links-to-my-blog BAZINGA! Quote Link to comment Share on other sites More sharing options...
littlemisssunshine Posted August 13, 2013 Author Share Posted August 13, 2013 Hi, Thanks for the link, it was helpful! I tried everything suggested in that thread but nothing changed on my blog. This is my index.php: <?php get_header(); ?> <div id="content"> <div class="container"> <div class="blog-block mb80"> <?php if ($wp_query->have_posts()) : while($wp_query->have_posts()) : $wp_query->the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class('blog-post-wrapper'); ?>> <?php if (get_post_format()) { get_template_part( 'include/' . get_post_format() ); } else { get_template_part( 'include/standart' ); }?> </article> <?php endwhile; endif; ?> <?php bmd_pagination(); ?> </div> </div><!-- end div.container --> </div><!-- end div#content--> <?php get_footer(); ?> I tried inserting this: <?php next_posts_link('Older Posts'); ?><?php previous_posts_link('Newer Posts'); ?> Above this: <?php bmd_pagination(); ?> But nothing changed on my blog. Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted August 13, 2013 Share Posted August 13, 2013 they coded there own pagination instead of using the custom WP one looks like. Quote Link to comment Share on other sites More sharing options...
littlemisssunshine Posted August 13, 2013 Author Share Posted August 13, 2013 So I can't alter it? Thank you for all your help! Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted August 13, 2013 Share Posted August 13, 2013 you could you would better have to know PHP though if you would like me to help please inbox me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.