Support » Everything else WordPress » Find page based on slug

  • What I want to do is, on my homepage have a text field where users can enter a code. This code will correlate to a posts slug, e.g. 001
    When the user presses a button next to the text field, it might say ‘Go’, the correct page loads, and if not found then report it as such.

    I have enough experience to customise templates, but not coding. Is this a simple enough task to do through the templates or existing plugins, or am I looking at something a bit more involved?
    Some pointers in the right direction or ideas would be handy to get me going. Maybe the answer is simple and I’m just not thinking laterally enough.
    Thanks.

  • The topic ‘Find page based on slug’ is closed to new replies.