Support » Fixing WordPress » Populate a custom field with the Post ID

  • I’ve been searching for a while. Would really appreciate it if someone could help me.
    I would like to populate a custom field with the post ID. I found this thread but I’m not sure I understand it, I’m still learning wordpress and php.

    The reason why I want to do this is because I found a search tool that will search the contents of the custom field but not the post ID and I would like for users of the site to be able to search for a post by an ID number. If the problem can be solved some other way that would be great too.

    Thanks in advance.

  • The topic ‘Populate a custom field with the Post ID’ is closed to new replies.