WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. iadzemovic
    Member
    Posted 7 months 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:

    <?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/

  2. iadzemovic
    Member
    Posted 7 months 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?

Reply

You must log in to post.

About this Plugin

About this Topic