There is the handy is_preview
function.
So somewhere in your single.php
.
<?php
if (!is_preview()) {
// Show stuff that doesn't belong on a preview.
}
There is the handy is_preview
function.
So somewhere in your single.php
.
<?php
if (!is_preview()) {
// Show stuff that doesn't belong on a preview.
}