[Plugin: Multiple Featured Images] Doesn't work on pages.
-
Hello,
using your plugin and works great on posts. But something is not working on pages or maybe I am missing something.
I use this code to add the support to pages and on page administration the box for image appears and I can add the image there.
$background_page_args = array( 'id' => 'full-background-image', 'post_type' => 'page', // Set this to post or page 'labels' => array( 'name' => 'Full Background image', 'set' => 'Set Full Background image', 'remove' => 'Remove Full Background image', 'use' => 'Use as Full Background image', ) );But when I use this code to get the image in the page the function returns NULL.
if( class_exists( 'kdMultipleFeaturedImages' ) ) { kd_mfi_the_featured_image( 'full-background-image', 'page', 'full' ); }Also I want to note that this function is used on page-about-me.php (template for specific page).
Appreciate your help in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[Plugin: Multiple Featured Images] Doesn't work on pages.’ is closed to new replies.