Full Post on blog is missing comments

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2025 Reply

    Anonymous

    So, I just converted my blog over to the asteroid wordpress theme, and then decided I didn’t like the default “read more” setup.   So I set Post Display on Blog View to Full Post.   It shows the full post, and looks fabulous.  But, it doesn’t show the viewer if there’s any comments on the post, and there’s no spot to leave a comment either.   This is kind of a big problem, and I imagine there’s a workaround but I don’t know what that might be.

    #2026 Reply

    Anonymous

    Note:  the recent comments do show up in the right sidebar, but try as I may I can’t get them to show up on the posts themselves.

    #2028 Reply

    Ron
    Keymaster

    The default behavior of WordPress doesn’t allow for the comments or the comment form to show on non-single pages like on a blog. You could however add links that would take the reader to the comments area of the single post. I’ll add this on the next update.
    In the mean time you can use a child theme then add this code at the bottom of the loop.php just before the tag.

    <div class="comment-links">
    <a class="comment-count" href="<?php the_permalink(); ?>#comments-wrap" ><?php comments_number(); ?></a>
    <a class="right" href="<?php the_permalink(); ?>#comments-wrap" >Leave a Reply</a>
    </div>
    #2029 Reply

    Anonymous

    When i put that code in loop.php, it kills the entire blog (none of the entries show up at all), no matter where in the file I put it.  Are you sure there’s not anything wrong in that code?

    #2030 Reply

    Ron
    Keymaster

    Sorry the formatting added some space.
    This is how it should look like loop.php

    #2031 Reply

    Anonymous

    Beautiful, thank you 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Full Post on blog is missing comments
Your information: