WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Featured Image
[resolved] Featured Image Not Showing Up (6 posts)

  1. Uendi
    Member
    Posted 7 months ago #

    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/

  2. Ankit Pokhrel
    Member
    Plugin Author

    Posted 7 months ago #

    Hi,

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

    Thanks,
    Ankit

  3. Uendi
    Member
    Posted 7 months ago #

    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.

  4. Ankit Pokhrel
    Member
    Plugin Author

    Posted 7 months ago #

    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/

  5. Uendi
    Member
    Posted 7 months ago #

    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.

  6. Ankit Pokhrel
    Member
    Plugin Author

    Posted 7 months ago #

    Hi,

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

    Thanks,
    Ankit

Reply

You must log in to post.

About this Plugin

About this Topic