• Resolved offstockholm

    (@offstockholm)


    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!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Tareq

    (@worthingtech)

    Link to site please!

    Thread Starter offstockholm

    (@offstockholm)

    https://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.

    Tareq

    (@worthingtech)

    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.

    Thread Starter offstockholm

    (@offstockholm)

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

    Tareq

    (@worthingtech)

    No problem, did you create a child theme?

    Thread Starter offstockholm

    (@offstockholm)

    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

    Tareq

    (@worthingtech)

    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

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

    Thread Starter offstockholm

    (@offstockholm)

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

    And cheers orbisius for an easy plugin!

    Thanks offstockholm!

    Tareq

    (@worthingtech)

    Thanks to both of you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Comment ballon’ is closed to new replies.