Follow

Add comments to some of “portfolio” pages

This feature is not implemented in this theme but you can do it by this way:
1. Find file functions.php (wp-content\themes\oceanplaza). In this file find a part of code

# Create admin portfolio section

and replace string

'supports' => array('title', 'editor', 'thumbnail')

with

'supports' => array('title', 'editor', 'thumbnail', 'comments')


2. Find file one-single-portfolio.php (goto Appearance=>Editor) and in this file add string

<?php comments_template(); ?>

after

<?php the_content(); ?> 

3. Find file pop-single-portfolio.php (goto Appearance=>Editor) and add string

<?php comments_template(); ?>

after

<?php the_content(); ?>

4. Now you can add comments to your portfolio page 

->


And you should get in new tab and in popup.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.