WP Event Manager tutorial shows how to Change Default Listing View of Events.
Show default events listing view
- Apply layout via shortcode,
-
[events layout_type=
"box"
]
//values for layout type: box,list
- Apply layout via js,
WP Event Manager tutorial shows how to Change Default Listing View of Events.
[events layout_type=
"box"
]
//values for layout type: box,list
/** 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"
);
localStorage.setItem(
"layout"
,
"box-layout"
);