Diwali Offer 20% offUse Coupon Code Diwali2021 shop Now

How can we help?

Change Default Events Listing View

WP Event Manager tutorial shows how to Change Default Listing View of Events

Show default events listing view

  1. Apply layout via shortcode,
    [events layout_type="box"] //values for layout type: box,list
  2. Apply layout via js,
    /** You need to put code in theme .js file**/
    //if you want to set line layout default then apply this   
    localStorage.setItem("layout", "line-layout"); 
    //Calendar Layout : 
    localStorage.setItem("layout", "calendar-layout"); 
    //Box layout 
    localStorage.setItem("layout", "box-layout");
Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Quick Links