[resolved] Post meta gone when disabling comments (2 posts)

  1. bjornsennbrink
    Posted 2 years ago #

    Yes, I tried to post this to CyberChimps┬┤forum but registration was blocked by Sabre. So here we go:

    If you run Responsive 1.9.1 and set comments form to close after X number of days (Settings-Discussion), single post meta is removed all together, not just the comments form. The date and author link is also removed.

    This has to do with how post-meta-page.php is coded. If you open that file you will notice two if statements that do a check if comments are open or closed. If closed the responsive_post_meta_data function is encapsuled too, when it should be located outside of the if statement.

    This was not an issue pre 1.9.0 of Responsive.

  2. Graham
    Posted 2 years ago #

    Thanks for this. I had noticed that happens. I have changed my code for that area to:

    <h1 class="post-title"><?php the_title(); ?></h1>
    <div class="post-meta">
    <?php responsive_post_meta_data(); ?>
    		<span class="comments-link">
    		<span class="mdash">&mdash;</span>
    	<?php comments_popup_link(__('No Comments &darr;', 'responsive'), __('1 Comment &darr;', 'responsive'), __('% Comments &darr;', 'responsive')); ?>
    </div><!-- end of .post-meta -->

    I have had enough of the responsive update mess and am going to rollback to 1.9.1 and stay there.

    By changing the Version number in style.css, WP thinks you are up-to-date.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic