Get the Image
How to set default image as featured? (1 post)

  1. maineyak
    Posted 3 years ago #

    Using .htaccess I can use a single image url, ex http://www.mydomain.com/image.jpg, and it will display a different image on page load. How can I set this image as the featured image for a post? I tried the following, but it didn't work:
    <?php get_the_image( array( 'meta_key' => 'feature_img', 'size' => 'medium', 'width' => '270', 'height' => '270', 'feature_img' => 'http://www.mydomain.com/2/rand.jpg', 'image_class' => 'feature' ) ); ?>


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Get the Image
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by maineyak
  • This topic is not a support question
  • WordPress version: 3.1


No tags yet.