WordPress.org

Forums

Nebula Facebook Comments
[resolved] Why is this showing up on 'pages' also? (2 posts)

  1. boybawang
    Member
    Posted 1 year ago #

    The FB social plugin is showing up on my posts correctly, but for some reason is also showing up on a few of my pages. Why is this and how can I prevent it from showing on pages?
    Thanks!

    https://wordpress.org/plugins/nebula-facebook-comments/

  2. boybawang
    Member
    Posted 1 year ago #

    I found a workaround. Find the line on comments.php that says:

    <?php if( comments_open()) : ?>

    and replace with:

    <?php if( comments_open() && !is_page()) : ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Nebula Facebook Comments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.