Is there a way to have a counter inside wp_list_comments so I can put random content in the middle of the comments list with PHP?
For example: I use wp_list_comments to display 15 comments per page. I want to put a banner every between 5th and 6th comments, a link between 12 and 13th, etc.
Is there a way of doing it with a callback function?
- The topic ‘iterate thorugh wp_list_comments’ is closed to new replies.