Posted in Featured, Wordpress

Like this post? Share It :
  • Print
  • email
  • PDF
  • Google Bookmarks
  • Facebook
  • Twitter
  • MySpace
  • Yahoo! Buzz
  • del.icio.us
  • Digg
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Reddit
  • Technorati
  • Design Float
  • RSS

Fix Visual Editor In WordPress

WordPress’s Visual Editor is not at all what they say it is, WYSIWYG (What You See Is What You Get). And if you got a theme or have built a theme which has custom div classes in it, WordPress’s visual editor won’t show them. To fix visual editor issue here is a simple to follow tutorial.

Procedure:

Note: Do take backup of the files before you try this.

01. Login to your WordPress administration panel and go to Appearance => Editor => Theme Functions (functions.php)

02. Once there place this below code before ?>:

$your_custom_stylesheet = 'css/custom-editor-style.css';
add_editor_style($your_custom_stylesheet);

 

03. The parameter $your_custom_stylesheet is the name of the stylesheet, relative to the theme root. It also accepts an array of stylesheets. It is optional and defaults to ‘editor-style.css’.

This concludes this simple and useful tutorial. Hope you like it.

Source

Like this post? Share It :
  • Print
  • email
  • PDF
  • Google Bookmarks
  • Facebook
  • Twitter
  • MySpace
  • Yahoo! Buzz
  • del.icio.us
  • Digg
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Reddit
  • Technorati
  • Design Float
  • RSS

Related posts:

  1. How To Create Your Own Custom WordPress Theme
  2. Interaction Design Tactics For Visual Designers
  3. New Plugin: User Profile + Latest Tweets Widget for WordPress
  4. 20 Most Downloaded Free WordPress Social Bookmarking Plugins

Comments are closed.