ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Force Featured Image

وضاحت

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

تصوير

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

انسٽاليشن

  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' );
    

جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

تعاون ڪندڙ & ڊولپرز

“Force Featured Image” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Force Featured Image” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

0.2.0

  • Add the ability to force a featured image with dimensions

0.1.0

First Release