Remove Leave a Reply box, Keep Facebook Comments?

Have tried multiple variations on this quest, but cannot achieve. Any suggestions on permanently removing the Leave a Reply box, but still keeping the Facebook comments box? It is annoying to have both on the same page, directly underneath each other.

  • 3SixtyEvolve
    • New Recruit

    Hi @Buddha

    Have you tried deleting the <?php comments_template('', true); ?> line from the page.php/ single.php/ index.php?

    If you have a child theme you can work the change in there so you won't have a problem when updating your theme. It's always better to make changes on the child theme rather than the core theme files.

    Let me know if this works for you or if you need any further assistance.

    Have a great day!


  • Timothy
    • Chief Pigeon

    Hey there.

    Sorry about the delay here!

    If you take a peek in the admin area of Ultimate Facebook under the comment section.

    You will then see an option "Override WordPress discussion settings" this should do what you need:

    By default, Facebook comments will appear in addition to WordPress comments.

    Check this box if you wish to disable WordPress comments, but still allow Facebook Comments.

    Note: if you enable this option, Facebook Comments will always appear, disregarding any WordPress settings.

    If you still have issues then another option is to remove the code Gina mentioned and then use your own hook:

    <?php do_action(&quot;wpmdev_ufb_hook&quot;);?>

    And add "wpmdev_ufb_hook" to the hook on that same tab. Screen attached to show.

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.