Multiple Featured Images
Mixing Multiple Featured Images and TimThumb (2 posts)

  1. iadzemovic
    Posted 2 years ago #

    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:

    	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? :)


  2. iadzemovic
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple Featured Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic