Solarbird (solarbird) wrote,

  • Mood:
  • Music:

the happy dance of coding triumph

So for the longest time, the comments count on the blog page have been totally wrong. A post could have 30 or 40 notes (comments, likes, etc) of various kinds and show up as zero or one comment in both archives and latest-post (“Blog”) views. The correct number would never appear.

For example, the two pictures I posted of George today showed up as zero notes combined; the real number was 14, mostly likes. But if you went to the post view or went directly to the individual post, you’d see everything.

There are reasons for this, having to do with custom comment types and echoing posts around and stuff. I’ve tried to fix it before, to hilarious failure sound effects, but now? I FINALLY HAVE IT YEEEEEEEEEEEEES :D

It still doesn’t count linked comments, which means comments on places like Livejournal and Dreamwidth aren’t included, but those are only linked-to comments anyway, so that’s fair.

Damn, this place has felt inappropriately lonely from the Blog view for a long, long time. Talk about discouraging new people from interacting!

Oh, hey, also – I have a mobile theme (Carrington) that kicks in on small devices. Mobile users, are you okay with that thing? It’s incredibly hard to customise so I haven’t. I could turn it off entirely, and you’d get the desktop view on your phone, but that’s… not super-optimal either. Any thoughts? (She asked on a Friday afternoon, when nobody reads anything… XD )

(I will say this for Carrington: it has counted comments correctly the whole time. So there, WordPress! XD )

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

Also posted to ソ-ラ-バ-ド-のおん; comment count unavailable comments at Dreamwidth.

Tags: and they said i was mad, awesome, webpage
  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded