• Resolved perfectdisguise

    (@perfectdisguise)


    How to I get rid of the “leave a comment” text at the bottom left of the div? I’ve removed the comment box and not allowed user to comment in the discussion settings but it’s still there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    Look for this in your active theme’s templates (single.php, index.php, etc.) and try deleting it:

    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>

    or something VERY similar. Thats what you are looking to delete.

    Also, consider creating a child theme, otherwise all your customization will be ovrwritten when you next update.

    Thread Starter perfectdisguise

    (@perfectdisguise)

    Thanks for your help! I’ve managed to get rid of it now. Yeah I already have created a child theme.

    Thread Starter perfectdisguise

    (@perfectdisguise)

    It only got rid of it on the sample page whenever I create new pages it’s always there, do you know how get rid of them too?

    Thread Starter perfectdisguise

    (@perfectdisguise)

    Nevermind haha I got it, I didn’t realise there was different php files for different pages layouts.

    Moderator t-p

    (@t-p)

    make that code (see my previous reply) is not there in any of the templates your page is linked to.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How can I remove "leave a comment"’ is closed to new replies.