You are viewing an old revision of this post, from March 15, 2015 @ 13:34:55. See below for differences between this version and the current revision.

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. [php]// Define a specific width for WordPress galleries if ( ! isset( $content_width ) ) $content_width = 960;[/php]

Revisions

  • March 15, 2015 @ 13:34:55 [Current Revision] by PeterLugg
  • March 15, 2015 @ 13:34:55 by PeterLugg

Revision Differences

There are no differences between the March 15, 2015 @ 13:34:55 revision and the current revision. (Maybe only post meta information was changed.)

Tags:

No comments yet.

Leave a Reply