WordPress RSS für Comments

Ich wollte den Hack einfach mal festhalten, falls man ihn nochmal brauchen sollte.

This is the tricky way to solve:
Open the wordpress file wp-includes/comment-template.php and search for this line contained inside the function get_comment_link():


return add_query_arg( 'cpage', $args['page'], get_permalink($comment->comment_post_ID ) ) . '#comment-' . $comment->comment_ID;

the tricky way is to substitute the above with this code:


return add_query_arg( 'amp;cpage', $args['page'], get_permalink( $comment->comment_post_ID ) ) . '#comment-' . $comment->comment_ID;

Save and overwrite the original comment-template.php file with the new edited: enjoy now your wordpress comment feed correctly resumed.

8 Kommentare

  1. Ich hab mal ein wenig rumgegooglet. Und dann bin ich auf einer Seite gelandet, wo die ganzen Standard-Feed-Links drin waren.

  2. komisch… warum war denn dein letzter kommentar hier nicht freigegeben? O.o

    vor allem meine ich, dass ich ihn schonmal gesehen/gelesen habe

Schreibe einen Kommentar