Modify Ribosome Theme

1. Remove the empty comment box

Add two lines.

Ribosome: comments.php

Line 6 and Line 16.

<?php
if ( post_password_required() )
  return;
?>

+ <?php if ( comments_open() || get_comments_number() ) : ?>
<div id="comments" class="comments-area">
  <?php // You can start editing here -- including this comment! ?>

....

 <?php comment_form(); ?>
 </div>

</div>
+ <?php endif; ?>
<!-- #comments .comments-area -->

2. 404 page 100% width

Ribosome: 404.php

 <div id="primary" class="site-content" style="width:100%;border:none;">
 <div id="content" role="main">

 

 

Leave a Reply