Upload box displaying on posts but not pages
-
Hi,
The box to upload a secondary featured image is not showing under ‘add new page’, but is showing under ‘add new post’. I have added the default functions.php code:
if( class_exists( ‘kdMultipleFeaturedImages’ ) ) {
$args = array(
‘id’ => ‘featured-image-2’,
‘post_type’ => ‘post’, // Set this to post or page
‘labels’ => array(
‘name’ => ‘Featured image 2’,
‘set’ => ‘Set featured image 2’,
‘remove’ => ‘Remove featured image 2’,
‘use’ => ‘Use as featured image 2’,
)
);
new kdMultipleFeaturedImages( $args );
}Has anyone come across this issue before?
Cheers.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Upload box displaying on posts but not pages’ is closed to new replies.