WordPress.org

Ready to get started?Download WordPress

Forums

Find page based on slug (1 post)

  1. cgsmith
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags