WordPress.org

Ready to get started?Download WordPress

Forums

Comment Link on Posts page - Origami theme (3 posts)

  1. huntershooter
    Member
    Posted 1 year ago #

    New WordPress user here and I'm using the same theme Origami.
    I could have sworn there was a Comment link below every post initially, then after fudging around for a few things getting it how I like I realise that it is a) No longer there or b) Never was there.
    Having said that I feel that I'd like the option for a comment link beneath each post.

    I tried pasting <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> in what I thought was an appropriate place in loop.php but obviously it is not right.

    Can someone help?

    Cheers,

    Jon
    PS: Site is huntershooter.com.au

  2. huntershooter
    Member
    Posted 1 year ago #

    OK, found this code

    <?php if(is_singular()) : ?>
    				<div id="single-comments-wrapper">
    					<?php comments_template() ?>
    				</div>
    			<?php endif; ?>

    which seems to be testing for whether it is a single post page and then displaying the comment form.
    So, anyway of offering a comment link on the posts page? I ask because it doesn't seem obvious to me that a viewer has to click either the post title to go to a single post page in order to leave a comment. Even when there are existing comments as indicated below the post title, a viewer can't even click that to go to the comments. So changing that would be good too.

    Jon

  3. ricjo
    Member
    Posted 1 year ago #

    Hi,

    I've also got Origami and having been trying for ages to display comments in home page, but to no avail. You've gotten a bit further than me though, by being able to display your comments count in your home page (well done!). Any chance you can point out how you did that?

    Thanks!

    Ric

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags