The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Add comments title ...
 
Share:
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!

Merry Christmas and Happy Holidays! πŸŽ„

Add comments title from my default theme

7 Posts
2 Users
0 Reactions
1,970 Views
Posts: 4
Topic starter
(@novafile)
Active Member
Joined: 4 years ago
[#3676]

Hello, when installing the plugin it removes my default comment style. I want to keep the title of my comments.

Β 

This is the code that I want to keep, is it possible to add it somewhere?

	// You can start editing here -- including this comment!

	if ( have_comments() ) : ?>

		<h2 class="comments-title">

			<?php

			$comment_count = get_comments_number();

			if ( 1 === $comment_count ) {

				printf(

					/* translators: 1: title. */

					esc_html_e( 'One thought on &ldquo;%1$s&rdquo;', 'minimal-grid' ),

					'<span>' . get_the_title() . '</span>'

				);

			} else {

				printf( // WPCS: XSS OK.

					/* translators: 1: comment count number, 2: title. */

					esc_html( _nx( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', $comment_count, 'comments title', 'minimal-grid' ) ),

					number_format_i18n( $comment_count ),

					'<span>' . get_the_title() . '</span>'

				);

			}

			?>

		</h2><!-- .comments-title -->

Β 

Β 

Β 


6 Replies
Posts: 4
Topic starter
(@novafile)
Active Member
Joined: 4 years ago

Also, what is the correct way to make the textarea for comments bigger?

Rith now I'm using this in custom CSS, but I think is not the correct way

#wpdcom .ql-container {min-height: 175px;} - this fix the issue for desktop view
#comments #wpdcom textarea{min-height: 175px;} - this fix the issue for mobile view

Β 


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8205

@novafile,

I want to keep the title of my comments.

Please use the solution provided here:Β 

https://wpdiscuz.com/community/f-a-q/display-leave-a-reply-comment-header/

Rith now I'm using this in custom CSS, but I think is not the correct way

Everything is ok here. You should configure it using a CSS code.Β 


Reply
Posts: 4
Topic starter
(@novafile)
Active Member
Joined: 4 years ago

"display leave a reply..." fix does not work for me.. maybe is too complicated.

Β 

resizing the text area working until I click on it then it goes back to the "small" version

I see that "something" adds this element.style

style="overflow: hidden; min-height: 2em; height: 56px;"

toΒ 

<textarea id="wc-textarea-0_0"....

This happens on both mobile and desktop versions when I click/tap on textarea.

Β 

Any solution here? I just want to keep comment textarea size:

min-height: 175px;

Β 


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

Illustrious Member
Posts: 8205

@novafile,

"display leave a reply..." fix does not work for me.. maybe is too complicated.

Please record a video where we can see how you're adding the code.Β 

Any solution here? I just want to keep comment textarea size:

Please provide an example URL we'll help you to provide a solution.Β 


Reply
(@novafile)
Joined: 4 years ago

Active Member
Posts: 4

@astiΒ 

This is what happens when clicking on textarea. This is on the desktop version, but its the same on mobile

textarea

Β 

Link: https://url.dev/m/jGNuHHK/


Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8205

@novafile,

Use the CSS solution below:

#wpdcom.wpd-layout-2 .wpd-form .wpdiscuz-textarea-wrap textarea{
      height: 55px !important;
      min-height:  55px  !important;
}

Β 

The red marked value can be changed as you like.


Reply
Share: