WordPress.org

Ready to get started?Download WordPress

Forums

Mountain Creek
[resolved] Comment ballon (12 posts)

  1. offstockholm
    Member
    Posted 6 months ago #

    When i close the comments, under the Page or the Post, a balloon said "Comments are closed", i erase the text, but i cant erase the balloon, please help!

  2. Tareq
    Member
    Posted 6 months ago #

    Link to site please!

  3. offstockholm
    Member
    Posted 6 months ago #

    http://offstockholmsantikdesign.se/

    Thats the site I'm talking about. I tried to just delete everything under "comments" but that left me with no ballon and no pictures or sitehead on every page.

  4. Tareq
    Member
    Posted 6 months ago #

    Hey, sorry for the late reply. I can only find one way of doing this at the moment but I will keep trying for a more sensible option.

    Open page.php and find the following code:

    <div class="post-wrap rounds single">
        <div class="post rounds">
    	<?php comments_template(); ?>
        </div>
    </div>

    Simply delete that, and the CSS will be removed too, as well as the comment area.

    If you'd like to do it for posts as well, open up single.php and remove the following:

    <div class="post-wrap rounds single">
        <div class="post rounds">
            <?php comments_template('', true); ?>
        </div>
    </div>

    Again, I will stress it's not best practice to be editing theme files directly so I will work on providing an alternative in the meantime. If you haven't already, create a child theme; then, when your theme gets updated you won't lose any edits.

    Be sure to make a backup of your theme before editing, just in case something goes wrong.

  5. offstockholm
    Member
    Posted 6 months ago #

    Wow! omg, thank you.. It actually worked!
    Cheers mate, so nice of you to take your time to help me!

  6. Tareq
    Member
    Posted 6 months ago #

    No problem, did you create a child theme?

  7. offstockholm
    Member
    Posted 6 months ago #

    I tried to look it up cause I ain't very good with codes and stuff. But I gave up before even trying, figured I could avoid updating the theme at all. I guess it's gonna come back to bite me in the ass..
    /Mikaela

  8. Tareq
    Member
    Posted 6 months ago #

    I must say that creating a child can be complex the first time you do it but once you've done 1 it's easy to do the next.

    There's an awesome plugin I use called Orbisius Child Theme Creator. It handles everything for you with just one click which, in turn, saves you a lot of time.

    Of course if you'd rather not create one, just be sure to keep a backup of your theme's directory, or at the very least the files you have edited. You should update themes as they can provide you with new features and bug fixes from a previous version. I will also note that if you update your WordPress installation and do not keep your theme updated, you may find your theme becomes incompatible.

    I wish you every success,

    Regards,
    Tareq

  9. orbisius
    Member
    Posted 6 months ago #

    Tareq, thanks for mentioning my plugin (orbisius child theme creator) again :)

  10. offstockholm
    Member
    Posted 6 months ago #

    Wow, that was also easy haha. Thanks again! You rock (:

    And cheers orbisius for an easy plugin!

  11. orbisius
    Member
    Posted 6 months ago #

    Thanks offstockholm!

  12. Tareq
    Member
    Posted 6 months ago #

    Thanks to both of you!

Reply

You must log in to post.

About this Theme

About this Topic