• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

After update Comments displayed columns of 10

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › After update Comments displayed columns of 10

This topic is: resolved

Tagged: comments, social

  • This topic has 1 reply, 1 voice, and was last updated 5 years, 5 months ago by Nick Cernak.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 8, 2016 at 1:26 pm #197277
    Nick Cernak
    Member

    Hello,

    I recently updated the website http://www.moonaliceposters.com to WordPress 4.7, it uses the Genesis child theme News Pro.

    After the update, everything looks good except the Comments section which now displays some of them smashed together, it appears in columns of 10. You can see an example on any blog post including http://www.moonaliceposters.com/11-18-16-sweetwater-music-hall-mill-valley-ca-poster-by-alexandra-fischer/

    I suspect a plugin that I used in the past that is no longer being supported might be to blame. I deactivated 'Social' but it did not fix the issue. Per the 'Social' plugin by MailChimp: On Feb. 10, we'll be retiring Social so we can focus on new projects. It will be removed from the WordPress Plugin Directory, and support for the plugin will no longer be available. The plugin link http://mailchimp.com/social-plugin-for-wordpress/ has been taken down so that is a dead end.

    Has anyone else had this experience?

    Thank you for any assistance.

    http://www.moonaliceposters.com/11-18-16-sweetwater-music-hall-mill-valley-ca-poster-by-alexandra-fischer/
    December 8, 2016 at 2:20 pm #197304
    Nick Cernak
    Member

    I had an issue with this plugin and theme back in 2014 and found the solution in a saved email and wanted to add it to this since this code was changed in the child theme and might be causing the issue with the comments.

    "I wanted to see if these comments were "comments" or "trackbacks" so I left the search terms in place and switched to "comments" only but got nothing back from the search. I thought it was a trackback so...
    I switched to view "pings" only and it didn't return anything.

    I found this odd and double checked by switching back to all comments again and it gave me all the comments again.

    This means that the plugin that added the "comments" either did it incorrectly on accident and didn't specify the type of comment or it did it incorrectly on purpose, by creating it's own "type" of comment.

    In the TwentyFourteen theme it works because they don't differentiate between comments and trackbacks. In Genesis we do load comments and trackbacks separately. This means this third comment type or undefined comment type isn't loading.

    If the plugin created the comments correctly it wouldn't matter, but they didn't make the comments correctly so it causes problems in themes that do anything other than list the default undifferentiated comments.

    Please try adding this code to your child theme functions.php file
    remove_action( 'genesis_pings', 'genesis_do_pings' );
    add_filter( 'genesis_comment_list_args', 'child_comment_list_args' );
    function child_comment_list_args( $args ){
    unset( $args['type'] );

    return $args;
    }

    This code will combine all different comment types and makes sure the trackbacks aren't listed twice."

    Could the code above that was added to the functions.php be causing this issue?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble