Custom Content Width

By George Stephanis

★ 4.8/5 (8 ratings)900+ active installationsVersion 1.0.2

Adds a 'Custom Content Width' setting to the Settings > Media screen, to let users override their theme's content width.

Description

Occasionally, themes forget to set the $content_width variable in functions.php. If they forgot, or if you’d like to change the value that they’ve set, this will let you in your Settings > Media screen.

Installation

  1. Install and activate the plugin via the WordPress Plugin Installer.
  2. Go to the Settings > Media screen, and set the Content Width!
  3. There is no step three!

Changelog

1.0.2

  • PHP 8.2 compatibility fix: Dynamic Properties are deprecated.

1.0.1

  • Validate width values to avoid unlikely security vulnerabilities.

1.0

  • Initial release.