Jump to content
Sign in to follow this  
marolle

Move leave a comment under the post

Recommended Posts

marolle

I would like to have the "leave a comment" under the post, instead of before the post. You know like they have on blogger. people tell me its hard for them to find, because they are used to see it under the post on other blogs. Is there an easy way to do this ? I can edit in the code, I just need to know what to do :)http://marolle.com/blog/

Share this post


Link to post
Share on other sites
Kate

Hi Marie, That "Leave a Comment" is actually part of a function. (You can find it in template.postloop.php.) If you move it, it will also display the other items, unless you use a filter. The other option is to hide it up there (either using a similar method or via CSS), and then manually adding a link below the posts with a link to the comments section. Make sense?

Share this post


Link to post
Share on other sites
marolle

Hi Kate, thanks alot for your answer. Uhm it makes sense, but I really dont know how to do it :(

Share this post


Link to post
Share on other sites
Kate

Hi Marie, Which option would you like to use?

Share this post


Link to post
Share on other sites
marolle

i dont know what you mean with "it will display the other items" ? which items is it that will be moved ? maybe its the easiest to hide it and make a link under the post ?

Share this post


Link to post
Share on other sites
cmunns

I think you can actually use this shortcode in the post edit screen to create a link on the bottom `[post_comments]`

Share this post


Link to post
Share on other sites
marolle

thanks Adam :) but where do I find the "post edit screen" ?? Sorry im such a newbie :(

Share this post


Link to post
Share on other sites
marolle

and another question, can I make the text bigger ? (the text with "leave a comment"). It seems people have a hard time finding it. On everyone elses blogs it is at the bottom.

Share this post


Link to post
Share on other sites
catrina

The post edit screen is the text editor where you edit the post. You can make the text bigger by adding this code to your custom CSS area:

span.post-comments a:link {font-size: 16px;}

You may increase the size by increasing 16.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
marolle

thanks alot for all your help, but I really have no clue how to make it :( I guess I just have to leave it there...

Share this post


Link to post
Share on other sites
marolle

omg, im so lost!! but I did manage to increase the text with " leave a comment ". WHERE do I find the post editor ? do I find it under settings in my control panel ?

Share this post


Link to post
Share on other sites
cmunns

No the shortcode we gave is meant to be used on the same exact screen you use when you are writing an actual post, does that make sense?

Share this post


Link to post
Share on other sites
marolle

THANK YOU! Yes, i understand, and I've just tried and it works :) but then it will be both on top and at the bottom ? and I have to do it each time I make a post ?

Share this post


Link to post
Share on other sites
timlinson

This filter should automatically add `[post_comments]` for you at the bottom of every post.. you can add it to the platformbase/functions.php file: ` function marie_post_comments($content) { ? ? ? ? $content .= '[post_comnments]'; return $content; } add_filter('the_content', 'marie_post_comments'); `

Share this post


Link to post
Share on other sites
smicky

Tim, I was just looking for a solution to this same problem and it appears you have it! 1 quick question, Does the "marie" in function marie_post refer specifically to the marie that posted the original problem or is that universal? the blog I am working on currently that needs this fix is http://www.chickandbee.com

Share this post


Link to post
Share on other sites
catrina
Does the "marie" in function marie_post refer specifically to the marie that posted the original problem or is that universal?
I believe it refers to the Marie that posted the original problem.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
smicky

SO the code I would need would be what? function ????_post_comments($content) { $content .= '[post_comnments]'; return $content; } add_filter('the_content', 'marie_post_comments');

Share this post


Link to post
Share on other sites
catrina

Hm, you can try adding that code Tim posted with "marie" in it (it may not make a difference, but I'm not sure). If it doesn't work, let us know.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
smicky

Catrina & Tim, This worked like a charm! (Once I changed the misspelling on the second line ;) ) Thanks so much!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×