Hello @djrs,
Hope you are having a great day and thanks for contacting us!
#1, it is possible, but it will require a CSS cope snippet, Could you share your URL so I can see this first hand?
#2, There are two ‘built-in’ ways of doing this in WordPress (but it’s not something within the theme):
A) If you need access to the link as a PHP variable, try Using get_next_posts_link
<?php $nextLink = get_next_posts_link( $label , $max_pages ); ?>
<?php $previousLink = get_previous_posts_link( $label ); ?>
From here the links are stored in variables and you can do whatever you’d like with them.
B) Otherwise use these:
<?php next_posts_link( $label , $max_pages ); ?>
<?php previous_posts_link( $label ); ?>'
Where $label is the name of the link ( "Next Page" in your case ) and $max_pages is the max number of pages (if you want a limit), that the link shows up on.
If you want to style these, without having to enclose them inside another DIV, use WordPress Filters
function apply_my_next_link_style ( ){
return ‘class=”button”‘;
}
apply_filters( ‘next_posts_link_attributes’, ‘apply_my_next_link_style’ )`
C) If you need even more control you can try this, from the source code for the above functions:
if ( !is_single() ) {
echo '<a>" . preg_replace('/&([^#])(?![a-z]{1,8};)/i', '&$1', "Next Page") . '</a>';
}
#3, that text is also visible in the Pro version, but as in the free one it could be removed.
Please, let me know if you need any further assistance.
Kind regards,
Diego
-
This reply was modified 7 years ago by
corewpress.