Custom Fields
Re-Envisioned
Support General metaboxes are not shown in preview changes button click

  • Creator
    Topic
  • #32985
    CodeLab
    Participant

    Hi,

    I created metaboxes and working fine, but once I preview changes it does not show those changes. While I have also set the autosave to true still those are not showing at all...

    Kindly give me quick solution as my client is just waiting for this one now ...

    Thanks again

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #32986
    CodeLab
    Participant

    Hi,

    I want to save autosave fields so I can view those changes, but it does not work while I have changed autosave to true as well ...

    Needed help on urgent basis.

    Thanks

    #32991
    Long Nguyen
    Moderator

    Hi,

    The helper function rwmb_meta() works like the WordPress function get_post_meta(), they retrieve the field value (post meta) from the database and show on the frontend. Preview Changes does not save data to the database so the new field value also does not show up. This issue was fixed from this topic https://metabox.io/support/topic/wordpress-preview-button-actually-saving-data/

    If you do not want to publish the post, you can use the option Save Draft and preview the post as well.

    #32997
    CodeLab
    Participant

    But you did not answer my query. How to preview changes without publishing or before publishing post .?? Give me solution or guide me as my client want this ....

    #33003
    Long Nguyen
    Moderator

    Hi,

    Currently, it is not possible to preview the new field value. I will inform the development team to consider supporting this case in the next update.

    You can try to save draft without publishing the post to preview changes.

    #33007
    CodeLab
    Participant

    Hi,

    Then what that autosave true does ??? Why you guys misleading us in other threads and support ?

    #33008
    Long Nguyen
    Moderator

    Hi,

    I think the autosave option might not relate to this case. And it is not working for now, unfortunately.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.