WordPress.org

Ready to get started?Download WordPress

Forums

Virtue
[resolved] [closed] Comments function on pages not working (16 posts)

  1. jack_martin_leith
    Member
    Posted 7 months ago #

    I am an experienced WordPress user and have been using Virtue for many months.

    Comments function is working on posts but not on pages, even though "Allow Comments" box is ticked.

    Earlier today I updated Virtue to 1.8.1 and the problem persists.

    Here is a typical page where I need the Comments function to be available: http://www.jackmartinleith.com/timeline/

    Any help will be gratefully received. Thanks.

  2. Kadence Themes
    Member
    Theme Author

    Posted 7 months ago #

    Hey,
    The theme wasn't really designed to have comments on pages. So thats the problem, the code isn't there for this to happen. I'll consider it for an update but currently this isn't possible without editing the theme files.

    Kadence Themes

  3. jack_martin_leith
    Member
    Posted 7 months ago #

    I'm grateful for your response and a little shocked that such a sophisticated theme doesn't allow for comments on pages. It's time we rethought the post/page distinction. Traditionally, pages are for static content and posts for dynamic content, but we need to let go of that idea. http://www.jackmartinleith.com/timeline/ is a page because the dimensions of the timeline image made it necessary to go full width. Otherwise it would have been a post.

    I'll consider it for an update

    That would be lovely. With warm thanks and best wishes from Bristol, UK.

  4. Kadence Themes
    Member
    Theme Author

    Posted 7 months ago #

    Just so you know, you can do a full width post. It's an option on the edit post page :)

    Kadence Themes

  5. jack_martin_leith
    Member
    Posted 7 months ago #

    Thanks, that's good to know. My fix: add a three-field contact form to the bottom of the affected pages. There are only a couple of such pages. I appreciate your earlier responses to my question.

  6. takethecurrent
    Member
    Posted 5 months ago #

    Was this problem addressed in any of the recent updates? I love this theme but, I need to be able to add comments to pages. Please help.

  7. Kadence Themes
    Member
    Theme Author

    Posted 5 months ago #

    If you want to add it yourself you can edit the page template files, just before the closing div add this:

    <?php comments_template('/templates/comments.php'); ?>

    Kadence Themes

  8. takethecurrent
    Member
    Posted 5 months ago #

    Thank you.

    I messed something up. I tried to apply this to the blog page template and now none of the content from the page is showing.

    Is there a way to restore the default or original settings? I think I am making it worse.

  9. Kadence Themes
    Member
    Theme Author

    Posted 4 months ago #

    Just re-download the theme.

    You tried to add the page-blog.php ?

    What line did you add it on?

    This won't work if you make that page your latest posts page in the reading settings of wordpress.

    Kadence Themes

  10. takethecurrent
    Member
    Posted 4 months ago #

    Fantastic! That worked beautifully.

    Thank you so much. Your theme is great.

    If it isn't to much trouble, can you tell me how to change "leave a reply" to say something else?

    Thanks again for all of your help.

  11. Kadence Themes
    Member
    Theme Author

    Posted 4 months ago #

    Yeah you can edit the template file virtue/templates/commments.php line 54.

    Kadence Themes

  12. jacobthelink
    Member
    Posted 1 month ago #

    Can you specify at which line in comments.php you enter <?php comments_template('/templates/comments.php'); ?> ?

  13. Kadence Themes
    Member
    Theme Author

    Posted 1 month ago #

    You don't add that line to the comments.php file.

    You edit the page template files, just before the closing div add this:

    <?php comments_template('/templates/comments.php'); ?>

    Kadence Themes

  14. jacobthelink
    Member
    Posted 1 month ago #

    Thanks very much for your help.

  15. jacobthelink
    Member
    Posted 1 month ago #

    Hello after the latest update of the them the command

    <?php comments_template('/templates/comments.php'); ?> ?

    doensn't work for me. This is the screenshot of my code.
    http://screencast.com/t/TL0pQi7du8G

  16. esmi
    Forum Moderator
    Posted 1 month ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 6 month old resolved topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic