Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Force Featured Image

Descrizione

Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.

Screenshot

  • The plugin shows the user a warning when he doesn't respect the image dimension

Installazione

  1. Upload force-featured-image to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. This plugin lets you specify which post-type requires to force a featured image to. It will also let you specify minimum dimensions for the image.
    Let’s say, for example, you want to force a user to set an image on the default post type with the following dimensions (400px * 400px). Put this code in the function.php of your theme :

    function theme_force_featured_image( $options ){
        $options['post'] = array(
            'width'  => 400,
            'height' => 400,
        );
    
        return $options;
    }
    add_filter( 'force_featured_image_post_type', 'theme_force_featured_image' );
    

Recensioni

Non ci sono recensioni per questo plugin.

Contributi e sviluppo

“Force Featured Image” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “Force Featured Image” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

0.2.0

  • Add the ability to force a featured image with dimensions

0.1.0

First Release