Author page link in comments is different than in posts?
Use get_comment_author_link() instead of <a href … </a>: echo get_comment_author_link();
Use get_comment_author_link() instead of <a href … </a>: echo get_comment_author_link();
The plugin author has solved the issue. He says: I have encountered this bug before, but I just now realized what’s causing it: the ‘comment_text’ filter is not applied on the updated comment content. The make_clickable() function, which makes the links in the content clickable, is hooked to this ‘comment_text’ filter. Anyway, it’s fixed now: … Read more
If you are 100% sure that is the line you have to change then just create your own function to do the same thing. function my_popup_link() { echo get_permalink() . ‘#disqus_thread’; } Then replace the function call in your template with your own.
Theme comment callback results nothing
Commentform – Hightlight invalid fields instead of prompting towards error page
Display Comment Form on dedicated Page for each post
There’s a filter for that: get_comments_link. Refer to source: return apply_filters( ‘get_comments_link’, $comments_link, $post_id ); In an appropriate place (such as a site functionality Plugin), just add a filter via callback: function wpse123906_filter_comments_link( $comments_link, $post_id ) { // Return your custom link return get_permalink( $post_id ) . ‘#disqus_thread’; } add_filter( ‘get_comments_link’, ‘wpse123906_filter_comments_link’, 10, 2 );
Remove .even & .odd class styles from style.css and use CSS psudo classes. .comment:nth-child(2n) { your styles for even } .comment:nth-child(2n+1) { your styles for odd }
The answer is that you can’t do it without using comments.php. Since WordPress 2.7, comments.php is important to display full features and customizable comments rest if you still want to use <?php comments_template(); ?> then you can edit anything in it except CSS.
You can target your submit button in css like this. This will look for a input element with type=”sunmit” in container id respond. So make sure your container id is respond otherwise change it too. #respond input[type=submit] { /* your styles */ }