Pagination by HocWP Plugin WordPress, Download, Install
November 14, 2016
Pagination by HocWP is a pagination plugin that allows to set up navigation on WordPress site.
Pagination by HocWP Download Now
(If the link does not work)↓
Originals Link WordPress.org
https://wordpress.org/plugins/sb-paginate/
How to Install Pagination by HocWP Plugin, Manually
Install this plugin from your WordPress site Dashboard or follow these steps below:
- Download plugin from WordPress Plugins directory and extract it.
- Upload the
sb-paginate
folder to the/wp-content/plugins/
directory. - Activate the SB Paginate plugin through the ‘Plugins’ menu in WordPress.
- Configure the plugin by going to the
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.
Video
Screenshots
Plugin Not Working?
If any errors or problems with the plug-in then write comments.