‘Preview Changes’ for custom meta boxes?

How can I have the ‘Preview Changes’ working for custom meta boxes? For instance, I just want to test/ preview some text in a custom meta box but I don’t want to save/ update because that post/ page is already gone live. eg: $post_id = $post->ID; $meta = get_post_meta( get_the_ID(), ‘meta_tile1_text’, TRUE ); var_dump($meta); ?> … Read more

Passing current cookies in wp_remote_get to get Draft Post Preview

I want pass current user cookies in wp_remote_get function to get a Draft Post Preview page content. I check already the questions: What URL do you pass to wp_remote_get to load the body of the current post’s preview? How can I call “preview post” from wp_remote_get with authentication? But in either of them appears how … Read more

Approve post directly from preview mode?

How do I approve a post directly from preview mode, instead of having to return to edit mode and/or “list of posts” mode? I’m script-matically uploading several (hundred) posts, but want to live preview them briefly before approval. 2 s 2 Here is something i have laying around: <?php /* Plugin Name: Approve From preview … Read more