Beskrivning
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
- Install and activate the plugin via the WordPress Plugin Installer.
- Go to the Settings > Media screen, and set the Content Width!
- There is no step three!
Recensioner
31 juli 2018
This is a very helpful plugin. My galleries were only 500 px wide and my theme said it was not their problem. My only question is…will there be an update? Wordfence is going to email me every day now to tell me this plugin has been abandoned. It works perfectly though…and I don’t know how to update the php file on my own.
3 september 2016
My mosaic galleries were being displayed at the default 500px width because of my theme, and I couldn’t figure out how to fix it. This plugin did the trick.
Thanks1
Bidragsgivare och utvecklare
”Custom Content Width” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Custom Content Width” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
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.