• Resolved tinabeans

    (@tinabeans)


    Hmm.. another thing I need help with: does anybody know how to get the list and grid views to display on one page?

    Basically I added a sidebar to my grid view (calendar) template and in it I plopped the Events List widget. But this broke my calendar view in that it won’t display past entries, nor would the drop down menus navigating to other months work. Something to do with using the events loop twice on the same page, perhaps?

    Any way around this? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tinabeans

    (@tinabeans)

    Upon further experimentation, it seems like you CAN run The Loop multiple times on each page, but it makes the page sloowww.

    I have no trouble fetching a list of events using while(have_posts()) twice on a page. It’s really just the events list widget that seems to break the big calendar…

    Thread Starter tinabeans

    (@tinabeans)

    OK, I figured this out through sheer experimentation. And I have no idea why or how this works, but the event list widget ONLY works if it comes AFTER the main grid calendar in gridview.php.

    I wish I knew why!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: The Events Calendar] How to show both list and grid view on same page?’ is closed to new replies.