My WordPress installation prompted me to update to version 7 this evening. Normally these things go off without a hitch, but I had the foresight to run a backup first.
That being said, the few lines of code for my comment counter went missing after the upgrade, which is why you see [my comment counter] and not a number next to the Comments link.
I checked the backup .php file where I thought the counter code had been inserted, but there’s nothing there that references [my comment counter] and after hours of scouring the internet, I can’t find the original source I used and every other solution I’ve found breaks the site completely.
It’s now nearly 1 a.m. and I need to get to sleep.
Maybe I’ll find the original code tomorrow…
[my_comment_count] Comments
