Descripció
Pagination by HocWP Team is a pagination plugin that allows to set up navigation on WordPress site. Pagination by HocWP Team not only supports the default query but also it can be used to show navigation for the custom query on WordPress.
Features
- Add the pagination on your WordPress site.
- Show pagination for the custom query.
Translations
- English
- Vietnamese
Updates
Updates to the plugin will be posted on www.hocwp.net and the Pagination by HocWP Team homepage will always link to the newest version.
Captures
Instal·lació
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 Pagination by HocWP Team plugin through the ‘Plugins’ menu in WordPress.
- Configure the plugin by going to the
Settings
menu that appears in your admin menu. Pagination
Examples:
For the default query:
<?php if(function_exists("hocwp_pagination")) hocwp_pagination(); ?>
For the custom query usage with arguments:
<?php $query = new WP_Query(array("posts_per_page" => 1, "paged" => ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1)); ?>
<?php while ( $query->have_posts() ) : $query->the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; wp_reset_postdata(); ?>
<?php if(function_exists("hocwp_pagination")) hocwp_pagination(array("query" => $query)); ?>
For basic usage, you can also have a look at the plugin homepage.
PMF
Please visit www.hocwp.net for more details.
- Installation Instructions
-
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 Pagination by HocWP Team plugin through the ‘Plugins’ menu in WordPress.
- Configure the plugin by going to the
Settings
menu that appears in your admin menu. Pagination
Examples:
For the default query:
<?php if(function_exists("hocwp_pagination")) hocwp_pagination(); ?>
For the custom query usage with arguments:
<?php $query = new WP_Query(array("posts_per_page" => 1, "paged" => ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1)); ?> <?php while ( $query->have_posts() ) : $query->the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; wp_reset_postdata(); ?> <?php if(function_exists("hocwp_pagination")) hocwp_pagination(array("query" => $query)); ?>
For basic usage, you can also have a look at the plugin homepage.
- Where is the settings page for Pagination by HocWP Team?
-
Go to Settings
Pagination and change the value for customizing pagination.
Ressenyes
No hi ha ressenyes per a aquesta extensió.
Col·laboradors i desenvolupadors
«Pagination by HocWP Team» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «Pagination by HocWP Team» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
2.0.1
- Add function for displaying dynamic sizes.
2.0.0
- Update all code, change to new pagination style.
- Change name to Pagination by HocWP Team.
1.1.3
- Try to change SB Paginate plugin name to Pagination by HocWP
1.1.1
- Stop using SB Plugins if current theme doesn’t support.
1.1.0
- Update testing filter.
- Re-struct SB Paginate.
1.0.9
- Tested up to WordPress 4.1 version.
1.0.8
- Make Vietnamese as the default language.
1.0.7
- Update new check core functions.
1.0.6
- Update check core function.
1.0.5
- Update new check core functions.
1.0.4
- New: Add option for user change pagination label.
1.0.3
- Fix: Missing committed files.
1.0.2
- Update: Compress css and javascript.
- Fix: Plugin settings link bugs.
1.0.1
- New: Add SB Options page to the Dashboard menu.
- New: Now you can set option for pagination to show.
1.0.0
- First release of SB Paginate.