I’m trying to add a comments-number for the wordpress recent comments-widget, but with the function from wordpress codex, “get_comments_number()”, it displays “0” every time, despite comments are beeing present on the posts.
My small hack for the “default-widgets.php” currently looks like this:
(@tremolo0)
10 years, 7 months ago
Hi,
I’m trying to add a comments-number for the wordpress recent comments-widget, but with the function from wordpress codex, “get_comments_number()”, it displays “0” every time, despite comments are beeing present on the posts.
My small hack for the “default-widgets.php” currently looks like this:
help is much appreciated