Customizing Most Recent Comments
-
Hello All.
I am using p2 1.1.3 and I have been trying to customize the recent comments widget to only show comments from a certain page.
I have been successful in modifying the SQL query in the inc/widgets/recent_comments.php by adding the page ID i would like to take comments from. These specified comments only show however on page refresh.
But, when I change the SQL query in inc/ajax.php for the ajax comment update, it breaks all ajax commenting on the posts. I understand why this is happening because I am calling a specific Page ID for the comments.
I see that all recent comments use this same ajax code. So my question is, is there a way to separate it out so that post comments and the recent comments widget are not interconnected with the same ajax code?
The topic ‘Customizing Most Recent Comments’ is closed to new replies.