The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Add comments title ...
 
Notifications
Clear all

Add comments title from my default theme

7 Posts
2 Users
0 Reactions
2,026 Views
Posts: 4
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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: 8232
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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: 8232
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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: 8232
Asti
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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