Wordpress: modifcare AdminBigWidth Developer

Friday, October 17, 2008

AdminBigWidth is a plugin for Wordpress that can set the working area of the administration to full screen. Is a plugin really simple and trivial, in fact, his code does is change the CSS .wrap

PHP:
  1. AdminBigWidth function () (
  2. ; echo '<style type="text/css">. wrap (max-width: none) </ style>';
  3. )
  4. , 'AdminBigWidth' ) ; add_action ( 'admin_head', 'AdminBigWidth');

For people like me use the Wordpress editor in HTML mode might be useful to set a fixed space font like Courier font instead of the suggested default. In this way, at least for developers, it becomes easier to align source code. To do this simply add, in the style of AdminBigWidth, a new approach to CSS to reflect on the editor when in HTML mode. One could write a plugin (two lines) to do this, but you better use your code AdminBigWidth, so as to avoid further load due to the nth Plugin:

PHP:
  1. AdminBigWidth function () (
  2. ; echo '<style type="text/css">. wrap (max-width: none) # editorcontainer # content (font-family: "Courier New", Courier, monospace) </ style>';
  3. )
  4. , 'AdminBigWidth' ) ; add_action ( 'admin_head', 'AdminBigWidth');

Related Post

Was this article helpful?: Per nientePocoAbbastanzaMoltoMoltissimo
Loading ... Loading ...

One Comment to "Wordpress: modifcare AdminBigWidth Developer"

  1. getAvatar 1.0
    October 18, 2008 Francis Gavello:

    As always very useful :)
    I immediately put into practice.

Leave a comment

TAG XHTML PERMISSIONS: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> INSERTION CODE:
 <pre></pre>         // blocco generico [code][/code]       // blocco generico [as][/as]           // Actionscript [css][/css]         // CSS Style Sheet [html][/html]       // HTML [js][/js]           // Javascript [objc][/objc]       // Objective-C [php][/php]         // PHP [sql][/sql]         // SQL