Now, I have 8 posts on my blog and Easy WP Navigation shows the numbers 1, 3, 4, 5, 6, 7, 8. If I have 100 posts, will it show 99? Can the number be linited?
Thanks.
]]>installed, activated, nothing changed. do i have to purchase a theme (it shows “Need a theme”)? https://ccgtc.org.
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>I have been looking for a way to get page numbers above jetpack’s “Share This” and “related posts”
Will this plugin do that?
Kind regards,
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Hi and thanks for your plugin. It works great but…
I’ve been having issues with the code snippet to replace the ones in the “template-tags.php of my theme. Here’s the header of the PHP file:
<?php
/**
* Custom template tags for this theme.
* Eventually, some of the functionality here could be replaced by core features.
* @package Sydney
*/
if ( ! function_exists( 'the_posts_navigation' ) ) :
/**
* Display navigation to next/previous set of posts when applicable.
*
* @todo Remove this function when WordPress 4.3 is released.
*/
function the_posts_navigation() {
// Don't print empty markup if there's only one page.
if ( $GLOBALS['wp_query']->max_num_pages < 2 ) {
return;
}
?>
<nav class="navigation posts-navigation" role="navigation">
<h2 class="screen-reader-text"><?php _e( 'Posts navigation', 'sydney' ); ?></h2>
<div class="nav-links clearfix">
<code><?php if ( get_next_posts_link() ) : ?></code>
<code><div class="nav-previous"><?php next_posts_link( __( 'Older posts', 'sydney' ) ); ?></div></code>
<strong>I tried here and the next one bellow</strong>
<code><?php endif; ?></code>
<code><?php if ( get_previous_posts_link() ) : ?></code>
<code><div class="nav-next"><?php previous_posts_link( __( 'Newer posts',</code> 'sydney' ) ); ?></div>
<?php endif; ?>
</div><!-- .nav-links -->
</nav><!-- .navigation -->
<?php
}
endif;
if ( ! function_exists( 'sydney_post_navigation' ) ) :
function sydney_post_navigation() {
// Don't print empty markup if there's nowhere to navigate.
$previous = ( is_attachment() ) ? get_post( get_post()->post_parent ) :
get_adjacent_post( false, '', true );
$next = get_adjacent_post( false, '', false );
if ( ! $next && ! $previous ) {
return;
}
?>
<nav class="navigation post-navigation" role="navigation">
<h2 class="screen-reader-text"><?php _e( 'Post navigation', 'sydney' ); ?></h2>
<div class="nav-links clearfix">
<?php
previous_post_link( '<div class="nav-previous"><i class="fa fa-long-arrow-left"></i> %link</div>', '%title' );
next_post_link( '<div class="nav-next">%link <i class="fa fa-long-arrow-right"></i></div>', '%title' );
?>
</div><!-- .nav-links -->
</nav><!-- .navigation -->
<?php
}
endif;
I’ve tried to the code only in the last section above, I’ve tried by both nav-previous,nav-next in both section replaced: it does show up at the bottom. I had to resort in placing the <?php echo easy_wp_pagenavigation(); ?>
in the footer.php page.
Can you help sort this out. Here my Website: https://www.fromoven.com/blog/
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Извините, я не понимаю куда вставлять какие коды? Скриншот есть , а что куда объяснений нет. Ведь в коды надо лезть осторожно, поэтому не зная что туда лезть. Помогите пожалуйста, дедушке.
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Really like the look of this plugin! The title is basically my question…
Can your plugin be used for Pages also? If not, how can I get it to work for them?
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Is there a way to use font-awesome icons for Custom Text For Previous Page & Custom Text For Next Page text box like:
<i class="fa fa-arrow-circle-o-left"></i>
Thanks, great plugin!
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Hello, I’m trying to use this plugin with get_posts but it is not working.
The code I’m using:
$paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
$args = array('post_type'=> 'custom_post','posts_per_page' => 5, 'paged' => $paged,);
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post);
//content
echo easy_wp_pagenavigation( $myposts );
Can you please tell what’s wrong?
It is working fine if I use
$myposts = new WP_Query( $args );
while ( $myposts->have_posts() ) : $myposts->the_post();
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Hi!
I manage to successfully install this plugin, but I want to have this pagination at the bottom of my homepage!
Is it possible to remove it from the top, and put it on the bottom?
my site is https://www.pd-svjure.hr
Sincerely,
Ante
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Hi, I would really like to try your plugin but I can’t figure out where to place the code you’ve provided. I know it goes into my theme but which php page? Do I add this to my theme’s function.php or to theme CSS…
I would like to add this or similar code so I can call a specific category, on a specific page for a certain number of pages. Is this correct:
<?php
// You need protect against arbitrary paged values
$paged = ( get_query_var( ‘paged’ ) ) ? absint( get_query_var( ‘paged’ ) ) : 1;
$args = array(
‘post_type’ => ‘post’,
‘posts_per_page’ => 10,
‘cat’ => 80,
‘paged’ => $paged,
);
$my_query = new WP_Query( $args );
if($my_query->have_posts()):
while($my_query->have_posts()): $my_query->the_post();
// Template loop here
endwhile;
echo easy_wp_pagenavigation( $my_query );
else:
// No result
endif; wp_reset_postdata();
?>
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Hi
Thanks for this plugin. I added the following to my “category” page, but the links to page 2/3/… do not work. (https://capeinfo.com/blogs/beezus/category/eastern-cape/) How can I fix this?
<?php
// You need protect against arbitrary paged values
$paged = ( get_query_var( ‘paged’ ) ) ? absint( get_query_var( ‘paged’ ) ) : 1;
$args = array(
‘post_type’ => ‘post’,
‘posts_per_page’ => 10,
‘paged’ => $paged,
);
$my_query = new WP_Query( $args );
?>
<?php echo easy_wp_pagenavigation(); ?>
Thanks, Carl
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>Any way to make the navigation “responsive” if the browser window changes? It seems to break some mobile themes.
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>For the step 4.
Use it to where you want to paging:
<?php echo easy_wp_pagenavigation(); ?>
it is not clear where to put the code. Can you provide example for users which are not programming the page but building it in WP?
https://www.ads-software.com/plugins/easy-wp-page-navigation/
]]>