Jump to content

Recommended Posts

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 by littlemisssunshine
Link to comment
https://forums.phpfreaks.com/topic/281119-website-pagination-links/
Share on other sites

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.