Use owl carousel and other type of sliders for your listings. The sliders are totally responsive.
During the plugin activation process, plugin will not create any table or any meta entry in the database.Once activated you’ll be able to use the form shortcode.
Create a new page, name it something along the lines of “Event Owl Carousel Slider” and then inside the content area add the shortcode:
[event_owl_carousel_slider featured=1 limit="5" orderby="rand"]
- featured – Set to true to show only featured events, 0 to show no featured events, or leave out entirely to show both (featured first).
- limit – maximum number of event in slider.
- orderby – Supports title, ID, name, modified, parent, rand. .
It is best to insert the shortcode into the ‘text’ view of the visual editor to ensure it gets formatted correctly.
Also you can assign shortcode page with template page as shown below.
You can also add shortcode to template file, as shown in below example template name is “Event Owl Carousel Slider”. You can bind/assign this template to created page with help of “Page Attributes” section.
* Template Name: Owl Carousel Slider Template
* @since: 1.0.0
<?php get_header(); ?>
<?php echo do_shortcode('[event_owl_carousel_slider]');?>
<?php get_footer(); ?>
The [event_owl_carousel_slider] shortcode will give following output at the frontend side:
The slider you see here is totally responsive. Even if your visitors are viewing the website on any of different devices, the slider promises to render well. You can use the short code [event_owl_carousel_slider] to show the slider as shown in the figure.
When your users visit your website through their mobile phones, this plugin makes sure that the event slider is displayed beautifully, without messing up the looks and format of your website.
For overriding or customization template files can be found in the wp-event-manager-sliders/templates/ directory. To override a template file, first you need to create directory “wp-event-manager-sliders” under your theme folder and copy the template file to “/wp-content/yourtheme/wp-event-manager-sliders/” directory. Your theme will use all the template files from the “/wp-content/yourtheme/wp-event-manager-sliders/” directory instead of the plugin’s template file (/wp-content/plugins/wp-event-manager-sliders/).
- content-owl-slider-event_listing.php – which display event listings with owl carousel slider.
Remember: if you have overrided template file and plugin frequently updating then you need to sync template file with new updates from the plugin’s template file for better functionality and new features.