Hi,
Do you use a pagination plugin for articles or did you made custom modification to the pagination function?
Also you can change the post pagination – https://codex.wordpress.org/Function_Reference/wp_link_pages
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi Alin,
i used this Code and some css to get this. link is
-> http://thatpedia.com/0502-3560/
<?php
global $multipage, $numpages, $page ;
if( $multipage && $page == $numpages ) {
echo “<div class=’next-back’><div class=’next’>”;
previous_post_link(‘%link’, ‘NEXT’, TRUE);
echo “</div></div>”; }
$args = array(
‘before’ => ‘<div class=”next-back”>’,
‘after’ => ‘</div>’,
‘link_before’ => ”,
‘link_after’ => ”,
‘next_or_number’ => ‘next’,
‘nextpagelink’ => __(‘<div class=”next”>NEXT</div>’),
‘previouspagelink’ => __(‘<div class=”prev”>BACK</div>’),
‘pagelink’ => ‘%’,
‘more_file’ => ”,
‘echo’ => 1 ); ?>
<?php
wp_link_pages( $args );
?>
Hi,
You can use the original post pagination and hide the page numbers from pagination via css, like this: https://forum.tagdiv.com/topic/make-the-pagination-buttons-2/
This how you can use it in your case: http://screencast.com/t/9fQbHoJTRVER
.post div.next-back a:first-Child {
display:inline-block;
}
.post div.next-back a:last-Child {
display:inline-block;
}
.post .next-back a {
display:none;
}
.post .next-back > span {
display:none;
}
Thanks
