WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a page that is completely custom and does not fall into the Wordpress structure. However it is using data from the WP database. To access this I've used:

define('WP_USE_THEMES', false);

It using Blog Name and some other fields, plus some custom tables I've added to the DB)

I have verified that it is pulling info from the Wordpress DB correctly.

However I have a couple of textarea fields on this page that I'd like to be able to use the Wordpress WYSIWYG editor on them.

I've found posts on how to include it if you are writing a plugin, but other than the DB access this page isn't part of WP in any way. Is there any way to do this?

Thanks! Chris

share|improve this question

migrated from stackoverflow.com Oct 10 '11 at 11:11

This question came from our site for professional and enthusiast programmers.

These functions are available in the wordpress admin, I would assume that it's easier you code this on your own (wordpress uses tinymce) than reusing admin functions. – hakre Oct 5 '11 at 15:48

Including wp_load.php performs WordPress core load and gives you access to normal (front-end) set of WordPress functions. You might need to include some files from admin area by hand to get access to functions from there. You will also need to call some WP hooks or deal with scripts manually.

Overall this is doable, but not trivial. Simply using TinyMCE directly may be more streamlined solution.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.