WordPress.org

Ready to get started?Download WordPress

Forums

multiple month calendar display? (5 posts)

  1. brett
    Member
    Posted 9 years ago #

    I was wondering if there is a way to display the current month and the next month on a WordPress powered site. I currently have an MT site and there are a couple of things I still need to be able to reproduce in my layout before I switch over. It looks like the only tag the get_calendar() function takes is the length of the abbreviation of the name. I'm trying Kitten's Calendar plugin which helps with the event calendar, but I'd like to display two months, one above the other, like I have on my current site at http://brettly.net/
    Thanks!
    Brett

  2. unoamigo
    Member
    Posted 9 years ago #

    Off the top of my head.
    You should be able to duplicate the get_calendar() function, change it's name, and then just have it return whatever month you want.
    Not sure if your php fluent. If I get a chance I'll take a look at it later tonight.

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    ive been looking for this too. hope to see a reply.... ill hack around with it too

  4. brett
    Member
    Posted 9 years ago #

    I'm not too fluent in php yet so if you (or anyone else) do come up with something, it would be great. I'm going to take a look at the function to see if I can take a stab at it anyways.

  5. brett
    Member
    Posted 9 years ago #

    I was just wondering if anyone has come up with anything on this. I duplicated the function and can call it alongside the original function, but when it comes to getting it to properly display the next month's calendar, I'm stumped. I got the next month's name to display correctly and a future dated post shows up, but for some reason it changed the year to last year and the days start in the wrong spot.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags