• Hello

    I have make a plugin where user can add there owns cars, with image…
    Now i′m trying to make so that the user can uppload more image to that car.
    This is what i have now…

    <?php if( has_post_thumbnail() ) : ?>
    <div class="photo">
    <?php $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large'); ?>
    <a rel="prettyPhoto" href="<?php echo $large_image_url[0] ?>" title="<?php the_title_attribute(); ?>">
    <div class="overlay"></div><span class="ico"></span>
    <?php the_post_thumbnail( 'portfolio_1_col' ); ?>								</a>
    </div>
    <?php if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image', NULL,  'post-secondary-image-thumbnail'); endif; ?>
    <?php endif; ?>

    Hope some one have an ide how i can do that.

    https://www.ads-software.com/plugins/multiple-post-thumbnails/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘add mulltiple image upload’ is closed to new replies.