Comment Div Showing Always in Page.php

  • Posted in : cvCard WP
  • isaumya
    Participant

    Hi,
    in your theme, the comment div section is showing always. Even if the comment is disabled on that page. I’ve investigated the issue and have seen that in your theme you guys are using this following code to load up the comment section –

    comments_template( “”, true );

    Instead what you should be doing is the following –

    // If comments are open or we have at least one comment, load up the comment template.
    if ( comments_open() || get_comments_number() ) :
    comments_template( “”, true );
    endif;

    Please make this changes in the next update as soon as humanly possible. Otherwise it is showing a div when it is not supposed to show. If you want you can check the coding implementation in the twentyfifteen default theme. I know you will understand.

    Please make the above change in page.php of your theme.

    Mehmet S.
    Keymaster

    Thanks for the feedback.

    isaumya
    Participant

    please make this change in the next update.

    Mehmet S.
    Keymaster

    Added to the update list. Thanks

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register