Comments numbering on multiple pages

To fix the numbering, you’ll have to modify the first code to reset numbering via CSS. This way (untested, but you’ll catch the idea 😉 ). <?php if ( have_comments() ) : ?> <h3 class=”com”><span class=”com-titlu”><?php comments_number(‘Niciun comentariu’, ‘Un comentariu’, ‘% comentarii’ );?></span> la: <?php the_title(); ?></h3> <?php $number = intval(get_query_var( ‘cpage’ )) * intval(get_query_var( … Read more

Genesis Child Theme Modifying Comments display

You can use the genesis_post_info and genesis_post_meta filters in your child theme rather than modify the parent theme frameworks files which will be lost when you update Genesis. Remove comments link from post info add_filter( ‘genesis_post_info’, ‘remove_post_info_comments_link’ ); function remove_post_info_comments_link($post_info) { $post_info = ‘[post_date] by [post_author_posts_link] [post_edit]’; return $post_info; } Add comments link to post … Read more

How to output number of comments with link to comments

The problem is that you are echoing inside a string concatenation. Think of echo as something that will always begin on a new line. In most cases it’s wisest to perform any calculations or string concatenations and store the result in a variable, and then call echo $var; on the following line. In this particular … Read more

assumed as comment line

Firstly, in the for there is missing a ‘$’. It should read: for ( $i = 1; $i <= $im; $i++ ). Secondly, in order to use the page link(s), you need to call the function wp_link_pages(). $im = stripslashes( get_option( ‘tm_alim’ ) ); for ( $i = 1; $i <= $im; $i++ ) echo … Read more

is it possible to have the full code instead in the comments.php page

This function replaces the comment author’s link with the comment author’s profile page, if the comment author is a registered user. Otherwise, the standard WordPress comment author link is displayed. This function is not mine and has been found googling. function graphene_comment_author_profile_link(){ /* Get the comment author information */ global $comment; $comment_ID = $comment->user_id; $author … Read more

Facebook comments widget – App ID

You’ll be able to moderate comments. Here’s the relevant quote from the doc‘s Moderation Tools section: Doing this enables a moderator interface on Facebook where comments from all plugins administered by your app id can be easily moderated together. I personally never used the moderation tool, but it is available if you need it, which … Read more