Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

ID Arrays

Описание

This plugin is all about IDs and offers a twofold functionality.

a) Adds a custom admin options page with WP List Tables that allow you to get a delimited list of post/page IDs by taxonomy / tag or post type. Listing of IDs by template only works for pages, not posts.

This can be particularly useful when for example you are working with WP conditional tags, where it is common practice to create a delimited list of post or taxonomy IDs. If there are many posts or taxonomies required, the process of finding each ID one by one can get a bit annoying and time consuming.

This plugin makes it easier for you. It creates delimited lists of post/page IDs based on taxonomy/tag, post type, template or user selection from WP list-tables.

b) Adds a column displaying IDs in the posts/pages, media, taxonomies and users screens. It also offers the option to automatically copy the IDs of selected items.

For a clearer picture please have a look in the Screenshots section.

Возможности:

  • Works for built in and custom post types and taxonomies.

  • Works fine with Woocommerce and WPML.

  • Provides a settings page to control functionality.

  • An auto-copy to clipboard function is also provided.

Note: The «Copy Selected IDs» button added in the WP built-in post/page and taxonomy list edit screens uses Javascript and works for all major browsers (Note: IE 10+). The auto copy to clipboard function is not supported by Safari, but you still get the selected IDs in the textbox, so you can copy them manually.

Скриншоты

  • List of post/page IDs by taxonomy (plugin options page)
  • List of post/page IDs by post type (plugin options page)
  • List of page IDs by template (plugin options page)
  • IDs column, copy selected IDs button and textbox (example for posts)
  • IDs column, copy selected IDs button and textbox (example for taxonomies)
  • ID arrays plugin settings page

Установка

  1. Upload the plugin files to the /wp-content/plugins/id-arrays directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->ID arrays screen to configure the plugin

Часто задаваемые вопросы

How to report a bug?

Post in the official wordpress ID Arrays plugin page.

Отзывы

02.01.2017
This plugin works great. I had a situation where I needed to show sidebar widgets on only a select page comprised of custom post types. However, I could only do this by using a unique ID in the plugin Display Widgets. ID Array added a column of all unique CPTs in the types listing, and I then used those in Display Widgets. Solved a huge headache. Thanks!
03.09.2016
I have a number of plugins that require me to enter in page id's and of course finding them has been a hassle up until now. This plugin allows me to identify and select the page id's I need quickly and with simplicity. Very nicely done. Thanks!
Посмотреть все 4 отзыва

Участники и разработчики

«ID Arrays» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «ID Arrays» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

2.1.2

  • Added information about number of IDs found following a user query.

2.1.1

  • Included attachments (media) in post_type queries; removed column screen options as they were pretty useless.

2.1

  • Added extra column displaying IDs for posts/pages, media, taxonomies and users

2.0.2

  • Fixed a bug that was causing errors with wp-list-table for WP v4.2.x

2.0.1

  • Fixed a bug for max number of posts returned.

2.0

  • Major update; added options pages to get IDs of posts/pages by taxonomy, post type or template.

1.0

  • Первая версия.