[Resolved] removing "leave a comment" from bottom

Home Forums Support [Resolved] removing "leave a comment" from bottom

Home Forums Support removing "leave a comment" from bottom

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #517135
    Halil

    is it possible to remove “leave a comment” text from bottom of posts in post lists But at the same time number of comments should be shown if there are some in the post?

    #517378
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    #reply-title {
        display: none;
    }

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

    #518109
    Halil

    it didnt work 🙁

    #518257
    Leo
    Staff
    Customer Support

    Are you referring to “Yorum yapın”?

    #518340
    Halil

    Yes I am.

    #518866
    Leo
    Staff
    Customer Support

    Then my CSS should work. However I’m seeing the code being added.

    Any caching plugins?

    #518894
    Halil

    well I purged them several times, tried incognito, restarted the web server, it didnt work.

    I have some other css codes affecting categories etc below the post, , may be it’s related with them?

    #518932
    Leo
    Staff
    Customer Support
    #518944
    Halil

    no it is not !

    “leave a comment” is still there (yorum yap in the page in turkish).

    #518981
    Leo
    Staff
    Customer Support

    Ok you said “yes it is” when I asked if you are trying to hide “Yorum yapın” (the title above the comment box): http://www.screencast.com/t/f1gzOdOBE

    and my CSS did remove that: http://www.screencast.com/t/1bkHNnLfI

    Looks like now you are wanting to hide the button “Yorum Yap”? How are people going to submit comment without the button?

    #519047
    Halil

    sorry, misunderstanding.

    I dont want to hide button in post pages. That’s not I want.

    On my main page, there are posts listing, some have comments some have not.

    If there are some comments just show the number of comments, if not, dont show “leave a comment” (yorum yap) text.

    Just on the home page, not in the post pages, show the number of comments if there are some, dont show text “yorum yap” if there is no comment.

    #519091
    Leo
    Staff
    Customer Support

    Hmm I’m not sure if there is a way to do that.

    Will check with Tom.

    #519332
    Tom
    Lead Developer
    Lead Developer

    I just looked into the internal code here – there’s no way to do this with a filter or CSS.

    You could overwrite the entire function, but I don’t usually recommend that. If it’s super important, we can try to do it.

    Let me know 🙂

    #519355
    Halil

    it’s not very important but I believe gp should have more options to customize post properties, tags, comments, to place / hide /customize them in posts, post listing. I am very happy with gp generally, however all my css lines are about changing post settings, nothing else. jusut my 2 cents for the next version.

    thanks.

    #519870
    Tom
    Lead Developer
    Lead Developer

    You can hide/show post meta using settings, but I agree we need some more settings for placement.

    Thanks!

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