• Resolved autoinflammatoryuk

    (@autoinflammatoryuk)


    Is there a way to remove the “No Comments” when posts have no comments or when there is no commenting allowed on posts?

    Thanks in advance again for your help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    If you want to remove ‘No Comments’ from home blog you need to edit elixar\section-parts\section-blog.php file.

    Go to line number 74 and find below line of code

    <p><?php esc_url(comments_popup_link(esc_html__('No Comments', 'elixar'), esc_html__('1 Comment', 'elixar'), esc_html__('% Comments', 'elixar'))); ?></p>

    remove code and save changes.

    Thank you

    Thread Starter autoinflammatoryuk

    (@autoinflammatoryuk)

    Thanks. That didn’t work for me. It is not such a big deal anyway.

    Great customer support.

    Hi,

    you can try below CSS rule. This will remove ‘No Comments’ from home blog

    .e-post-meta-part li:nth-child(5) {
    display: none;
    }

    If you issue is something else please provide the screenshot of issue

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No Comments on Blog Posts’ is closed to new replies.