blank page after submitting a comment
Problem solved. It was an unclosed div. Lesson learned: first validate your code completely, then ask for help 😉
Problem solved. It was an unclosed div. Lesson learned: first validate your code completely, then ask for help 😉
Try the Web Ninja Comment Count Fixer plugin http://wordpress.org/extend/plugins/web-ninja-comment-count-fixer/
Seems I fixed it myself, I had to call <?php global $withcomments; $withcomments = 1; comments_template(‘/comments.php’, true); ?> as I am filtering comments by type: <?php wp_list_comments(‘type=comment&callback=jennygg_comment’); ?>
I don’t think you’re passing arguments correctly to paginate_comments_links(). The function is basically a wrapper for paginate_links(), and accepts the same array of arguments. Here are the defaults: <?php $args = array( ‘base’ => ‘%_%’, ‘format’ => ‘?page=%#%’, ‘total’ => 1, ‘current’ => 0, ‘show_all’ => False, ‘end_size’ => 1, ‘mid_size’ => 2, ‘prev_next’ => … Read more
I guess you use the comments loop(?). If so, you could Possibility A count the comments first, set $i = 0; before the loop and $i++ at the beginning/inside the loop and then attach your needed id when `if ( $count < $i ) $css_id = “id=’last-comment’”. Possibility B You could take the comments object(?) … Read more
Since you’re listing pings separately from comments, you probably need to filter get_comments_number to exclude pings. Here’s how I do it: <?php function oenology_comment_count( $count ) { // Only filter the comments number // in the front-end display if ( // WordPress conditional that returns true if // the current page is in the WP-Admin … Read more
I’ve done exactly something similar. First, use get_comment_meta for getting the per comment rating, you don’t need the SQL for it. Then get the average rating (addition of individual comment ratings on a single post / number of comments on this post). Then store this average value as post meta for this post. Use WP_Query … Read more
This issue may be the same over here: http://core.trac.wordpress.org/ticket/17767 Its currently submitted as a bug and hasn’t been fixed yet. You can give the supplied attachment a go to see if it fixes the issue for you. <description>Ou mettre des – Ã la place des – Mais oui la solution de rcommande fonctionne bien :)</description> … Read more
Two separate parts to consider: comments / trackbacks and archive pages. If you don’t enable comments and trackbacks, no links will exist for them, thus a 404 or redirect won’t be necessary. You can’t link to something that isn’t there 🙂 As for the archive pages, WP will create those whether you want them or … Read more
1+2. what about the janrain engage plugin: http://wordpress.org/extend/plugins/rpx/ 3. subscribe to comments plugin mentioned by @chip bennet 4. chris pearson discusses flat, but referenced comments : http://www.pearsonified.com/2007/11/professional_stylish_comments_for_blogs.php i’m not aware of any automated way to implement this, but i think it is a great idea 5. unsure