Disabled comments bug on Sumanasa Design02 1.0 Theme by Sumanasa.com

Written by James McDonald

June 20, 2007

Problem: Disabling comments causes right sidebar to start below left content section and to lose formatting
Cause: comments-nice-bg and comments-nice divs are repeated cause the close tags to be in the wrong spot

Resolution:

Firstly make sure that your wp-content/themes directory is writeable by your webserver
chown apache:apache path/to/themes -Rv

Next. In wordpress admin console open Presentation => Theme Editor ==> Comments (located in right side bar under ‘Sumanasa Design02’ theme files)

Find the following section and comment out the two offending divs

<?php else : // comments are closed ?>
<!-- If comments are closed. -->

<!-- removed by james so that the search bar wasn't at bottom of page
<div class="comments-nice-bg">
<div class="comments-nice">
-->
<div class="postinput">

<p class="nocomments">Comments are closed.</p>

<?php endif; ?>

Note: You can edit the file on the hard disk by going to /path/to/wordpress/wp-content/themes/sumanasa-design02-10/ and opening comments.php

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Docker on Fedora 32

Docker on Fedora 32

Commands to run to get moby-engine running on Fedora 32 # as root or sudo'd dnf install grubby grubby...

PDF Poster

PDF Poster

Start with a wide long image. This is just a screen shot of my desktop. widescreen.png Convert it to postscript using...