-
Author
-
April 6, 2015 at 10:59 #53373
taiger
ParticipantHi I tried the code below, but nothing happened.
No comment box etc, any suggestions.
Regards T
———————————————–
Hello,
Here are the steps to enable portfolio comments:
1. You will need to add the following code snippet inside our “kleo-child/functions.php”:
1
2
3
4
add_action(‘init’, ‘kleo_add_portfolio_comments_support’);
function kleo_add_portfolio_comments_support() {
add_post_type_support( sq_option(‘portfolio_slug’), ‘comments’ );
}
2. You will need to add the single-portfolio.php file in your “kleo-child” folder, which you’ll find it attached below.3. Because comments support was disabled until now, under the edit page of a portfolio item you will find a meta box called “Discussion”, and you’ll have to edit each of your previous portfolio posts and enable the comments. All new posts will automatically be enabled by default.
Hope this helped you out, and sorry for the late reply.
CheersAttachments:
single-portfolio.php_.zip
April 6, 2015 at 16:34 #53392sharmstr
ModeratorI just went through the steps on my test site and it worked.
Go through them again and make sure you clear your cache/cdn.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 6, 2015 at 20:35 #53447taiger
ParticipantHi still no joy.
5starweddingmagazine.com/wp-admin
user: seventhqueen
pass. *SeventhQueen!@2009*70!-04-6-$2
FTP Username: seventhqueen@5starweddingmagazine.com
FTP server: http://ftp.5starweddingmagazine.com
FTP & explicit FTPS port: 21pass: *SeventhQueen!@2009*70!-04-6-$2
Thanks Tai
April 6, 2015 at 20:55 #53448sharmstr
ModeratorIts working now. The code that was given in the other example was using the portfolio slug which in most cases will work, but since you have a custom name, it didnt.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.