You could use the conditional is_preview() to add a bit of extra content.
For instance, you could put this at the very top of your single.php right after the header is called – or you could put it in your header.php file if you want it shown at the very top of the page:
<?php
if ( is_preview() ) { ?>
<div>You're viewing a preview</div>
<?php } ?>
Hope this helps, best of luck!
Related Posts:
- Is it possible to have two different previews of a post (ie. two templates for one post)?
- Display page content AFTER a loop of posts
- Using custom post template
- custom post template file not shown, instead all the time 404.php
- Tell WP to use a specific template file in posts
- Create a custom posts page
- add_rewrite_rule and template redirect not working
- Custom post type template not called
- single- and archive- templates not being applied to custom post types, not even after flushing permalinks
- Adding The Post Template Dropdown to WP-Admin
- custom post type single page template not working
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- Where does WordPress store the users customization in the theme
- delete post also attachments
- How do I create a featured post within a custom post type?
- Static posts page with home.php
- Unattaching images from a post
- Delete Post Link to delete post, its meta and attachments
- Navigation link to specific user page
- How to edit wordpress RSS feed to show post title only
- Add custom fields to post programmatically
- How only display all post related to category
- Filter Posts By Tag
- How to show featured image in custom post type dashboard post page
- Custom Post Templates
- Templating of a specific post ID
- Set terms in a custom post
- I want to display custom text widgets for each post in the sidebar?
- Display posts styled exactly like default posts
- Move first half of posts to one parent page, second half to the other page
- Enable Comments Box On Custom Post Type
- wp-cli post create & media import issues
- How can i limit the number of posts created per category?
- Responsive images with custom image size
- Take a received feedback item, turn it into a post
- Admin – create custom post status and display above table
- How do I stop the loop from repeating in my category template?
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- Dynamically switch template on click
- posts not showing on index.php
- “about us”, ” contact” sections should be article(post) or page in the simple small Business website?
- Customize rel=canonical tag for single blog post
- disable Tab post on nav-menus page (Admin)
- Best Way to Add UnEditable HTML to Posts
- How safe is it to delete old posts edits to save database space?
- Is codex right on deleting post?
- if in category but only with post meta
- Force a specific template as default
- How to get different Related Posts
- Custom home page with full post for first one only
- l accidentally permanently deleted a Draft. There’s any way I can recover it?
- Inserting an example of the last 3 post on to the homepage
- Get a term each custom post type
- Post Templates and Post ID’s
- Getting post and attached image from subdomain
- Custom post type slideshow background images to insert in a plugin
- Trying to exclude custom posts based on date, while sorting by custom field
- Help on conditional statement to accompany wp_insert_post function please?
- Site/Post preview is not working on all social media
- Related post not showing table of content
- Search results for ACF data
- Why does my “Add New Post” page have an old post in it?
- Redirect to custom post if custom archive page has just one result?
- Added a ACF field to custom page and want the results to show as a column in admin
- Template for displaying CPT / Taxonomy URL issues
- Multiple posts in one page
- delete post hook not being fired when deling in wordpress dashboard admin
- WordPress Delete Users from backend doesn’t work
- Is it possible to make a custom post that adds multiple pages?
- Loop through taxonomies and loop through their terms (Newbie question)
- Hiding title of selected post without plugins
- Custom post styling per category?
- Custom post type – Loop out in random order but same 15 to appear first… still random
- How to use Categories of custom post type
- Page 2 has no posts?
- Static text above category page
- Hook To Get All Posts Deleted
- Meta boxes not saving
- Custom URL Structure for posts with subcategories
- How to show the posts list into a static page? Problems to use the loop into a static page
- Get new post meta data when (custom) post is saved
- How do I control the fallback query after the original query returned cero posts?
- Allow users to create their own page/s
- 404 for some custom taxonomy not ALL taxonomy
- Given two custom post types: Automatically add meta fields from one custom post type to another
- Display metabox with date
- How can i retrive the movies, trailers, news in a single page using search
- Add default content to post (for specific category)
- get post custom value
- WordPress strips some attributes for author posts
- Automatically delete default posts and pages on theme install?
- Creating / Editing a post from within site template
- Display one post randomly from category on home page
- How to make a template for a specific post of a custom post type?
- Deleting first four characters from all Post Titles
- Deleling wordpress posts permanently still have IDs
- WordPress “Posts Page” isn’t showing template dropdown
- Post’s arent displaying
- Can I get custom post items in select box (dropdown)
- How to have 2 posting pages on a blog