Community Forums › Forums › General Discussion › add a 'leave a comment' link at end of posts
Tagged: comment policy box
This topic contains 6 replies, has 2 voices, and was last updated by karlaarcher 3 months, 2 weeks ago.
-
AuthorPosts
-
February 3, 2013 at 8:47 pm #17748
I’d like to add ‘please leave a comment’ or something of the sort to the end of each post, == linking to the the comments would be even more awesome.
Any thought on how?
February 3, 2013 at 9:25 pm #17765Please post a link to your website. Thank you.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 3, 2013 at 9:25 pm #17767I added the Comments Policy Box code (below) to the functions and edited it (my client really just wants a call to action to leave a comment; doesn’t have to link) but it’s not showing.
/** Add a comment policy box */
add_action('genesis_after_comments','single_post_comment_policy');
functionsingle_post_comment_policy() {
if( is_single() && !is_user_logged_in() && comments_open() ) {
?>
<divclass="comment-policy-box">
<pclass="comment-policy"><small><strong>Comment Policy:</strong>Your words are your own, so be niceandhelpfulifyou can. Please, onlyuseyour real nameandlimit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.</small></p>
</div>
<?php
}
}February 4, 2013 at 6:34 am #17803Morning, sorry I didn’t respond last night! I fell asleep. Anyway, take a look at this, it should help you.
http://my.studiopress.com/snippets/comments/#policy-box
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 4, 2013 at 10:54 am #17909That’s what I added last night, but it didn’t show up.
The thing is, I’d just a link that says ‘leave a comment’ at the end of each post on the homepage and on the blog page that takes you to the individual post page. Right now, on the home page there is nothing below the post and my client is requesting that specifically.
http://www.graspingforobjectivity.com/ is the link.
February 4, 2013 at 11:04 am #17913When I go here – http://www.graspingforobjectivity.com/2013/02/one-thorough-butt-wipe.html I see the comment area… if they were to change the Settings > Discussion to – users need to be logged in to comment – a message will appear to that effect – You need to be logged in to comment.” Also, you can use the Genesis Simple Hooks to get that message to show up. Are you familiar with that?
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 4, 2013 at 11:25 am #17921Thanks Anitac!
I ended up putting [post_comments] in the meta tag. Issue solved. I was totally over thinking this…
-
AuthorPosts
You must be logged in to reply to this topic.