Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Enforce Featured Image

Beschrijving

Enforce Featured Image is an API to enforce certain post types to be published with a featured image with certain dimensions if specified.

Usage

Write an another plugin file, or paste the example below in your theme functions.php file:

if ( class_exists( 'Enforce_Featured_Image' ) ) {
    Enforce_Featured_Image::enforce_on_post_type( 'post', array(
        'min_width'                => 640,
        'min_height'               => 300,
        'force_on_published_posts' => false,
    ) );
}

Note: You can use Code Snippets plugin to add the code snippets to your site.

Credits

This plugin is based on Force Featured Image plugin by XWP.

Contributing

Developers can contribute to the source code on the Github Repository.

Installatie

  1. Upload and install the plugin
  2. Use the plugin API to powerful your project.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Enforce Featured Image” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Enforce Featured Image” in je eigen taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

0.1.3

  • The Initial version.