20 reputation
4
bio website
location
age
visits member for 1 year, 7 months
seen Apr 5 '13 at 7:23

Mar
12
awarded  Supporter
Mar
12
comment Selecting related posts
Thanks for your help!
Mar
12
accepted Selecting related posts
Mar
11
comment Selecting related posts
Thanks Michael, link is pastebin.com/WGA2aVbF
Mar
11
comment Selecting related posts
Hi Michael, sorry new here...how to I get to the pastebin!
Mar
11
comment Selecting related posts
Wow thanks for this but it's giving me a syntax error - on a curly bracket after all this code. I cannot spot it - can you help? Thanks again!
Mar
9
awarded  Commentator
Mar
9
comment Selecting related posts
Thanks but I cannot get it to work yet - I have put: if(count($posts)<4){ // your alternative: $posts = get_posts('numberposts=4&orderby=rand&exclude=' . $current_post); } else { $posts = get_posts('numberposts=4&orderby=rand&category='. $category->term_id . '&exclude=' . $current_post); } ....is this the correct way to put as if statement? Thanks.
Mar
4
asked Selecting related posts
Feb
8
comment multiple comment text areas
Thanks, will try and work it out and get back to you.
Feb
8
comment multiple comment text areas
3 textareas to catagorize comments for a review system, thanks.
Feb
8
asked multiple comment text areas
Feb
8
comment Limit user to one comment
btw sorry AndrettiMilas for not crediting but I did already find this code and was the last bit I needed.
Feb
8
awarded  Scholar
Feb
8
accepted Limit user to one comment
Feb
8
comment Limit user to one comment
Thanks! I really need to brush up on this stuff.
Feb
8
comment Limit user to one comment
How would I code the '$post->ID' bit? There are many posts so don't think I can use 'post_id' = 100 - I am calling this from comments.php thanks.
Feb
8
comment Limit user to one comment
Thanks AndrettiMilas but this function works only looking at all posts - I need to modify it to only look at the current post? Thanks.
Feb
7
awarded  Student
Feb
7
asked Limit user to one comment