deadmentor
Forum Replies Created
-
Forum: Hacks
In reply to: Using get_calendar to display previous months?Unfortunately, it looks like this doesn’t quite accomplish what I’d like.
The second month displays posts from both months — in other words, if December and November are the months displayed, the December calendar only shows December posts but the November calendar shows both November AND December.
It’s so close, though! I tried to do what I could, but I couldn’t get very far. Any suggestions?
Best,
OsgoodForum: Hacks
In reply to: Using get_calendar to display previous months?That is fantastic and exactly, exactly what I wanted! Wow. Pat yourself on the back. That’s the best.
Thanks once more for all your time and help. Utterly, utterly great!
Best,
OsgoodForum: Hacks
In reply to: Using get_calendar to display previous months?Really, the most important thing is displaying the two months at once, current and previous. That’s the key. Everything else is dessert!
Forum: Hacks
In reply to: Using get_calendar to display previous months?Yes, ideally I’d like the previous and next links to work in the way you describe, that is showing the previous/next two months. But having those links isn’t THAT important, if it’s too complicated or time-intensive for you.
Again, thank you so much for your help. You’re making my day!
Best,
OsgoodForum: Hacks
In reply to: Using get_calendar to display previous months?That works exactly! Thank you for your help.
Unfortunately, I’ve realized that this won’t accomplish my utmost goal, which is to display two months worth of posts in calendar form, the current month AND the previous month. I thought knowing how to display the previous month would solve my problem, but of course it doesn’t.
I’d be grateful for any help or insight you have into accomplishing this — but you’ve already done so much, and I understand if you’d like to move on.
Regardless, thank you very much for your time and assistance. I learned a lot.
Best,
OsgoodForum: Hacks
In reply to: Using get_calendar to display previous months?Thanks for responding! That makes a lot of sense, but — and I apologize for this — I just don’t know how to do what you suggested. I copied and pasted the code into my functions.php file and renamed the get_calendar function no problem — but that’s as far as I got.
Do you think you could break the rest of it down into steps for me?
Thank you very much for your time and patience!
Best,
OsgoodPS. Also, will this update every month so that it always displays the previous month? That’s important.