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");
Quick Links