Results 1 to 4 of 4

Thread: Post to wordpress without "seing" the post page

  1. #1
    Karl1's Avatar
    Karl1 is offline Hello World
    Join Date
    Jul 2011
    Location
    Seville, Spain
    Posts
    35

    Default Post to wordpress without "seing" the post page

    Hi, is it possible to allow my registered users to post without seing the normal post page.
    I mean, can I post to wordpress from form page?
    example:
    create a template page that they can see if they are logged in and in that page add 4 fields:
    Photo upload
    Description of photo (textarea)
    Place of photo (drop down list)
    Agreement (checkbox)

    and description may go to content, photo goes to post featured image, and place of photo will be the category

    is this possible?

    Thanks

  2. #2
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,359

    Default

    Anything is possible with WordPress and the right code. Not sure if you have seen the Members plugin by Justin Tadlock yet but I wonder if it does most of what you want, at least the restriction parts.

    http://wordpress.org/extend/plugins/members/

  3. #3
    Karl1's Avatar
    Karl1 is offline Hello World
    Join Date
    Jul 2011
    Location
    Seville, Spain
    Posts
    35

    Default

    as for the restriction side that is easy for me, the thing I cant find info is about the post to entry, I mean, create a form where users can upload a photo, a description and that will show up as a post.

  4. #4
    danix's Avatar
    danix is offline Hello World
    Join Date
    Sep 2011
    Location
    London
    Posts
    25

    Default

    You should have a look at wp_insert_post, then you could add a template page as you said, get your data using $_POST on that same template and add it to database using wp_insert_post..

    ;)
    one day I will make a living out of WordPress...
    http://danixland.net | gpg-key: C4FAE66B | @danixland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •