fbpx
  • The best import export plugin
  • Supports very large files
  • Simple interface & flexible API
  • Import, Export, Migrate, Bulk Edit

New Feature: Earn 12 Badges

Bild

Collect up to 12 exclusive badges by sharing your plugin collections and engaging with the community.

See all Badges

Dynamic Featured Image

by Ankit Pokhrel

Description
Dynamically adds multiple featured image or multiple post thumbnail functionality to your page, posts and custom post types. This plugin provides you an interface to add any number of featured image as you want without writing a single line of code. These featured images can then be collected by the various theme functions.
Overview
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.
A NOTE ABOUT SUPPORT: We’re here to help troubleshoot bugs, but please don’t set expectations early as the support forums at WordPress.org are only checked once in a while.
How it works?
1. After successfull plugin activation go to
add
or
edit
page of posts or pages and you will notice a box for second featured image.
2. Click
Set featured image
, select required image from “Dynamic Featured Image – Media Selector” popup and click
Set Featured Image
.
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
$dynamic_featured_image->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 => …
Resources
1. Detail Documentation.
2. StackOverflow Tag.
MultiSite Info
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.
Simple
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.
Contribute
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!

All texts and images on this product page are protected by copyright and are the property of the author Ankit Pokhrel. You will be redirected to the retailer to download the plugin. We act solely as a search engine for plugins and are not affiliated with the retailer or Ankit Pokhrel.

Tags

Free Plugin

4.5
Reviews
Last Update
3 years ago
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. The WordPress® trademark is the intellectual property of the WordPress Foundation

Get your first Badge

Code Newbie

Earn your first badge by sharing your collections. Every master was once a beginner. Welcome to your coding journey.

0 of 5 views reached

Collections

Create your first Collection

Click the symbol on the desired plugin to create a collection. The symbol appears when you hover over the plugin.