The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Add comments title from my default theme
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
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
Show original
Translating...
Feb 07, 2022 8:01 pm
(@novafile)
Active Member
Joined: 4 years ago
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 “%1$s”', '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 “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'minimal-grid' ) ),
number_format_i18n( $comment_count ),
'<span>' . get_the_title() . '</span>'
);
}
?>
</h2><!-- .comments-title -->
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
Show original
Translating...
Feb 08, 2022 4:54 am
(@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
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8232
Feb 08, 2022 11:19 am
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
Show original
Translating...
@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.
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
Show original
Translating...
Feb 09, 2022 7:08 am
(@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;
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8232
Feb 09, 2022 11:36 am
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
Show original
Translating...
@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.
(@novafile)
Joined: 4 years ago
Active Member
Posts: 4
Feb 10, 2022 1:10 am
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
Show original
Translating...
@asti
This is what happens when clicking on textarea. This is on the desktop version, but its the same on mobile
Link: https://url.dev/m/jGNuHHK/
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8232
Feb 10, 2022 11:26 am
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
Show original
Translating...
@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.