ryangangan 0 Report post Posted June 2, 2011 Last week I posted this question but I never really got anything. I never got any answer. I just WANT 'leave a comment' after my blog post but NOT on every page like 'about or portfolio' I tried almost everything but I can't get anything to work. It's been really annoying. Please help! Share this post Link to post Share on other sites
catrina 103 Report post Posted June 2, 2011 You can disable that on your default pages by unchecking "Allow Comments" in the "Discussion" section of your page editor (below the editor box where you add the page content). 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
ryangangan 0 Report post Posted June 2, 2011 It didn't help but I think I finally figured it out. I played with the functions provided from other threads and check out the php of add-you-comment-link plugin and place if statement. I really don't know any of the function thingy but it worked. I think. add_action('pagelines_loop_post_header_start','my_post_comments'); function my_post_comments($content) { if (is_page()){ //do nothing } else { $content .= '[post_comments one="1 Comment" more="% Comments"]';} return $content; } add_filter('the_content', 'my_post_comments'); Share this post Link to post Share on other sites
ryangangan 0 Report post Posted June 2, 2011 My problem now is, why is it so damn hard to change the font, color, hover for .post-comment did it in style.css, custom css and base.css nothing changed just like the damn metabar which so hard to customise. it's always being overriden by dynamic.css Share this post Link to post Share on other sites
catrina 103 Report post Posted June 3, 2011 I think the correct selector is .post-comments . Also, make sure you're using this CSS: a {color: #COLOR; font-family: FONTNAME;} a:hover {color: #COLOR; font-family: FONTNAME;} 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
ryangangan 0 Report post Posted June 5, 2011 that helped and I added .entry_content before the .post-comment coz it doesn't work without it. Thanks. One more question. I want 'post-comment' to have its own div. Can I do that in the function base? Share this post Link to post Share on other sites
catrina 103 Report post Posted June 5, 2011 I believe it already has its own DIV... unless I'm missing something and you're talking about a different page element. 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
ryangangan 0 Report post Posted June 5, 2011 it's more of a <span>, found it in library and changed it to <div> instead. It kinda worked for some reason, thus I'm happy about it. Thanks very much for ur help.... ^___^ Share this post Link to post Share on other sites