[Support request] "0 comments" instead of the "Leave a comment" text

Home Forums Support [Support request] "0 comments" instead of the "Leave a comment" text

Home Forums Support "0 comments" instead of the "Leave a comment" text

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1188699
    Anas

    Hi ๐Ÿ™‚

    I have two questions..

    1. Is it possible to show “0 comments” instead of the “Leave a comment” text (https://imgur.com/KBscvz9)?
    It should always show the post’ comments count: In case the post has no comments yet, it should show “0 comments”. Otherwise, it should show “X comments”.

    2. Is there a way to remove the “dialog logo” next to the comments count? https://imgur.com/4K9cDYs

    #1188737
    Leo
    Staff
    Customer Support

    Hi there,

    1. Try this PHP:
    https://docs.generatepress.com/article/generate_leave_comment/

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    2. Try this CSS:

    .comments-link:before {
        content: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1239718
    Anas

    Hey Leo,

    Regarding your first answer, I tried the generate_leave_comment filter using the snippets plugin but it’s not working. The two filters Tom suggested the other day work pretty good but not generate_leave_comment. I can’t change the default Leave a Comment text.

    #1239885
    David
    Staff
    Customer Support

    Hi there,

    looks like you’re using a separate plugin for the Comments which the GP Filter does not apply to.

    #1240246
    Anas

    Should I use a new comments plugin? What are the plugins that the GP filter apply to?

    #1240291
    David
    Staff
    Customer Support

    The GP Filter only works with the default WordPress Comments form.

    #1240314
    Anas

    This blog has GP as well but I can’t find the default Leave a Comment text, although he’s using Disqus comments plugin.
    Maybe there’s an option in Disqus to get rid of the “Leave a comment” text?

    #1240389
    Leo
    Staff
    Customer Support

    That’s something you’d need to check with Disqus’s support unfortunately.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.