WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Admin Page (4 posts)

  1. Scott Werner
    Member
    Posted 1 year ago #

    Hello,

    I'm trying to write a simple plugin and what I need to know, which I can't seem to find anywhere would be how to do this:

    The plugin needs to have page id numbers entered it. Rather than do it in the plugin file, I would like it to be done through a plugin admin page.

    I can't figure out how to make it so I could have a text input field and what is entered there is pulled into where it needs to go in the php.

    Anyone point me in the right direction?

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 1 year ago #

  3. Scott Werner
    Member
    Posted 1 year ago #

    Thank you.

    Now I'm hung up again.

    What I can't get to do is have a basic text input, that inserts the entry into a function.

    How do I make the options 'talk' to the function?

  4. DevDm
    Member
    Posted 8 months ago #

    You need to call them Scott.

    They are saved as options in the options table.

    You can use this function:

    http://codex.wordpress.org/Function_Reference/get_option

Topic Closed

This topic has been closed to new replies.

About this Topic