Forum Replies Created

Viewing 1 replies (of 1 total)
  • hi @marcus.kober

    im working on this site at the min:
    https://www.passarella.co.uk/new-site/

    I added the code below to the functions.php page – Which brought up the extra featured image setting in wordpress posts page while in editing window no problem.

    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 );
    }

    However when I added this code to slider-home.php nothing happened?

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

    sure its something daft im not doing – basically just want to have a different image in the slider to the post image in boxes below – but they all need to click through to same post.

    Hope this make sense mate – would really appreciate the help!

    thanks in advance!

    mike

Viewing 1 replies (of 1 total)