Notifications
Clear all

Threaded layout reply form type

5 Posts
3 Users
1 Reactions
258 Views
Posts: 3
Topic starter
(@krambro71)
Active Member
Joined: 4 weeks ago

I am using the threaded layout and want the editor to be set to text editor, not visual editor. I've selected text editor in the settings (see attached screenshot) but the visual editor is still shown on the site. Is there anything else I need to do to only show the text editor?

4 Replies
Sofy
Posts: 4956
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi,

Please make sure that all caches are cleared before checking. Also, make sure to click the "Reply" button to view the type of editor.

Reply
3 Replies
(@audrius25)
Joined: 2 weeks ago

New Member
Posts: 2

@sofy Hi, Have same issue. Text and Visual editor changing only to comment replay editor not to post editor. Is that rights? See image. If so how to change post replay visual editor to text editor?

Reply
(@audrius25)
Joined: 2 weeks ago

New Member
Posts: 2

Changes comment editor only.

Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4956

@audrius25 

The following code will convert all form bodies into textareas:

add_filter( 'wpforo_post_after_init_fields', function( $fields ){
    $fields['body']['type'] = 'textarea';
    return $fields;
} );

Insert the code into your active theme functions.php file. For more information visit: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

Reply