This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

ID Arrays

Description

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.

Features:

  • 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.

Screenshots

  • 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

Installation

  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

FAQ

How to report a bug?

Post in the official wordpress ID Arrays plugin page.

Reviews

2. jaan. 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!
3. sept. 2016 1 reply
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!
Read all 4 reviews

Contributors & Developers

“ID Arrays” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ID Arrays” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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

  • Initial release.