Dynamically adds multiple featured image (post thumbnail) functionality to posts, pages and custom post types.
Dynamically adds multiple featured image or multiple post thumbnail functionality to your page, posts and custom post types. This plugin is unique from other wordpress featured image plugin because there is no need to add code in functions.php file for every featured image.
Dynamic Featured Image enables the option to have MULTIPLE featured images within a post or page. This is especially helpful when you use other plugins, post thumbnails or sliders that use featured images. Why limit yourself to only one featured image if you can do some awesome stuffs with multiple featured image? DFI allows you to add different number of featured images to each post and page that can be collected by the various theme functions.
How it works?
1. After successfull plugin activation go to
edit page of posts or pages and you will notice a box for second featured image.
Set featured image, select required image from media popup and click
Insert into Post.
3. Click on
Add New to add new featured image or use
Remove link to remove the featured image box.
4. You can then get the images by calling the function
dfi_get_featured_images([$postId (optional)]) in your theme. (Click here for details)
5. The data will be returned in the following format.
array 0 => array 'thumb' => string 'http://your_site/upload_path/yourSelectedImage.jpg' (length=50) 'full' => string 'http://your_site/upload_path/yourSelectedImage_fullSize.jpg' (length=69) 'attachment_id' => string '197' (length=3) 1 => array 'thumb' => string 'http://your_site/upload_path/yourSelectedImage.jpg' (length=50) 'full' => string 'http://your_site/upload_path/yourSelectedImage_fullSize.jpg' (length=69) 'attachment_id' => string '198' (length=3) 2 => ...
You can use
Network Activate to activate plugin for all sites on a single install. It is only available on the Network admin site not anywhere else.
Activate activates for the site you are currently on. These will be permitted to be activated or deactivated on ANY blog.
While deleting the plugin from the
Network be sure that the plugin is deactive in all installation of your WordPress network.
Remote Image URL Info
You can add the image using the remote image url but various helper functions provided may/may not work for the image from remote url. The attachment id for the remote image will always be
If you'd like to check out the code and contribute, join us on Github. Pull requests, issues, and plugin recommendations are more than welcome!
Requires: 3.3 or higher
Compatible up to: 3.7.1
Last Updated: 2013-11-30
8 of 8 support threads in the last two months have been resolved.
Got something to say? Need help?