Pagination by HocWP is a pagination plugin that allows to set up navigation on WordPress site.
(If the link does not work)↓
https://wordpress.org/plugins/sb-paginate/
Install this plugin from your WordPress site Dashboard or follow these steps below:
sb-paginate
folder to the /wp-content/plugins/
directory.SB Options
menu that appears in your admin menu.Examples:
For the default query:
<?php if(function_exists("sb_paginate")) sb_paginate(); ?>
For the custom query usage with arguments:
<?php $test_query = new WP_Query(array("posts_per_page" => 1, "paged" => get_query_var("paged"))); ?> <?php while ( $test_query->have_posts() ) : $test_query->the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; wp_reset_postdata(); ?> <?php if(function_exists("sb_paginate")) sb_paginate(array("query" => $test_query)); ?>
Full usage with all arguments:
<?php if(function_exists("sb_paginate")) sb_paginate(array("query" => $test_query, "anchor" => 1, "range" => 1, "gap" => 3, "style" => "dark", "border_radius" => "none")); ?>
For basic usage, you can also have a look at the plugin homepage.
If any errors or problems with the plug-in then write comments.
Recently I came across a site where you can buy cheap domains. (more…)
If an error occurred when installing the site on Joomla or moving the site -…
Identified - Our upstream provider has confirmed this is a facility-level network issue. We will provide…
Today I'll show you how to center text in Gimp. It's very simple. Believe me.…
For many years on the Internet there has been a game called Roblox. You can…
Of the 130 most famous artists, most of all are Taurus, who have a good…