aristidov
Member
Posted 1 year ago #
Please Guru, help me with this.
From the admin panel I want to be able to search for a post by its ID. So the search field in the top right corner if I enter a post ID it will search for it in results.
I looking for this solution 1 week and still can't find nothing. I am not php expert, so please please help.
Why not just use the url such as yourdomain.com/?p=47 for post id 47
aristidov
Member
Posted 1 year ago #
Hello Ipstenu, i want to use this in admin section, because there in admin, i show more information than in public site. For example, there administators can view some custom fields with prices, contact information of owners and more additional info. This info is not public, only for admins. In this case is very important to can fast search by post id, but i cannot find examples how to make this.
Somebody help?
Sorry for my english!
son0fhobs
Member
Posted 1 year ago #
As long as you're using wordpress 3.0, this simple, yet amazing plugin show's all the post ID's in the admin pannel:
http://wordpress.org/extend/plugins/simply-show-ids/
I'm not sure there's a way to search for a specific ID (I haven't spent much time trying) but it'll make sifting through posts much easier.
aristidov
Member
Posted 1 year ago #
Hello son0fhobs, thanks for recommendation. I use this plugin, but this is not exactly what i want. I have many posts .. page 1,2,3 .... and i really want to find solution to use search by post ID in admin.
10x in advance.
hozefasmile
Member
Posted 10 months ago #
Hi,
I think there is a better solution for finding a post id (we generally need it to do editing to a particular post in admin section)
If there are lots of post we have and all these post materials are submitted by other peoples, there may comes need when we have to modify some post of them, at that situation its very difficult to find out which post it was, if we keep a record of post id of each post and associated people who submitted the info in that post is will become very easy to search them and do editing whenever required.
There is a very simple solution to it. As I have searched a lot but don't find any proper solution from backend but there is a simple solution from front end.
Most of the themes in wordpress support edit link from front end for every post. You just have to change the permalink structure of your site to start with /%post_id%/. if you use this in your permalink structure you can open any post by just your siteurl/[post id number] and then click on the edit link provided there(available only for admin and other backend rights enabled users).
Hope in future there will be also a solution directly from the backend to search post by its id to do editing in it!
Till then this will be a better solution, I think
Hozefa