Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Customized WYSIWYG Editor Page Widths

Enforces a maximum page width per post type in the WYSIWYG Visual editor so content will wrap according to the design of the front end.

How do I specify page widths?

In the admin section, navigate to the Settings => Writing section. There you will find the "WYSIWYG Editor Page Widths" section that should list all available post types by their name, and respective fields for setting the max width in pixels.

Why must the width be between 10 and 5000 pixels?

Because I said so? :D Really because why would you need any other setting? In all seriousness though if you need a larger (or smaller) dimension just let me know and I'll update the plugin.

Why must I specify the width in pixels and not EM's or 960 Grid columns?

Well, that adds to the complexity and most layout widths are not measured in EM's. 960 Grids are easily converted to pixels so I used the lowest common denominator.

How do I figure out the number of pixels used in my current site if I don't know it already?

I suggest you look into using a DOM Inspector like Firebug or IE Developer Tools. Both will give you an option to hover over the content on the front end of your website and select a paragraph of text. Then you can check the computed width of that content (here's a link I found on the web that should get you started: http://www.evotech.net/blog/2007/06/introduction-to-firebug/) Alternatively you could just try a series of sizes or use a piece of paper against your monitor to eyeball the measurement between the front end and the backend.

Requires: 3.2.1 or higher
Compatible up to: 3.2.1
Last Updated: 5 years ago
Active Installs: 400+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.