• Resolved SteveYantz

    (@steveyantz)


    Can anyone tell me which page in the wp_admin is the page where: when you create or edit a post’s template is.
    1) So I can add text inputs to the form.
    2) so I can change the insert or update of the Database Table fields.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter SteveYantz

    (@steveyantz)

    Does anyone have the answers? I think I’m figure somethings out just by examining. But It’d be nice to have some clarity.

    There isn’t a single php “template” for the create/edit post form. But this codex article will definitely help you out–it contains info about the add_meta_box function, which does exactly what you need. It even contains some sample code that you can copy/paste and modify to suit your needs.

    If you’re new to writing plugins, you should read the Writing a Plugin codex article.

    Hope that helps!

    Thread Starter SteveYantz

    (@steveyantz)

    Thanks. 🙂 I found the page that hosts the form template and tampered with it to how I wanted. To insert it into the database was found on another page that hosted simular functions. But I’m sure this would have helped too.
    Never thought of writing a plugin, guess I could look into that. Thanks. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where is the admin template for creating or editing a post?’ is closed to new replies.