![]() |
I would like a default label in the content text editor for write posts (back end). The label needs to disappear when you start to write in the text editor (just like the title field).
I am using custom post types and would ideally like this to only show on the add custom post type (not regular posts)
Notes
Custom post types - woo_estate
Text editor - Standard wordpress 3.1 ![]() Solution - 1The editor is different from wordpress tinyMCE, did you use custom plugin or this default one(from new wp version)? I need to know class/id of textarea editor (if this customs plugin editor, could be different). Also custom post type name.. Solution - 2add in your functions.php if you use a custom post type naming "products" and want to use this snippet only for this custom post type, replace with
|
Wordpress |
Type: | Code Example |
Category: | Coding |
Sub Category: | Code Example |
Uploaded by: | Admin |
Views: | 8 |