function gdlr_get_video_item($settings)
 {
     $item_id = empty($settings['page-item-id']) ? '' : ' id="' . $settings['page-item-id'] . '" ';
     global $gdlr_spaces;
     $margin = !empty($settings['margin-bottom']) && $settings['margin-bottom'] != $gdlr_spaces['bottom-item'] ? 'margin-bottom: ' . $settings['margin-bottom'] . ';' : '';
     $margin_style = !empty($margin) ? ' style="' . $margin . '" ' : '';
     $ret = gdlr_get_item_title($settings);
     $ret .= '<div class="gdlr-video-item gdlr-item" ' . $item_id . $margin_style . ' >';
     $ret .= gdlr_get_video($settings['url']);
     if (!empty($settings['content-title'])) {
         $ret .= '<h4 class="gdlr-video-content-title" >' . gdlr_text_filter($settings['content-title']) . '</h4>';
     }
     if (!empty($settings['content'])) {
         $ret .= '<div class="gdlr-video-content" >' . gdlr_text_filter($settings['content']) . '</div>';
     }
     $ret .= '</div>';
     return $ret;
 }
 function gdlr_get_carousel_personnel_item($settings)
 {
     $item_id = empty($settings['page-item-id']) ? '' : ' id="' . $settings['page-item-id'] . '" ';
     global $gdlr_spaces;
     $margin = !empty($settings['margin-bottom']) && $settings['margin-bottom'] != $gdlr_spaces['bottom-item'] ? 'margin-bottom: ' . $settings['margin-bottom'] . ';' : '';
     $margin_style = !empty($margin) ? ' style="' . $margin . '" ' : '';
     $settings['personnel'] = empty($settings['personnel']) ? array() : $settings['personnel'];
     $list = is_array($settings['personnel']) ? $settings['personnel'] : json_decode($settings['personnel'], true);
     $ret = '<div class="gdlr-personnel-item-wrapper" ' . $item_id . $margin_style . '>';
     $settings['title-type'] = empty($settings['title-type']) ? 'none' : $settings['title-type'];
     $settings['title'] = empty($settings['title']) ? '' : $settings['title'];
     $settings['caption'] = empty($settings['caption']) ? '' : $settings['caption'];
     $settings['icon'] = empty($settings['icon']) ? '' : $settings['icon'];
     $ret .= gdlr_get_item_title(array('title' => $settings['title'], 'caption' => $settings['caption'], 'icon' => $settings['icon'], 'type' => $settings['title-type'], 'carousel' => true, 'additional_class' => 'gdlr-nav-container'));
     $ret .= '<div class="gdlr-item gdlr-personnel-item carousel ' . $settings['personnel-style'] . '">';
     $ret .= '<div class="gdlr-ux gdlr-personnel-ux">';
     $ret .= '<div class="flexslider" data-type="carousel" data-nav-container="gdlr-personnel-item" ';
     $ret .= 'data-columns="' . $settings['personnel-columns'] . '" >';
     $ret .= '<ul class="slides" >';
     foreach ($list as $tab) {
         $ret .= '<li class="personnel-item">';
         if ($settings['personnel-style'] == 'round-style') {
             $ret .= '<div class="personnel-author-image" >';
             $ret .= gdlr_get_image($tab['gdl-tab-author-image'], $settings['thumbnail-size']);
             $ret .= '</div>';
         }
         if ($settings['personnel-style'] != 'plain-style') {
             // hide this in plain style
             $ret .= '<div class="personnel-item-inner gdlr-skin-box">';
         }
         if ($settings['personnel-style'] != 'round-style') {
             $ret .= '<div class="personnel-author-image gdlr-skin-border" >';
             $ret .= gdlr_get_image($tab['gdl-tab-author-image'], $settings['thumbnail-size']);
             $ret .= '</div>';
         }
         $ret .= '<div class="personnel-info">';
         if (!empty($tab['gdl-tab-title'])) {
             $ret .= '<div class="personnel-author gdlr-skin-title">' . gdlr_text_filter($tab['gdl-tab-title']) . '</div>';
         }
         if (!empty($tab['gdl-tab-position'])) {
             $ret .= '<div class="personnel-position gdlr-skin-info">' . gdlr_text_filter($tab['gdl-tab-position']) . '</div>';
         }
         $ret .= '</div>';
         // personnel-info
         $ret .= '<div class="personnel-content gdlr-skin-content">' . gdlr_content_filter($tab['gdl-tab-content']) . '</div>';
         if (!empty($tab['gdl-tab-social-list'])) {
             $ret .= '<div class="personnel-social">';
             $ret .= gdlr_text_filter($tab['gdl-tab-social-list']);
             $ret .= '</div>';
         }
         if ($settings['personnel-style'] != 'plain-style') {
             // hide this in plain style
             $ret .= '</div>';
             // personnel-item-inner
         }
         $ret .= '</li>';
     }
     $ret .= '</ul>';
     $ret .= '</div>';
     // flexslider
     $ret .= '</div>';
     // gdlr-ux
     $ret .= '</div>';
     // gdlr-personnel-item
     $ret .= '</div>';
     // gdlr-personnel-item-wrapper
     return $ret;
 }
    ?>
