Support » Themes and Templates » Post-Form Alteration

  • Hi all,

    I’m new to php and wordpress.

    I was wondering if it is possible to modify the post-form.php so that it will be displayed even for non-registered users. I’d also like anything entered in the form to go through to pending submissions.

    I know a solution is to use tdo mini-forms but I love the look of the post-form.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!

    I can’t help you that much but this is where you start to look:

    You open index.php in the theme, where the action starts.

    It says:

    if( current_user_can( 'publish_posts' ) ) require_once dirname( __FILE__ ) . '/post-form.php';

    You have to change this so that it’s not an “if the current user can”. If there’s some function/code somewhere else in the wordpress universe that enables people to do anonymous blogging, that would be useful code for you.

    Good luck!

    whooami

    (@whooami)

    Member

    You have to change this so that it’s not an “if the current user can”.

    thats sooo not going to work, and any solution that involves modifying the way the backend works is soooo insecure.

    go with the option you dont like, modify that form so it looks like you want.

    trust us.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post-Form Alteration’ is closed to new replies.