[wp-hackers] How to send information to the plugin?
Rafael Ehlers
rafaehlers at gmail.com
Tue Jan 4 00:07:24 UTC 2011
Have a look at this tut, there are some things you should notice in your
form:
http://wpshout.com/wordpress-submit-posts-from-frontend/
http://pastebin.com/KniQsKms
<http://wpshout.com/wordpress-submit-posts-from-frontend/>like, <form
id="ag-form" name="ag-form" method="post" action="<?php echo
get_bloginfo('url').'/'; ?>">
and
<input type="hidden" name="page" id="page" value="<?php echo $post->ID;
?>"/>
<?php wp_nonce_field('new-ad','ad-nonce'); ?>
On Mon, Jan 3, 2011 at 8:50 PM, Eduardo Nordmann Bazan <
nordmannbazan at gmail.com> wrote:
> I'm making a plugin that lives inside a page and needs input from the user.
> I tried to get information from a form but without success. I think the
> problen is that the action field ot the form is not pointing to the rigth
> address.
> I haven't found any solution for it in the codex an neither making a search
> in google. Any idea?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list