Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Post & Comment Counts to the Blogs Loop

  • Avatar of Nm
    nm
    Participant

    @nahummadrid

    Is there any one who has figured out how to add blog data like post count and comment counts to the blogs loop.

Viewing 1 replies (of 1 total)
  • The blogs loop (best called the “site” loop nowadays) just iterates through your sites. You need to do regular WordPress post loops or functions to get those sites’ data. This is of course going to be awfully slow on page load, so I’d cache it somewhere, too.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.