WordPress.org

Support

Support » Plugins and Hacks » Multiple Featured Images » Mixing Multiple Featured Images and TimThumb

Mixing Multiple Featured Images and TimThumb

  • Hi everyone! Quick question, how do I resize my second featured image in the code. When I used only one featured image I used this code:

    if ( has_post_thumbnail() ) { ?>
    	<div class="f_image"><a href="<?php the_permalink() ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php get_image_url(); ?>&h=260&w=610&zc=1&a=tc" alt=""/></a></div>

    … now I use this, as it says in the instructions:

    <?php
    	if( class_exists( 'kdMultipleFeaturedImages' ) ) {
                kd_mfi_the_featured_image( 'featured-image-2', 'post' ) ;
    }?>

    … and it works ok. It’s just that I want it to show the second one in the same way above as the first one…

    Help please? 🙂

    http://wordpress.org/plugins/multiple-featured-images/

Viewing 1 replies (of 1 total)
  • Right now I have the first picked feature image showing at the main page, but then on the single page I want featured image #2. But I wanted also this: When there is only one featured image to the post… Can it show that instead of blank?

Viewing 1 replies (of 1 total)
  • The topic ‘Mixing Multiple Featured Images and TimThumb’ is closed to new replies.
Skip to toolbar