PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
plugins
/
modern-events-calendar
/
app
/
skins
/
custom
<?php /** no direct access **/ defined('MECEXEC') or die(); use Elementor\Plugin; if ( ! did_action( 'elementor/loaded' ) ) { return; } $styling = $this->main->get_styling(); $event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color'])) ? 'colorskin-custom' : ''; $settings = $this->main->get_settings(); // colorful $colorful_flag = $colorful_class = ''; if($this->style == 'colorful') { $colorful_flag = true; $this->style = 'modern'; $colorful_class = ' mec-event-custom-colorful'; } ?> <div class="mec-wrap <?php echo $event_colorskin . $colorful_class; ?>"> <div class="mec-event-custom-<?php echo $this->style; ?>"> <article class="mec-event-article mec-clear" itemscope> <?php $args = [ 'post_type' => 'mec-events' ]; $query = new WP_Query($args); if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); echo Plugin::instance()->frontend->get_builder_content_for_display( $this->style, true ); endwhile; wp_reset_postdata(); endif; ?> </article> </div> </div> </div> <?php if ( isset($this->map_on_top) and $this->map_on_top ) : if(isset($map_events) and !empty($map_events)) { // Include Map Assets such as JS and CSS libraries $this->main->load_map_assets(); $map_javascript = '<script type="text/javascript"> jQuery(document).ready(function() { var jsonPush = gmapSkin('.json_encode($this->render->markers($map_events)).'); jQuery("#mec_googlemap_canvas'.$this->id.'").mecGoogleMaps( { id: "'.$this->id.'", atts: "'.http_build_query(array('atts'=>$this->atts), '', '&').'", zoom: '.(isset($settings['google_maps_zoomlevel']) ? $settings['google_maps_zoomlevel'] : 14).', icon: "'.apply_filters('mec_marker_icon', $this->main->asset('img/m-04.png')).'", styles: '.((isset($settings['google_maps_style']) and trim($settings['google_maps_style']) != '') ? $this->main->get_googlemap_style($settings['google_maps_style']) : "''").', markers: jsonPush, clustering_images: "'.$this->main->asset('img/cluster1/m').'", getDirection: 0, ajax_url: "'.admin_url('admin-ajax.php', NULL).'", }); }); </script>'; // Include javascript code into the page if($this->main->is_ajax()) echo $map_javascript; else $this->factory->params('footer', $map_javascript); } endif;
[+]
..
[-] tpl.php
[edit]
[-] render.php
[edit]
[-] index.html
[edit]