ashutariyal
Active Member
Hello Friend I just need your help to add image in my php file instead of text :
Here is my file's php code
now i want to add a image (previouspost.png) instead of « Previous Post and 2nd image (nextpost.png) instead of Next Post »
Hope you will help me...
Here is my file's php code
PHP:
<?php if ( is_single() ) { ?>
<div class="navigation" style="border-top:0;">
<div class="alignleft"><?php previous_post_link('%link','« Previous Post'); ?></div>
<div class="alignright"><?php next_post_link('%link','Next Post »'); ?></div>
<div style="clear:both;"></div>
</div>
<?php } else { ?>
<?php if ( function_exists('wp_pagenavi') ) { ?>
<?php wp_pagenavi(); ?>
<?php } else { ?>
<div class="navigation">
<?php posts_nav_link('', '« Previous Page', 'Next Page »'); ?>
</div>
<?php } ?>
<?php } ?>
Hope you will help me...