Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #7457

    Hey guys,

    A couple days ago I picked up this amazing theme and I’ve been customizing it a bit. However, I don’t develop nor do a lot of code so I haven’t been able to figure this one out.

    I’m trying to add a similar comment area as the blog has, but to the portfolio. I’m using a dynamic template that I’ve put together with the template builder. How do I do this? I’ve tried to add this code in the single-portfolio.php doc but it ain’t working.

    “comments.php”comments_template( ‘/includes/comments.php’);

    Anything I’ve forgot about?




    in single-portfolio.php replace:

    //show related posts based on categories if there are any
    get_template_part( 'includes/related-portfolio-posts');


    //show related posts based on tags if there are any
    get_template_part( 'includes/related-posts');

    //wordpress function that loads the comments template "comments.php"
    comments_template( '/includes/comments.php');

    Please note that dynamic template don’t support comments.


    Thanks Dude! :) It’s working to 100% now!

    Have a great day!


    Glad that I could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How do I add comments to portfolio?’ is closed to new replies.