104 responses to “How to Create A Custom WordPress Meta Box Instead of Using WordPress Custom Fields”

  1. Dennis A.

    I got an problem with the “function save_details(){
    global $post;
    update_post_meta($post->ID, “example”, $_POST["example"]);”.

    Sometimes it just don’t save it, after I click “Update post”, it gone.

    Any ideia?

  2. Rs245

    Does the custom meta box appear for all posts and page dashboards in the admin? Can I have the meta box(es) appear in only certain type of pages?

  3. Alshe Dupur

    Hello,

    Thanks for a great tutorial. Everything is work for me. But there is one problem… how I add a select box in meta.php ? I add like:

    Current Status

    <option value="Pending">Pending
    <option value="In Process">In Process
    <option value="Shipped">Shipped
    <option value="Delivereds">Delivered

    Choose Status

    but its not work. Please tell me how I add select, radio & checkbox ?

    Thanks again.

  4. Victor Haglund

    Hello!
    Thank you very much for this tutorial, you have just saved med allot of time on a project Im working on.

    Wish you a great day and thank you again for your time and making your knowledge available to the rest of us.

    Best regards Victor

1 3 4 5

Leave a Reply