Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add Metaboxes to page / Problems with saving data #7164
    titidodo
    Participant

    I added this code to my functions.php

    function post_type_support_init() {
        remove_post_type_support('post', 'custom-fields');
        remove_post_type_support('page', 'custom-fields');
    }
    add_action('init', 'post_type_support_init');

    Now the values are updating correctly! 🙂

    in reply to: Add Metaboxes to page / Problems with saving data #7151
    titidodo
    Participant

    Hey Steve! No errors with WP_DEBUG turned on and also no errors in Chrome console. 🙁
    If i fill the metaboxes with data and click the save button, it writes it to the database as shown in the attachment.
    “home_solution1_title” is filled with the value of the first save, values in the other fields won’t save.

    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)