Opis
Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.
Instalacja
- Upload
force-featured-imageto the/wp-content/plugins/directory - Activate the plugin through the 'Plugins’ menu in WordPress
-
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' );
Recenzje
Wtyczka nie ma jeszcze żadnej recenzji.
Kontrybutorzy i deweloperzy
„Force Featured Image” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniPrzetłumacz wtyczkę “Force Featured Image” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
0.2.0
- Add the ability to force a featured image with dimensions
0.1.0
First Release

