82 comments found

Hi there. Just about to make my site live but had one last to-do. I want to add comments to my portfolio project pages and I saw a year ago you mentioned trying to change the name of single-portfolio to something else (another user had the same comment question). Is there any other way to get comments to work without doing that (as I’m not exactly sure how). I did try and add:

<section id="commentbox">
        <?php comments_template(); ?>

To single-portfolio.php just above the footer but that didn’t do anything. Thanks for your help, and I have to say now that I’ve nearly got everything I want on the site (and working) I truly love the theme. Thanks!



Keep that code in single-portfolio.php as that is correct.

Then open fn.posttypes.php and find the ‘supports’ line in the portfolio post type.

Change it from this: 'supports' => array( 'title', 'editor', 'thumbnail' ),
To this: 'supports' => array( 'comments', 'title', 'editor', 'thumbnail' ),
And then save.

Once you’ve done that you’ll need to manually go through each portfolio item, click the quick edit button and enable comments, see screenshot below.


The reason for this is because you have enabled comments after creating those, any new items you add will automatically have comments enabled.


That was easy! Thanks so much for your help.


You’re welcome.

Hopefully my last two questions: the tagline that I create in Customization, where does that display? I had hoped it displayed under the title, thus showing some text on my portfolio page. If that’s not the case, is there anyone to display text on that left margin under the site title?

And, since I am here, there’s no built in way to denote a project on my portfolio page being new, right? Just a shot in the dark. I can certainly add a visual ‘new’ tag to the Featured Image source image.

Thank you again for all your help!


It doesn’t by default, you can edit the template and use bloginfo description where you want it to show: http://codex.wordpress.org/Function_Reference/bloginfo

You’d need to modify the portfolio to add a “new” tag.