這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Pagination by HocWP Team

描述

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.

螢幕截圖

  • Pagination with default style.
  • Options page for customizing pagination.

安裝

Install this plugin from your WordPress site Dashboard or follow these steps below:

  1. Download plugin from WordPress Plugins directory and extract it.
  2. Upload the sb-paginate folder to the /wp-content/plugins/ directory.
  3. Activate the Pagination by HocWP Team plugin through the ‘Plugins’ menu in WordPress.
  4. Configure the plugin by going to the Settings Pagination menu that appears in your admin menu.

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.

常見問題

Please visit www.hocwp.net for more details.

Installation Instructions

Install this plugin from your WordPress site Dashboard or follow these steps below:

  1. Download plugin from WordPress Plugins directory and extract it.
  2. Upload the sb-paginate folder to the /wp-content/plugins/ directory.
  3. Activate the Pagination by HocWP Team plugin through the ‘Plugins’ menu in WordPress.
  4. Configure the plugin by going to the Settings Pagination menu that appears in your admin menu.

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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Pagination by HocWP Team” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Pagination by HocWP Team 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.