Define a specific width for native WordPress galleries

Put this into a plugin or your function.php file.

Change the content_width variable your desired pixel value.

// Define a specific width for WordPress galleries
if ( ! isset( $content_width ) ) $content_width = 960;

Revisions

Tags:

No comments yet.

Leave a Reply