Thursday 17 August 2017

Wordpress Page Id

if we will do a search or make a link between pages in wordpress, then we must know the id of a page, post, category and tag. So on this occasion I will explain the manual way without using the plug in.

1. How to find Wordpress  Page Id
To know the ID of a post or page, we can do in two ways that is manual and use plug in, for manual way we can do with step open administrator page and click menu Post or Pages, then point the cursor to the title of article and see link beside corner under.
 
Wordpress  Page Id
In the picture above, the post id is 798. If we are editing the post or page, then the article ID can be seen in the url in browser address bar.
 
Wordpress  Page Id
Same with the previous step, post ID on image above 798. If we are writing a new post or page, then ID can be seen by pointing mouse over permanent link.
 
Wordpress  Page Id
Note the example image above, the post ID is 804. If you want to see one or two times done in both ways above, but if we do it repeatedly, of course it is not practical, the solution is to display it by adding the ID column in the list of existing articles, It can be done with plug-in or manuals. The plug in we can use is Catch ID:
Word press  Page Id

In addition, it can also use the plug in Show IDs by 99 Robots or Reveal IDs, Show IDs same as Catch IDs, its size is only 4kb, I chose to use Catch IDs because I think the writing is neater, if you want more settings, like anyone who can see ID , Can use Reveal IDs, but the size 200Kb more. To how to manually, add the following script to the functions.php file that is in the themes folder that we use.
  
2. How to know the Category ID In WordPress
To find out the category ID, click the Post> Categories menu on the left, in the list of categories that appear, hover over one of the desired category names, see the url address that appears next to the bottom right corner.
 
Word press  Page Id
If you have entered in menu edit category (example: click the name of the category) see url address in browser address bar
 
Word press  Page Id
If you frequently use the category ID, you can use the Catch ID plug in as an example, at number 1, the plug in will brings up the ID column on the category page.
 
Word press  Page Id
3. How to know Tag ID In WordPress
 To find out the tag ID, first go to the tag page by clicking Post menu> Tags. In the list of tags that appear, hover over any of the tag names that appear, then look at the url that appears next to the bottom left corner.
 
Word press  Page Id
In the example above, the tag ID is 2. If it is on the edit tag page (click the name of the tag) ID can be viewed through the url address in the browser address bar
 
Word press  Page Id
In order for the tag ID to always appear, you can use the Catch ID plug in as example number 1, the plugin will add the ID column to the tag list page.
 
Word press  Page Id
4. Plugins
Previously mentioned some plugins that can be used to display the ID in various admin pages like in post pages, page, category, and tags. Actually, this plug in can display almost all pages containing ID including user page and gallery page (Displaying image ID). To try out various plug-ins, you can open the old plug in page (Plug-in> Add new) and type in the keyword show ID, as shown in the following figure.
 
Word press  Page Id
  
There are various ways of displaying data ID in WordPress, either manually or using plugins. The manual advantage is to enable displaying IDs for just certain items such as a post or page only, while using plugins will be easier and all items containing IDs will show up.

see video related to this post, sourced from youtube.com
Similarly tutorial on how to know or display post, page, category, and tag ID in WordPress