WordPress.org

Ready to get started?Download WordPress

Forums

Posthaste
Same form, can't see result without refreshing. (3 posts)

  1. Mistainu
    Member
    Posted 2 years ago #

    copy/pasted directly from this http://wpshout.com/wordpress-submit-posts-from-frontend/ onto my child theme of K2. when click submit form, shows page unchanged, only on hard refresh do i see it has been posted.

    tried your plugin, worked perfectly: shows new post immediately on form submit. how do you do it? i need to know as i want to hard code the form into my theme.

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

  2. smajda
    Member
    Plugin Author

    Posted 2 years ago #

    So the posts are in fact being created, the page just isn't reloading when you hit "submit"? If that's the case, it's got to be submitted via ajax or something. Any javascript you're applying to the form?

  3. Mistainu
    Member
    Posted 2 years ago #

    well i just copy/pasted the code from the first link into the header of K2. works but when i hit submit, the line where the form should have been doesn't appear, browser just closes all the html tags after that. check wp-admin, the post does appear.

    then i activate your plugin and use it. works perfectly. but i'd rather have it hard coded into the theme. any pointers?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags