Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello.

    You should have a comments_popup_link in your index.php, you can remove the call, and in single.php and possible page.php remove the comments_template call

    Also, by removing this code 4 times from the loop.php file the “comments off” text was deleted:

    <span class=”comments-link”><?php comments_popup_link( __( ‘→ Leave a comment’, ‘coraline’ ), __( ‘→ 1 Comment’, ‘coraline’ ), __( ‘→ % Comments’, ‘coraline’ ) ); ?></span>

    I hope that helps!

    Thread Starter Joseph Lestingi

    (@tucsondonpepe)

    Hi,
    I edited the files you mentioned.
    The code you mentioned in index.php did not exist.
    I could not find 4 occurrences in the loop.php file.
    The problem persists.
    Need additional help. Thank you.
    Joe
    https://www.joelestingi.com

    Hmmmm. Let me do some more digging. I could try installing your theme. Which is it?

    What theme are you using? Where did you download it from?

    Thread Starter Joseph Lestingi

    (@tucsondonpepe)

    Hi,
    I installed the Adventure Journal theme from the WordPress website. I was able to edit the template-one-col.php to eliminate the words Comments Off and Comments are closed.

    Changes to template-one-col.php
    <?php /*
    * The following code is being eliminated to remove the phrase, “Comments Off”, on the page.
    <div class=”feedback”><?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘adventurejournal’ ), ‘after’ => ‘</div>’ ) ); ?>
    <?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?></div>
    */ ?>

    To be honest, I do not have the knowledge to be making changes in a php file. It would be better if I could control visibility without editing any php file.

    Any help you can provide will be greatly appreciated.

    Joe
    https://www.joelestingi.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comments Off, Comments are closed.’ is closed to new replies.