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

Sequential posts numbering

描述

This plugin published on GitHub.

This plugin will serialize your posts. Since this plugin simply outputs numbers only, it’s up to you to incorporate it into html or styling with CSS. 🙂
It demonstrates its power with archives and single pages in the loop. 😛
Now added order, raw options. See Parameters.

Contact

Twitter: @marushu
email: shuhei.nishimura[at]gmail.com

安裝

  • A plug-in installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plug-in is made effective.
  • Place <?php if ( function_exists( 'sequential_posts_numbering' ) ) { echo sequential_posts_numbering(); } ?> in your templates(archive, single, etc…)

Parameters

  • post_type: WordPress post type. Default is post.
  • posts_per_page: Number of posts to include on one page. Default is -1.
  • post_status: Post status. Default is publish.( private, pending, draft, auto-draft…. )
  • order : ‘ASC, DESC. Default is DESC.
  • raw : Default return +1 value. If set to true, it returns the start value from 0. This is useful when changing only the first post only when infinite scrolling, such as different design, only when changing the order only for a specific post.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Sequential posts numbering” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Sequential posts numbering 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

  • Add order option.
  • Add raw option.

0.1.2

  • Add plugin uri
  • Add Github link

0.1.1

  • fix files

0.1.0

  • First release 🙂