I have created a shortcode which should display the POST IDs on a single page template I created. However, if I try to search for a post ID, it results to no results. Here’s the function I have created.
I am not exactly sure if this custom code is correct. Does this display the post ID?
You can by the way enable search within the post IDs, without any additional code: https://i.imgur.com/8wBI9Cm.png