- This topic has 8 replies, 2 voices, and was last updated 8 years, 2 months ago by Tom.
-
AuthorPosts
-
February 8, 2016 at 5:52 am #171283ian
Hi
The title above any comments left on a post is
One thought on “POST TITLE” or
3 thoughts on “POST TITLE”Everywhere else as far as I am aware within GP by default comments are referred to as comments not thoughts ?
There are filters to change
generate_leave_comment
generate_leave_reply
generate_leave_replybut I cant see a filter to change the words “Thoughts on” “One thoughts on” ?
I think Thoughts by default should be “Comments” ?
If not available already would like to be able to change this
Also would further customisation of Comments area be possible by within Color and Typography addons or is the way to go CSS ?Ian
February 8, 2016 at 6:37 am #171306TomLead DeveloperLead DeveloperGood point! I just went with the default WordPress comments template.
I’ll look into adding a filter for the next version 🙂
Currently CSS is the way to go for further customization of the comments area.
February 9, 2016 at 9:13 am #171576ianHi
Thanks again
Just to say your support is outstanding !!Any idea how long before new version of GP and filter added to change “thoughts” ?
A couple of things I can’t work out how to customise in GP comments area
Get rid of ‘on “POST TITLE”’ see below there is no CSS ID ?
One thought on “POST TITLE” or
3 thoughts on “POST TITLE”Right align Reply link my CSS is not upto it or it is not possible ?
Basically trying to achieve something similar to this site
February 9, 2016 at 8:41 pm #171698TomLead DeveloperLead DeveloperNo estimated time on release yet – just had a big release so probably won’t be for a couple of weeks.
You can hide the entire thoughts title like this:
.comments-title { display: none; }
February 10, 2016 at 2:16 pm #171916ianHi
Time not a problem
When you do have time to do it would be nice if
“Post title” can be hidden from next to “thoughts title”ie just have “3 Comments” for example
instead of “3 Comments on ‘post title'”
hope that makes sense
Ian
February 10, 2016 at 10:13 pm #171968TomLead DeveloperLead DeveloperWith the code I gave you in the other topic (adding the generate_below_comments_title hook), this is now possible.
First, add this CSS:
.comments-title { display: none; } .comments-title.comments-title-custom { display: block; }
Then, add this PHP:
add_action( 'generate_below_comments_title','generate_new_comments_title' ); function generate_new_comments_title() { ?> <h3 class="comments-title comments-title-custom"> <?php printf( _nx( 'One comment', '%1$s comments', get_comments_number(), 'comments title', 'generate' ), number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); ?> </h3> <?php }
- This reply was modified 8 years, 2 months ago by Tom.
February 13, 2016 at 3:54 am #172491ianHi
I am not used to such fast responses
Will try this out asapIan
February 19, 2016 at 8:34 am #173856ianHi
Sorry again for delay at looking at this
Works like a dream
Minor point I think it should be “1 comment ” not “One comment ” ties up better when there is more than one comment
Thanks
IanFebruary 19, 2016 at 10:25 am #173878TomLead DeveloperLead DeveloperGood point 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.