PHP code to use on next & previouspage links

adjust the ‘nextpagelink’ and ‘previouspagelink’ arguments for wp_link_pages() to have a css class you can style $args = array( ‘nextpagelink’ => ‘<span class=”next”>’ . __(‘Next page’) . ‘</span>’, ‘previouspagelink’ => ‘<span class=”prev”>’ . __(‘Previous page’) . ‘</span>’ ); wp_link_pages($args); then in your css you can style those spans to use your arrows as background images.

wordpress post pagination with image buttons?

About the wp_link_pages functions you can read in the WordPress Codex http://codex.wordpress.org/Function_Reference/wp_link_pages. Here you go: wp_link_pages( array( ‘before’ => ‘<div class=”pagenav”>’, ‘after’ => ‘</div>’, ‘next_or_number’ => ‘next’, ‘nextpagelink’ => __(‘<img src=”https://wordpress.stackexchange.com/questions/56190/IMAGE SRC HERE” />’), ‘previouspagelink’ => __(‘<img src=”https://wordpress.stackexchange.com/questions/56190/IMAGE SRC HERE” />’) ) ); Good luck! 🙂

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)