Linux 软件免费装
Banner图

Post Index Helpers

开发者 coffee2code
更新时间 2024年8月11日 14:12
捐献地址: 去捐款
PHP版本: 2.8 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

post position loop index template tags

下载

1.4.2 1.4.3 1.4.4 1.0.1 1.0.2 1.0.3 1.1 1.1.1 1.1.2 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.7 1.2.8 1.2.9 1.3 1.4 1.2.6 1.0 1.4.1

详情介绍:

This plugin provides thirteen handy template tags that relate to the index/position of a post within a loop's listing of posts. Some of the template tags provided by this plugin relate to the position of the current post within the current loop: Other functions help you get a post (or posts) at a given position in the current loop: While the remaining three functions relate to index information about the loop in general: Please see the Template Tags section (in some places found under the Other Notes section) for descriptions of all the functions and their arguments. Note that index counting begins at 0, which means the first item has an index of 0. An index of -1 indicates no posts were found. Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

安装:

  1. Install via the built-in WordPress plugin installer. Or download and unzip post-index-helpers.zip inside the plugins directory for your site (typically wp-content/plugins/)
  2. Activate the plugin through the 'Plugins' admin menu in WordPress
  3. Use one or more of the provided template tags in theme template file(s) as desired

升级注意事项:

1.4.4 Trivial update: noted compatibility through WP 6.6+, removed unit tests from release packaging, and updated copyright date (2024) 1.4.3 Trivial update: noted compatibility through WP 6.3+ and updated copyright date (2023) 1.4.2 Trivial update: added DEVELOPER-DOCS.md, noted compatibility through WP 5.8+, and minor reorganization and tweaks to unit tests 1.4.1 Trivial update: noted compatibility through WP 5.7+ and updated copyright date (2021) 1.4 Trivial update: Added support for action invocation of c2c_the_index(), restructured unit test file structure, added a TODO.md file, and noted compatibility through WP 5.5+. 1.3 Minor update: Changed c2c_the_index() to echo empty string if index is invalid, prevented warning if invalid argument is sent to `c2c_get_the_index(), updated a few URLs to be HTTPS, and noted compatibility through WP 5.4+ 1.2.9 Trivial update: noted compatibility through WP 5.3+ and updated copyright date (2020) 1.2.8 Trivial update: created CHANGELOG.md to store historical changelog outside of readme.txt, modernized unit tests, noted compatibility through WP 5.2+ 1.2.7 Trivial update: noted compatibility through WP 5.1+ and updated copyright date (2019) 1.2.6 Trivial update: added README.md, noted compatibility through WP 4.9+, and updated copyright date (2018) 1.2.5 Trivial update: tweaked readme, changed unit test bootstrap, noted compatibility through WP 4.7+, and updated copyright date 1.2.4 Trivial update: minor unit test tweaks, noted compatibility through WP 4.4+, and updated copyright date 1.2.3 Trivial update: noted compatibility through WP 4.3+ 1.2.2 Trivial update: noted compatibility through WP 4.1+ and updated copyright date 1.2.1 Trivial update: noted compatibility through WP 4.0+; minor documentation tweaks; added plugin icon 1.2 Recommended minor update: fixed a few small bugs; added unit tests; noted compatibility through WP 3.8+ 1.1.2 Trivial update: noted compatibility through WP 3.5+ 1.1.1 Trivial update: noted compatibility through WP 3.4+; explicitly stated license 1.1 Minor update: added new function c2c_is_post_in_loop() and noted compatibility through WP 3.3+ 1.0.3 Trivial update: noted compatibility through WP 3.2+ 1.0.2 Trivial update: add link to plugin homepage to description in readme.txt 1.0.1 Trivial update: noted compatibility with WP 3.1+ and updated copyright date.

更新日志:

1.4.4 (2024-08-10) 1.4.3 (2023-04-29) 1.4.2 (2021-10-02)