How to Enable Comments in the Portfolio Post

Intro

The following steps are specific to Gigawatt but can be applied to other themes using the standard Portfolio post type (Knead, Press Two, Personal, TinyBlog, Waves, Dynamo) Go to Appearance → Editor and click on fetch-portfolio.php Look for the following code, which is right around the closing </ul> of your main portfolio image container or […]

Solution

The following steps are specific to Gigawatt but can be applied to other themes using the standard Portfolio post type (Knead, Press Two, Personal, TinyBlog, Waves, Dynamo)

  1. Go to AppearanceEditor and click on fetch-portfolio.php
  2. Look for the following code, which is right around the closing </ul> of your main portfolio image container or column.
    <?php endforeach; ?>
    
    </ul>
  3. Place your cursor before the closing </ul> and hit enter to create a blank line.
  4. Copy and paste the following into that blank line
    <?php if(comments_open()){comments_template();} ?>
  5. You should now have
    <?php endforeach; ?>
    <?php if(comments_open()){comments_template();} ?>
    </ul>
  6. Click Update File

Get 15% off!

Signup and get 15% off any of our Ghost or Framer themes immediately