WordPress.org

Support

Support » Plugins and Hacks » Dynamic Featured Image » [Resolved] Featured Image Not Showing Up

[Resolved] Featured Image Not Showing Up

  • Hi

    Thank you for your plugin.

    I have added two different posts on the same page. Each post with one image. The first image (set as featured image) is set and everything is OK.

    However, as for the second image, I have set and nothing is seen. Besides, my first image has been removed and replaced by second image.

    What is going on ? And how to ad the 2nd image as featured image ?

    Thanks.

    http://wordpress.org/plugins/dynamic-featured-image/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ankit Pokhrel

    @ankitpokhrel

    Hi,

    Thank you for using the plugin. Can i see your code? you can use pastebin or some similar system.

    Thanks,
    Ankit

    Hi

    I paste this code to functions.php :

    if( class_exists( ‘kdMultipleFeaturedImages’ ) ) {

    $args = array(
    ‘id’ => ‘featured-image-2’,
    ‘post_type’ => ‘page’, // Set this to 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 );
    }

    and this code to page.php :

    if( class_exists( ‘kdMultipleFeaturedImages’ ) ) {
    kd_mfi_the_featured_image( ‘featured-image-2’, ‘page’, ‘full’ );
    }

    Thanks.

    Plugin Author Ankit Pokhrel

    @ankitpokhrel

    Oh you are using the snippet of Multiple Featured Image plugin. Please contact the support of http://wordpress.org/extend/plugins/multiple-featured-images/.

    The documentation of Dynamic Featured Image plugin is at https://github.com/ankitpokhrel/dynamic-featured-image/wiki and http://ankitpokhrel.com.np/blog/category/dynamic-featured-image/

    I have also installed Dynamic Featured Image plugin. I notice this plugin is quite easier than the other plugin. However, I notice that once the second image is selected by clicking “insert into post” button. The whole box becomes blank. I have tried to deactivate some of the plugin. It is still the same. Do you have any solution ?

    Thanks.

    Plugin Author Ankit Pokhrel

    @ankitpokhrel

    Hi,

    Have you tried this solution? Click on File URL first before clicking Insert Into Post as shown in the thread.

    Thanks,
    Ankit

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Featured Image Not Showing Up’ is closed to new replies.
Skip to toolbar