« See all FAQs for Blogga - Team Blogging for WordPress

How to move the comments below the post and get rid of the comments tab.

For this to happen, we need to do some changes to two files. Locate them and open them with a text / code editor of your choice: single.php and template_parts/single-wide.php.

First, go into single.php and find on line 9-13 this code:
$tabs = array_merge($tabs, array(
    'comments' => _x('Comments', $bSettings->getPrefix()),
    'similarposts' => _x('Similar Posts', $bSettings->getPrefix()),
 ));

You might see where this is going. Delete line 10 to get this result:

$tabs = array_merge($tabs, array(
    'similarposts' => _x('Similar Posts', $bSettings->getPrefix()),
 ));

That helped us get rid of the comments tab. Now we need to add the comments functionality below the post section.

Open single-wide.php

Find lines 41-44:

    <div class="content_nowidth">
        <?php the_content() ?>   <!-- / 50 words --> <br />

    </div>

Now, add some code, so it will look like:

    <div class="content_nowidth">
        <?php the_content() ?>   <!-- / 50 words --> <br />

        <?php include 'single-comments.php'; ?>
    </div>

Thats all you need. But you might want to add some heading to introduce your comments – or the break will be pretty harsh.

    <div class="content_nowidth">
        <?php the_content() ?>   <!-- / 50 words --> <br />

        <h2><?php _e('Comments', $bSettings->getPrefix()) ?></h2>
        <?php include 'single-comments.php'; ?>
    </div>

That should be all. If you have further questions, feel free to ask us through our profile page or the comments page on themeforest – or in our support forums.

by
by
by
by
by
by