• gommez

    (@gommez)


    hello.

    im creating a plugin that would search flickr, facebook images and display the result in the “add new post” area.

    i got my scripts working and tried putting it together as a plugin.

    i used “add_meta_box” to display the form in “add new post” area, but when i try to submit, it doesnt show any result and goes back to this page: “wp-admin/edit.php” – this is the page where all posts are displayed.

    what is the proper way of “submitting” a plugin form in a “add new post” area? (if used in “add_meta_box”)

    i tried this code, and it works. code below shows the plugin title in the admin menu of the dashboard.

    function photosearch_admin() {
    add_options_page("PhotoSearch","PhotoSearch",1,"PhotoSearch","photosearch_admin");
    }
    add_action('admin_menu','photosearch_admin');

    help is very much appreciated. thanks.

    g

The topic ‘HELP with creating a plugin using “add_meta_box”’ is closed to new replies.