Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #15020

    After looking through every post here on Facebook comment integration, I still have not found a solution to my problem. I’m trying to use a FB comment plugin and have successfully integrated it (along with making it fluid), but have run out of options on how to completely do away with WP comment content below the FB comment section.

    I found this CSS fix:

    .comment_meta_container,

    .comment_container { display: none; }

    which took care of most of the problem, but I’m still seeing a “comment” horizontal divider with a bunch of empty white space above and below. Here’s the link to the page: http://bertuzziphotography.com/urban-wedding-photos/

    Is there a quick CSS fix to remove the comment divider? And is there a way to remove the WP comment counter at the top of the post? Or possibly even replace it with a count of FB comments?

    *Another thing to note is that this Facebook plugin (SEO Facebook) is only visible when comments are turned on in WP.

    #85891

    Hi bertuzziphotos,

    Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    .comment-entry.post-entry {
    display: none;
    }

    Then open up includes>comments.php and search for the following:

    <?php
    // You can start editing here -- including this comment!

    //create seperator
    if(comments_open() || get_comments_number()) echo avia_advanced_hr(__('Comments', 'avia_framework'));
    ?>

    Remove that block to remove the comment HR separator.

    Regards,

    Devin

    #85892

    Seems to have done the trick! Is there a way to remove the WP comment counter at the top of the post? Or possibly even replace it with a count of FB comments?

    #85893

    Open up angularincludesformat-standard.php and remove following code to get rid of the comment count:

    <?php
    if(comments_open() || get_comments_number())
    {
    echo "<span class='comment-container minor-meta'>";
    comments_popup_link(" <span>0 ".__('Comments','avia_framework')."</span>",
    " <span>1 ".__('Comment' ,'avia_framework')."</span>",
    " <span>% ".__('Comments','avia_framework')."</span>",'comments-link',
    __('Comments Off' ,'avia_framework'));
    echo "</span><span class='text-sep'>/</span>";
    }

    ?>

    #85894

    Is there a way to completely delete the comments sections on the Enfold theme.

    I want to use the posts and portfolio items and bulk headers for the site but don’t want it to have comments or dates listed under head heading or picture.

    Thanks!

    http://wildwoodmethodist.com/missions/

    #85895

    Ok, it appears that I’ve answered my own question by doing one of the things you have listed above.

    Now is there a way to delete the day published from displaying on each post.

    #85896

    Hey,

    You can use this on your custom.css or Quick CSS

    .date-container.minor-meta {
    display: none;
    }

    .date-container.minor-meta + .text-sep {
    display: none;
    }

    Regards,

    Ismael

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

The topic ‘Hiding the WP comment section’ is closed to new replies.