Add a tinyMCE plugin WordPress functionality
-
Hi,
I’ve added a button to tinyMCE which loads a php file into the iframe.
Actually it’s a shortcode manager and I need to use some wordpress functionality such as translation functions or getting categories list or …To do this, I need to include wp-load.php and every thing works great with it. But I read on the forums that including wp-load.php is not a good practice at all!
So what’s the best solution for my problem? Is there any way to load tinyMCE plugin without loading it within iframe or is there any other way to use wordpress functions in a file which is loaded into iframes or popups?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add a tinyMCE plugin WordPress functionality’ is closed to new replies.