WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Any idea why when I'm on post.php of my custom post type page I no longer see the Preview Changes button?

I have checked on an old installation and it shows on WordPress version 3.3 but not 3.4.

The custom post page has this HTML:

enter image description here

A normal post page has:

enter image description here

Why is my custom post page missing the div preview-action in the latest version of WordPress?

share|improve this question
up vote 2 down vote accepted

I run through exact same issue. Later I come to know that custom post type I created was not public and hence it does not have 'Preview Changes' button visible.

Prior version of Wordpress was displaying that button but it seems they have fixed it now.

To fix it, make sure you set 'public' to 'true' in array of arguments you are passing to 'register_post_type function'.

Hope it will help!


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.