Just check for the global $numpages
variable:
<?php
global $numpages;
if ( is_singular() && $numpages > 1 ) {
// This is a single post
// and has more than one page;
// Do something.
}
?>
Just check for the global $numpages
variable:
<?php
global $numpages;
if ( is_singular() && $numpages > 1 ) {
// This is a single post
// and has more than one page;
// Do something.
}
?>