The wp_editor() function allows plugin and theme developers to render a custom instance of the TinyMCE editor used by WordPress

learn more… | top users | synonyms

0
votes
1answer
3k views

Using multiple instances of wp_editor in Custom Post Type admin area

I've written a custom plugin for my fishkeeping website which allows users to enter information about a species of tropical fish (i.e. "habitat", "distribution", "locality", etc). Each of these are ...
0
votes
1answer
757 views

WP Editor, save content and category on frontend

I'm creating a plugin that shows a frontend editor that will be the content of the current post. But I don't know who to save the content from the wp_editor to the post content; I tried using on form ...
0
votes
1answer
1k views

WP_editor doesnt apply wpautop on single line content

For a current project I am trying to echo a line of text saved in the theme's options page. I use the wp_editor function for the user input instead of a textarea. The code I am using is quite simple: ...
1
vote
1answer
830 views

Changing the default WP editor font and size

The default font is too small and too narrow. Makes editing a pain. I want the default font to be Lucida 16. I am not talking about a pop up menu. I already have that. When I open a new page/post I ...
1
vote
1answer
1k views

Show only oldest post by author

I am working with a heavily customized install of WP. I've set up a specific post type, taxonomy, and roles that gets to use just that post type. Ideally, I'd like to restrict members of that role ...
5
votes
2answers
6k views

How to get the input of a TinyMCE editor when using on the front-end?

I'm not sure why I haven't been able to find this, but does anyone know how to get the input of the TinyMCE editor? I am using it in the front end and want to be able to save whatever the user has ...
0
votes
1answer
534 views

Wordpress wp_editor to post and edit

I browsed through all the topics here on stackexchange to find an answer to my problem but couldn't quite get there. This snippet enables you to post from the frontend, but how about editing. Each ...
10
votes
3answers
5k views

wp_editor textarea value not updating

I am using the *_add_form_fields action to add fields to a custom taxonomy. One of those fields is a wp_editor(). The problem I am facing is that when I output the WordPress editor on the page like ...
1
vote
2answers
1k views

How to customize default wordpress editor?

Good to hear that Sonny (wordpress3.3) has the new editor API wp_editor() that gives us the ability to use multiple instances of the editor in our custom fields with ease. But I needed to customize ...
3
votes
1answer
645 views

Tiny MCE not adding p tag when saving theme option

I am adding tinymce edior with new wp_editor() function on theme option page. On submit the theme option sends data to option.php where it saves. But tinymce doesn't seem to convert the line breaks ...