<?php /** * The sidebar containing the main widget area. * * @package thim */ $theme_options_data = get_theme_mods(); $show_booking = !empty( $theme_options_data['thim_event_disable_book_event'] ) ? false : true; if ( !is_active_sidebar( 'sidebar_events' ) && !$show_booking ) { return; } $sticky_sidebar = !empty( $theme_options_data['thim_sticky_sidebar'] ) ? ' sticky-sidebar' : ''; $cls_sidebar = ''; if ( get_theme_mod( 'thim_header_style', 'header_v1' ) == 'header_v4' ) { $cls_sidebar = ' sidebar_' . get_theme_mod( 'thim_header_style' ); } ?> <div id="sidebar" class="widget-area col-sm-3 sidebar-events<?php echo esc_attr( $sticky_sidebar ); ?><?php echo $cls_sidebar;?>" role="complementary"> <?php if($show_booking && is_singular('tp_event')) { echo '<div class="widget_book-event">'; if ( defined( 'WPEMS_VER' ) ) { if ( version_compare( WPEMS_VER, '2.0', '>=' ) ) { wpems_get_template( 'loop/booking-form.php', array( 'event_id' => get_the_ID() ) ); }else{ if ( version_compare( get_option( 'event_auth_version' ), '1.0.4', '>=' ) ) { tpe_auth_addon_get_template( 'form-book-event.php', array( 'event_id' => get_the_ID() ) ); } else { WPEMS_Authentication()->loader->load_module( '\WPEMS_Auth\Events\Event' )->book_event_template(); } } } else if ( defined( 'TP_EVENT_VER' ) ) { if ( version_compare( TP_EVENT_VER, '2.0', '>=' ) ) { tp_event_get_template( 'loop/booking-form.php', array( 'event_id' => get_the_ID() ) ); }else{ if ( version_compare( get_option( 'event_auth_version' ), '1.0.4', '>=' ) ) { tpe_auth_addon_get_template( 'form-book-event.php', array( 'event_id' => get_the_ID() ) ); } else { TP_Event_Authentication()->loader->load_module( '\TP_Event_Auth\Events\Event' )->book_event_template(); } } }else{ return; } echo '</div>'; } ?> <?php if ( !dynamic_sidebar( 'sidebar_events' ) ) : dynamic_sidebar( 'sidebar_events' ); endif; // end sidebar widget area ?> </div><!-- #secondary -->
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
assets | Folder | 0700 |
|
|
bbpress | Folder | 0700 |
|
|
buddypress | Folder | 0700 |
|
|
images | Folder | 0700 |
|
|
inc | Folder | 0700 |
|
|
languages | Folder | 0700 |
|
|
learnpress-v3 | Folder | 0700 |
|
|
learnpress-v4 | Folder | 0700 |
|
|
lp-child-path | Folder | 0700 |
|
|
our-team | Folder | 0700 |
|
|
page-templates | Folder | 0700 |
|
|
paid-memberships-pro | Folder | 0700 |
|
|
portfolio | Folder | 0700 |
|
|
testimonials | Folder | 0700 |
|
|
thim-elementor-kit | Folder | 0700 |
|
|
thim-twitter | Folder | 0700 |
|
|
vc_templates | Folder | 0700 |
|
|
video-conferencing-zoom | Folder | 0700 |
|
|
woocommerce | Folder | 0700 |
|
|
wp-events-manager | Folder | 0700 |
|
|
404.php | File | 1.52 KB | 0644 |
|
archive.php | File | 1.38 KB | 0644 |
|
changelog.html | File | 48.42 KB | 0644 |
|
comments.php | File | 3.24 KB | 0644 |
|
content-grid.php | File | 2.55 KB | 0644 |
|
content-none.php | File | 1.12 KB | 0644 |
|
content-page.php | File | 492 B | 0644 |
|
content-search.php | File | 1.64 KB | 0644 |
|
content-single.php | File | 1.23 KB | 0644 |
|
content.php | File | 1.49 KB | 0644 |
|
footer.php | File | 695 B | 0644 |
|
functions.php | File | 30.84 KB | 0644 |
|
header.php | File | 1.92 KB | 0644 |
|
index.html | File | 0 B | 0644 |
|
index.php | File | 1.39 KB | 0644 |
|
integrations.txt | File | 308 B | 0644 |
|
page.php | File | 932 B | 0644 |
|
readme.txt | File | 27 B | 0644 |
|
rtl-min.css | File | 97.01 KB | 0644 |
|
rtl.css | File | 112.5 KB | 0644 |
|
screenshot.png | File | 202.42 KB | 0644 |
|
search.php | File | 971 B | 0644 |
|
sidebar-courses.php | File | 802 B | 0644 |
|
sidebar-events.php | File | 1.98 KB | 0644 |
|
sidebar-shop.php | File | 744 B | 0644 |
|
sidebar.php | File | 724 B | 0644 |
|
single.php | File | 997 B | 0644 |
|
style-editor.css | File | 2.73 KB | 0644 |
|
style.css | File | 626.36 KB | 0644 |
|
wpml-config.xml | File | 17.3 KB | 0644 |
|