Adding Comments to Main Page
  • KrisBKrisB February 8

    I'm using Magazine Basic and would like a comment button and comment count to show on the main page. I found this old post: http://themes.bavotasan.com/support/discussion/53 but I don't seem to be able to find that code in editor.

    It sounds like I'll need to make changes or add code to the editor. Can you share the magic code? And please spell out exactly where I'd need to put it. Not only where it needs to go within the code, but also which page (style.css? loop.php?) it needs to go on. Many thanks.

    Site: http://www.attainable-sustainable.net/

  • cbavotacbavota February 9

    Open up loop.php and look for this:

    137
    if(pbt_theme_option('dates_index') == 'on') { echo '<div class="date">'; the_time(get_option('date_format')); echo '</div>'; }


    Change it to this:
    137
    if(pbt_theme_option('dates_index') == 'on') { echo '<div class="date">'; the_time(get_option('date_format')); echo " "; comments_popup_link('No Comments', '1 Comment', '% Comments', 'comments-link', ''); echo '</div>'; }

  • KrisBKrisB February 9

    Thanks so much - SO simple with your instructions!

This discussion has been closed.
← All Discussions

Hey there!

Take a look around, and if you would like to add a comment or start a discussion, register by clicking on the button below.

Register

Categories

In this Discussion

Tagged