<div class="gdlr-page-title-wrapper" <?php 
    echo $header_background;
    ?>
 >
		<div class="gdlr-page-title-overlay"></div>
		<div class="gdlr-page-title-container container" >
			<h1 class="gdlr-page-title"><?php 
    echo __("Events", "gdlr_translate");
    ?>
</h1>
			<?php 
    if (!empty($gdlr_post_option['page-caption'])) {
        ?>
			<span class="gdlr-page-caption"><?php 
        echo gdlr_text_filter($gdlr_post_option['page-caption']);
        ?>
</span>
			<?php 
    }
    ?>
		</div>	
</div>	
<?php 
}
//if not 404
?>
<div id="tribe-events-pg-template">
	<?php 
tribe_events_before_html();
?>
Example #4
0
    echo is_front_page() ? '</h1>' : '';
    ?>
						<?php 
    // mobile navigation
    if (class_exists('gdlr_dlmenu_walker') && (empty($theme_option['enable-responsive-mode']) || $theme_option['enable-responsive-mode'] == 'enable')) {
        echo '<div class="gdlr-responsive-navigation dl-menuwrapper" id="gdlr-responsive-navigation" >';
        echo '<button class="dl-trigger">Open Menu</button>';
        wp_nav_menu(array('theme_location' => 'main_menu', 'container' => '', 'menu_class' => 'dl-menu gdlr-main-mobile-menu', 'walker' => new gdlr_dlmenu_walker()));
        echo '</div>';
    }
    ?>
					</div>
					
					<div class="gdlr-logo-right-text gdlr-align-left">
							<?php 
    echo gdlr_text_filter($theme_option['logo-right-text']);
    ?>
					</div>
					<?php 
    if ($theme_option['enable-top-search'] == 'enable') {
        echo '<div class="gdlr-header-search">';
        get_search_form();
        echo '</div>';
    }
    ?>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		
		<!-- navigation -->
                    ?>
	<div class="gdlr-page-title-wrapper" <?php 
                    echo $header_background;
                    ?>
 >
		<div class="gdlr-page-title-overlay"></div>
		<div class="gdlr-page-title-container container" >
			<span class="gdlr-page-title"><?php 
                    echo gdlr_text_filter($title);
                    ?>
</span>
			<?php 
                    if (!empty($caption)) {
                        ?>
			<h1 class="gdlr-page-caption"><?php 
                        echo gdlr_text_filter($caption);
                        ?>
</h1>
			<?php 
                    }
                    ?>
		</div>	
	</div>		
