This topic has 6 replies, 3 voices, and was last updated 9 years by sharmstr.

  • Author

    Tagged: ,

  • #26036
     sharmstr
    Moderator

    If there are no comments on a post, the hr-title separator will not display. In comments.php, you have the hr tag after ‘if have_comments’. It should be moved above ‘if have_comments’ to properly display “0 comments”.

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #26144
     Abe
    Keymaster

    Hi, Thanks for pointing this out. I have change this and will be available in next update.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #26196
     sharmstr
    Moderator

    Anytime.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #29623
     kcurlsjr
    Participant

    After updating Kleo to 2.0, blog posts that have comments disabled now shows a 0 Comments divider. Is there a way to hide it?

    #29702
     sharmstr
    Moderator

    Right. Hmmm.

    Can you try changing line 24 of /kleo/comments.php to

    COPY CODE
    
    
    <?php if ( comments_open() ) : ?>
         <div class="hr-title hr-long"><abbr><?php comments_number(__('0 Comments', "kleo_framework"), __('1 Comment', "kleo_framework"), __('% Comments', "kleo_framework") ); ?></abbr></div>
    <?php endif; // comments_open() ?>
    
    

    and saving it to kleo-child/comments.php?

    Basically I just added a check to see if comments were allowed.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #29859
     Abe
    Keymaster

    Hi, we fixed this and will be available in 2.0.1
    We have changed comments.php line
    if ( post_password_required() ) {

    to

    if ( post_password_required() || ! comments_open() ) {

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #29866
     sharmstr
    Moderator

    Excellent. Thanks.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?