• Hello!

    I hope this is the right place to ask πŸ™‚

    I’m trying to figure out how to create a form field in the admin area of WordPress, where the editor/user can create data concerning for example a Curriculum Vitae, and then insert the data into a Page or Post.

    This is the concrete example I’m working with:
    An artist’s Curriculum Vitae where you can create custom forms for ‘education’, ‘exhibitions’, ‘grants’ etc.

    And within each form field, the editor would be able to insert data for ‘year’, ‘exhibition title’, ‘insitution’, ‘place’ and so on depending on the title of the form.

    Would also be nice to have the option to have text-fields for longer texts.

    So I’m guessing one would first have to create a user interface for the field forms in the admin area, then have the data input posted to the database, and then write a function to retrieve the data from the tables created. (and I’m thinking of adding that function to a custom page template)….

    On my search for solutions I’ve only come across plugins for contact forms and the like, nothing that would really work directly from the admin area. I’m also a bit conscious that I might be searching with the wrong set of keywords, so if any one of you might know or understand what I’m searching for, please nudge me in the right direction. πŸ™‚

    edit: moved this from the plugins/hacks forum, think this is more accurate…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The user profile page has a few actions where you can add additional fields and act on the submitted fields, but for the scope of what you envision, consider adding a submenu page to contain your fields. See Administration Menus.

    The form on this submenu can then submit to a custom handler page that takes the field values and places them where they belong in the DB, while returning a response indicating success or failure.

    Then on the appropriate template, these values are pulled out of the DB and output for display along with any needed HTML.

    Thread Starter RippedSpine

    (@rippedspine)

    thanks bcworkz, I’ll definitely give that a try.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘admin CV form field to insert in Post/Page’ is closed to new replies.