Old comments are not appearing

  • Author
    Posts
  • #5069
    Adam Kazimierczak

    Hello,

    I am using Matra 2.0 and WordPress 3.5.1. Recently I reactivated my blog (kazymjir.com) after a few months break. After making update I noticed that my old comments are not displaying on the page, while there is message saying that I have comments (“X Responses to Y”). While I add new comments everything works properly. All my previous comments was approved and not marked as spam.

    I tried disabling all plugins and problem still persisted. Then I tried to switch to default theme (Seven Eleven) and the comment box displayed correctly.

    After doing some research I found source of the problem, it’s located in database, in “wp_comments table”. The new comments that was showing up correctly have column “comment_type” leaved blank, while the comments that was not displaying had value “comment”. After clearing “comment_type” column for all comments the problem got fixed.

    Please consider examining this problem, maybe you can get it fixed in new release.

    Thank you a lot for your work at the Mantra theme,
    Adam

    #5070
    Adam Kazimierczak

    I just noticed how many grammar mistakes I did. Sorry for my English.

    #5415
    Zed
    Cryout Creations mastermind

    Mantra (and themes in general) doesn’t mess around with anything database related.

    We have been using Mantra and WordPress on this website (and on the previous domain) since Mantra was created… and that was 2 years ago. Old comments are still readable and nothing changed.

    Perhaps you had some comments related plugin that messed with those fields which you uninstalled/disabled in the meantime.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #12220
    Johnathan

    I have this same issue and it just occurred if you visit the site, look at http://www.itsallaboutmusic.net/advertise-with-us/ The air play for bands tab and you cant see any comments unless you click the, # comments if the post has comments then they show up. Did WordPress Change something or is this a theme issue? I searched WP and found nothing.

    Appreciate any feedback.

    Johnathan

    #12221
    Johnathan
    #12222
    Johnathan

    Comment code is below:

    <?php
    
    /**
    
     * The template for displaying Comments.
    
     *
    
     * The area of the page that contains both current comments
    
     * and the comment form.  The actual display of comments is
    
     * handled by a callback to mantra_comment which is
    
     * located in the includes/theme-comments.php file.
    
     *
    
     * @package Cryout Creations
    
     * @subpackage mantra
    
     * @since mantra 0.5
    
     */
    
    ?>
    
    			<div id="comments">
    
    <?php if ( post_password_required() ) : ?>
    
    				<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'mantra' ); ?></p>
    
    			</div><!-- #comments -->
    
    <?php
    
    		/* Stop the rest of comments.php from being processed,
    
    		 * but don't kill the script entirely -- we still have
    
    		 * to fully load the template.
    
    		 */
    
    		return;
    
    	endif;
    
    ?>
    
    <?php
    
    	// You can start editing here -- including this comment!
    
    ?>
    
    <?php if ( have_comments() ) : 
    
    			
    
    	cryout_before_comments_hook(); ?>
    
    	<ol class="commentlist">
    
    			
    
    		<?php cryout_comments_hook(); ?>
    
    	
    
    	</ol>
    
    	<?php cryout_after_comments_hook(); 
    
    ?><?php else : // or, if we don't have comments:
    
    		cryout_nocomments_hook();
    
     endif; // end have_comments() ?>
    
    <?php comment_form(); ?>
    
    </div><!-- #comments --

    >

    #12228
    Johnathan

    Fixed, it was a setting in the Discussion settings.

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

The topic ‘Old comments are not appearing’ is closed to new replies.