wordpress

How To Make Web Site

How to use WordPress. 3 ways to check 'post ID', 'category ID' and 'tag ID'

更新日:

"Post ID", "Category ID" and "Tag ID" are sometimes necessary in using WordPress.

There are 3 ways to investigate them. This article summarizes the ways.

Mouse Over

Click "Posts"> "All Posts" on WordPress's administration page.

When you hover over the post you want to check ID in the displayed list,

The URL is displayed in the lower left corner as shown below. In that URL, ID is included.

mouse over

Also in "Categorys" and "Tags", it will be displayed if you hover over in the same way.

Where is the ID in the URL? It is as follows.

  • Post ID: Number following "post ="
  • Category ID: Number following 'category & tag_ID ='
  • Tag ID: Number following "tag & tagID ="

The address bar of the edit page

Even if you move to the "Edit" page by clicking and not mouse over, the ID will be displayed.

The URL displayed in the address bar of the "Edit" page contains an ID.

The position of the ID in the URL is the same as when mouseover is done. It is as follows.

  • Post ID: Number following "post ="
  • Category ID: Number following 'category & tag_ID ='
  • Tag ID: Number following "tag & tagID ="

Install plug-in

By installing the plug-in, ID will be displayed in "All Posts", "Categorys", "Tags".

The recommended plugin is "ShowID for Post / Page / Category / Tag / Comment".

You can install it by clicking "Plugins"> "Add New" and searching for the above plugin name.

After installing and activating the plugin, the ID will be displayed as shown below.

display post ID using plugin

If you have a lot of opportunities to need ID, I recommend that you install this plugin.

-How To Make Web Site

Copyright© OSHIBUYA , 2017 All Rights Reserved.