This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Multiple Featured Images: Reloaded

چۈشەندۈرۈش

This plugin allows developers to easily register additional image pickers for any post type.

ئورنىتىش

  1. Upload mfi-reloaded to the /wp-content/plugins/ directory
  2. Activate the plugin through the ›Plugins‹ menu in WordPress
  3. Use the provided template tags to create image pickers and display the data you need

FAQ

How do I add an image picker?

Easy! In your theme’s functions.php file, add the following code:

function register_custom_image_pickers() {
    add_theme_support('mfi-reloaded', array(
        'hero-image' => array(
            'post_types' => array('post'),
            'labels' => array(
                'name' => __('Hero Image'),
                'set' => __('Set hero image'),
                'remove' => __('Remove hero image'),
                'popup_title' => __('Set Hero Image'),
                'popup_select' => __('Set hero image'),
            ),
        ),
        'sidekick-image' => array(
            'post_types' => array('post'),
            'labels' => array(
                'name' => __('Sidekick Image'),
                'set' => __('Set sidekick image'),
                'remove' => __('Remove sidekick image'),
                'popup_title' => __('Set Sidekick Image'),
                'popup_select' => __('Set sidekick image'),
            ),
        ),
    ));
}
add_action('after_setup_theme', 'register_custom_image_pickers');

Feel free to provide whatever values you need.

باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

تۆھپىكار ۋە ئىجادكار

«Multiple Featured Images: Reloaded» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

«Multiple Featured Images: Reloaded» نى تىلىڭىزغا تەرجىمە قىلىڭ

ئىجادىيەتكە قىزىقامسىز؟

كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.

ئۆزگىرىش خاتىرىسى

1.0.0

  • Changed from using a custom template tag for adding image pickers to the WordPress function add_theme_support

1.0.0-RC1

  • Initial release