Amir Hussain
Learner
how to show many events in a single page through plugines
how to show many events in a single page through plugins
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
Download The Events Calendar plugin from here
Override & Create your Own template:
{1}Create “tribe-events” directory in your theme folder.
{2}Make a copy of the templates you want to customize.The template view files are located inside the plugin folder’s /src/views/ directory.
The Events Calendar template files:
/wp-content/plugins/the-events-calendar/src/views/
{3}Copy “default-template.php” the template and put inside [your-theme]/tribe-events/
{4}Update your custom template
{5}Finally change the setting from Events -> Settings -> Template -> Events Template.
default-template.php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
get_header();
?>
<div id="tribe-events-pg-template" class="tribe-events-pg-template">
<?php tribe_events_before_html(); ?>
<?php tribe_get_view(); ?>
<?php tribe_events_after_html(); ?>
</div> <!-- #tribe-events-pg-template -->
<?php
get_footer();
**** Similar way you can change other templates as well but please make copy of that template and put inside [your-theme]/tribe-events/ .Otherwise it will lost when the plugin was updated .