Community Forums › Forums › Archived Forums › Design Tips and Tricks › How can I move to the bottom the Post Byline (date, etc… link before content)?
Tagged: comments link, post byline
- This topic has 9 replies, 3 voices, and was last updated 12 years ago by
Chris Moore.
-
AuthorPosts
-
December 4, 2013 at 1:15 am #76913December 4, 2013 at 12:12 pm #76999
nutsandbolts
MemberCan you post a link to your site? It's always easier to help when we can see the theme you're using, what's going on in your stylesheet, etc.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+December 4, 2013 at 12:19 pm #77002December 5, 2013 at 12:04 am #77139nutsandbolts
MemberIf you install the Genesis Simple Edits plugin, you can choose what appears in the post meta (before post) and post info (after post). Hope that helps!
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+December 7, 2013 at 1:30 am #77510Gordy
Memberam using Genesis Simple Edits plugin and I have the followings :
Post Info : [post_date] By [post_author_posts_link] [post_comments] [post_edit]
Post Meta : [post_categories] [post_tags]
And when I removed : [post_comments]
The comment link is still showing on the site.
What else do I need to do?
December 7, 2013 at 10:26 am #77547nutsandbolts
MemberTry pasting this into functions.php:
add_filter( 'genesis_post_info', 'sp_post_info_filter' ); function sp_post_info_filter($post_info) { if ( !is_page() ) { $post_info = '[post_date] by [post_author_posts_link] [post_edit]'; return $post_info; }}
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+December 29, 2013 at 11:52 am #81856Gordy
MemberI pasted the code you gave but, there was no change. But, I actually have the code below in the Genesis Simple Hooks. Could you please tell me what I need to edit to be able to remove the "Leave a comment" on my site?
<div class="post-info">
<span class="time"><?php the_time('F j, Y'); ?></span> <span class="author">by <?php the_author_posts_link(); ?></span> <span class="post-comments">#respond"><?php comments_number('Leave a Comment', '1 Comment', '% Comments'); ?></span> <?php edit_post_link('(Edit)', '', ''); ?>
</div>Question:
What should I edit in the code above to remove the "Leave a comment" on my site?December 29, 2013 at 12:42 pm #81863Chris Moore
MemberHello Gordy,
Try removing this (be careful to be precise though ;-)):
<?php comments_number(‘Leave a Comment’, ’1 Comment’, ‘% Comments’); ?>Is that what you are looking for?
Resepctfully, Chris Moore
Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.comDecember 29, 2013 at 2:07 pm #81894Gordy
MemberThanks, Chris Moore. It worked. And I hope that, it will not conflict with any other function on the website, other than to remove the "Leave a Comment" before post content. ?
December 29, 2013 at 2:10 pm #81898Chris Moore
MemberAwesome. Glad to hear!
In general, no, I don't think it should be a problem. But always double and triple check (and on mobile devices as well)!
Resepctfully, Chris Moore
Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.