0

In wordpress, currently I am facing one problem that, when I'm clicking on page edit the editor directly opens in visual tab so, How to directly open page editor in text tab??? Does anyone have a solution for this.

0

Add the following to your themes functions.php file and it will default to the editors text view...

add_filter( 'wp_default_editor', create_function('', 'return "html";') );
  • Thank you but I have added this code into function.php but it is not working. – daxter May 20 '14 at 6:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.