Comment Plugin Help
Viewing 6 replies - 1 through 6 (of 6 total)
-
Nobody can see your code in a picture…
the code is:
function mdv_comment_plugger($before = '', $limit = 20) { global $wpdb, $id; $commenters = $wpdb->get_results("SELECT comment_author, comment_author_email, comment_author_url, UNIX_TIMESTAMP(comment_date) AS unixdate FROM $wpdb->comments WHERE comment_post_ID='$id' AND comment_approved = '1' AND comment_type <> 'pingback' AND comment_type <> 'trackback' GROUP BY comment_author_email, comment_author ORDER BY comment_date DESC LIMIT $limit"); if ($commenters) { $output = ''; $commenters = array_reverse($commenters); // Reserve the order so most recent commenter is last in the array foreach ($commenters as $commenter) { if (!empty($commenter->comment_author)) { if (!empty($commenter->comment_author_url)) $output .= ' <a href="' . $commenter->comment_author_url . '" title="Visit ' . $commenter->comment_author . '">' . $commenter->comment_author . '</a>, '; else $output .= '' . $commenter->comment_author . ', '; } } echo $before . '<ul>' . $output . '</ul>'; } } ?>I meant: give us a link. We need the output and the stylesheet. And don’t paste it here – nobody will read it.
We can look at it on your site.okay, my site is
http://lovecatalyst.org/Here is your problem:
Commented: <ul> <a title="Visit janelle" href="http://phinkness.com">janelle</a>, <a title="Visit Brenda" href="http://insanitykills.org">Brenda</a>, <a title="Visit Kelly" href="http://12string.org">Kelly</a>, </ul>to correct:
add in your css fileul { display:inline; margin:0px; padding0px; }thank u so much ur a life saver!
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Comment Plugin Help’ is closed to new replies.
(@christinexo)
18 years, 5 months ago
Okay, I got everything to work, but, i can’t seem to make it align right with the word Commented does anybody know what I should do ??
http://img517.imageshack.us/img517/2457/pluginup5.jpg
^^ thats the picture