• I am looking to add new posts through a form. The form is not public So I envision it doing the following:

    1. A menu item in the Dashboard Menu to “Add Product”

    2. When clicked, the page will have a simple form including, post title (the product), item number, item code, price and description which could be multiple paragraphs.

    3. The new post page that is created would have the headings such as Item Number: in bold and then the form info. Description: in bold with the accompanying text.

    I thought about having a simple php form that submits to a page with the layout and they just copy and past into a new post but I thought this might be a cleaner way to handle it.

    I am pretty proficient in php programming but not sure about this if it entails creating a new plugin.

    Thanks in advance for any help or direction.

    Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • It sounds like you’d want to use a custom post type and have that displaying your “products”. That lets you set up a new area for administering only the products (like pages is different to posts) and lets you set up custom templates for that post type.

    Some helpful links:

    http://codex.wordpress.org/Post_Types
    http://blog.teamtreehouse.com/create-your-first-wordpress-custom-post-type

    Thread Starter tectao

    (@tectao)

    Thank you for the direction. It appears this is what I’m seeking after reading the teamtreehouse.com blog post. Not having much experience in WordPress editing other than CSS editing, I assume that the function.php they refer to is the wp-includes>functions.php.

    My first attempt bombed but will still attempt it. This is a good start.

    That is the right place to add it in. And don’t worry… my first few times trying that did the same. It does get better, trust me!

    Thread Starter tectao

    (@tectao)

    Thanks again. Did some additional markup and edits. Will continue on a test application, but for now found a custom post type plugin that after reviewing looks like it will do the trick and cut down on the learning curve. Again, thanks for pointing me in the right direction.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Backend Form Page to Add New Posts’ is closed to new replies.