The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Move comment text b...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Move comment text box to bottom

6 Posts
2 Users
1 Reactions
321 Views
Posts: 4
Topic starter
(@ehsan7)
Active Member
Joined: 6 months ago

Hi

first, thanks for this useful plugin

I want to move comment text box bottom after name and email and etc.

I use this snippet code : 

// move comment form textarea
function move_comment_field_to_bottom( $fields ) {
$comment_field = $fields['comment'];
unset( $fields['comment'] );
$fields['comment'] = $comment_field;
return $fields;
}
add_filter( 'comment_form_fields', 'move_comment_field_to_bottom');

its worked for default wp comments template, Like below image : 

01

But when I enable wpdiscuz it doesn't work and brings the textarea back to the top again, Like below image :

02

Is there a simple snippet code like the one above that to do Move wpdiscuz comment text box to bottom?

 

5 Replies
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

Hi,

We're really sorry, but the wpDiscuz doesn't have such a feature. You can do it via the following CSS code:

#wpdcom form {
display: flex;
flex-direction: column-reverse;
}

Insert the code in the "Custom CSS code" textarea, located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.

Posts: 4
Topic starter
(@ehsan7)
Active Member
Joined: 6 months ago

Not a good solution.

The submit button will appear at the top of the comment text field !

Is there no way to do this by changing the snippet code I posted above?

Posts: 4
Topic starter
(@ehsan7)
Active Member
Joined: 6 months ago

this is really awesome plugin, but I wonder why there is not comment text field in form editing page 🤔 

2 Replies
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

@ehsan7 

I'm sorry, but the only way to move those is by using CSS code. You can provide the URL, and we can provide the CSS code for you.

(@ehsan7)
Joined: 6 months ago

Active Member
Posts: 4

@asti Thanks

I did that with css

Share: