function – get_calendar()
-
Is it possible to modify get_calendar() function so it wouldn’t call ALL posts for the day?
Website have few thousands posts daily and about 50-60K posts monthly, so archive calendar could load page and DB forever.
All I need is simple check if date have posts or not. Practically every day have posts. In other words need just simple solution for calendar where date work as link to: mydomain.com/date/2015/07/01/ without loading all posts/titles for every date.
Calendar have it own page/template.
Any suggestions or ideas?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘function – get_calendar()’ is closed to new replies.