Dynamically adds multiple featured image (post thumbnail) functionality to posts, pages and custom post types.
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.
- Unzip and upload the
dynamic-featured-imagesdirectory to the plugin directory (/wp-content/plugins/) or install it fromPlugins->Add New->Upload - Activate the plugin through the
Pluginsmenu in WordPress. - If you don't see new featured image box, click
Screen Optionsin the upper right corner of your wordpress admin and make sure that theFeatured Image 2box is slected.
- After successfull plugin activation go to
addoreditpage of posts or pages and you will notice a box for second featured image.
- Click
Set featured imageicon, select required image from the "Dynamic Featured Image Media Selector" popup and clickSet Featured Image.
- Click on
Add Newto add new featured image or useRemovelink to remove the featured image box.
- After adding featured images click
publishorupdateto save featured images.
- get_image_id( $image_url )
- get_image_thumb( $image_url, $size = "thumbnail" )
- get_image_url( $attachment_id, $size = "full" )
- get_post_attachment_ids( $post_id )
- is_attached( $attachment_id, $post_id )
- get_image_title( $image_url )
- get_image_title_by_id( $attachment_id )
- get_image_alt( $image_url )
- get_image_alt_by_id( $attachment_id )
- get_image_caption( $image_url )
- get_image_caption_by_id( $attachment_id )
- get_image_description( $image_url )
- get_image_description_by_id( $attachment_id )
- get_nth_featured_image( $position, $post_id )
===================================================================================================
I'm available for freelance work. Remote worldwide or locally around Nepal. Drop me a line if you like.
If you think this script is useful and saves you a lot of work, a lot of costs (PHP developers are expensive) and let you sleep much better, then donating a small amount would be very cool.



You can always contact me at ankitpokhrel@gmail.com, if you have any question or queries about the project.
Please feel free to report any bug found. Pull requests, issues, and plugin recommendations are more than welcome!






