Adding placeholder text to textarea, esp in new topic form
-
Hi,
I noticed textarea for newtopic description is generated using bbp_the_content function. I.e., not available in form-topic.php site specific copy.- bbPress 2.5.11
- WordPress 4.6.1
- site (internal)
If this is worth your time, how do I add placeholder attribute in the following list, without breaking the upgrade mechanism? I mean if it is a five minute job for any of you. Otherwise I can spend my own time to work around it using css… it’s nagging me that you all would not have forgotten to allow for this …reasonably important thing… I think.
function bbp_get_the_content( $args = array() ) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'context' => 'topic', 'before' => '<div class="bbp-the-content-wrapper">', 'after' => '</div>', 'wpautop' => true, 'media_buttons' => false, 'textarea_rows' => '12', 'tabindex' => bbp_get_tab_index(), 'tabfocus_elements' => 'bbp_topic_title,bbp_topic_tags', 'editor_class' => 'bbp-the-content', 'tinymce' => false, 'teeny' => true, 'quicktags' => true, 'dfw' => false ), 'get_the_content' );
Here is what I am trying to do, i.e., add the words “… and a short description of the topic here.” in the blue area.
_________
Create a new conversation topic using the form belowEditing — Apparently, the image didn’t show. Here is the link, if you like
https://drive.google.com/open?id=0B1Jr2Alfov9eZVVhT2U0dGRDQVVWeVE0WGh4OTZ1QW50RFdRThank you!
- You must be logged in to reply to this topic.