<?php 
                } else {
                    if ((is_home() || is_front_page()) && ((!empty($_GET['login']) || !empty($_GET['register'])) && !is_user_logged_in() || !empty($_GET['payment-method']))) {
                        ?>
	<div class="gdlr-page-title-wrapper" <?php 
                        echo $header_background;
                        ?>
 >
                            ?>
		<div class="gdlr-page-title-wrapper" <?php 
                            echo empty($header_background) ? '' : 'style="background-image: url(\'' . esc_url($header_background) . '\'); "';
                            ?>
 >
			<div class="gdlr-page-title-overlay"></div>
			<div class="gdlr-page-title-container container" >
				<span class="gdlr-page-title"><?php 
                            echo gdlr_text_filter(gdlr_escape_string($title));
                            ?>
</span>
				<?php 
                            if (!empty($caption)) {
                                ?>
				<h1 class="gdlr-page-caption"><?php 
                                echo gdlr_text_filter(gdlr_escape_string($caption));
                                ?>
</h1>
				<?php 
                            }
                            ?>
			</div>	
		</div>		
	<?php 
                        }
                    }
                }
            }
        }
    }
}
Example #7
0
		<?php 
    if ($theme_option['show-copyright'] != 'disable') {
        ?>
		<div class="copyright-wrapper">
			<div class="copyright-container container">
				<div class="copyright-left">
					<?php 
        if (!empty($theme_option['copyright-left-text'])) {
            echo gdlr_text_filter(gdlr_escape_string($theme_option['copyright-left-text']));
        }
        ?>
				</div>
				<div class="copyright-right">
					<?php 
        if (!empty($theme_option['copyright-right-text'])) {
            echo gdlr_text_filter(gdlr_escape_string($theme_option['copyright-right-text']));
        }
        ?>
					Shared by <!-- Please Do Not Remove Shared Credits Link --><a href='http://www.themes24x7.com/' id="sd">Themes24x7</a><!-- Please Do Not Remove Shared Credits Link -->
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<?php 
    }
    ?>
	</footer>
	<?php 
}
// page style
?>
// page style
if (empty($gdlr_post_option) || empty($gdlr_post_option['page-style']) || $gdlr_post_option['page-style'] == 'normal' || $gdlr_post_option['page-style'] == 'no-footer') {
    ?>
	<header class="gdlr-header-wrapper">
		<!-- top navigation -->
		<?php 
    if (empty($theme_option['enable-top-bar']) || $theme_option['enable-top-bar'] == 'enable') {
        ?>
		<div class="top-navigation-wrapper">
			<div class="top-navigation-container container">
				
				<div class="top-navigation-right">
					<div class="top-navigation-right-text">
						<?php 
        if (!empty($theme_option['top-bar-right-text'])) {
            echo gdlr_text_filter($theme_option['top-bar-right-text']);
        }
        ?>
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<?php 
    }
    ?>

		<!-- logo -->
		<div class="gdlr-header-inner">
			<div class="gdlr-header-container container">
            <div class="top-navigation-left">
Example #9
0
	<?php 
// page style
if (empty($gdlr_post_option) || empty($gdlr_post_option['page-style']) || $gdlr_post_option['page-style'] == 'normal' || $gdlr_post_option['page-style'] == 'no-footer') {
    ?>
	<header class="gdlr-header-wrapper">
		<!-- top navigation -->
		<?php 
    if (empty($theme_option['enable-top-bar']) || $theme_option['enable-top-bar'] == 'enable') {
        ?>
		<div class="top-navigation-wrapper">
			<div class="top-navigation-container container">
				<div class="top-navigation-left">
					<div class="top-navigation-left-text">
						<?php 
        if (!empty($theme_option['top-bar-left-text'])) {
            echo gdlr_text_filter(gdlr_escape_string($theme_option['top-bar-left-text']));
        }
        ?>
					</div>
				</div>
				<div class="top-navigation-right">
					<div class="top-social-wrapper">
						<?php 
        gdlr_print_header_social();
        ?>
					</div>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="top-navigation-divider"></div>