<?php

/**
 * Template Name: Image Half Gallery
 * Description: A full-width template with no sidebar
 *
 * @package WordPress
 * @subpackage lgdcom
 * @since lgdcom 0.1
 */
get_header();
?>
		

				<?php 
slideshow();
?>
			
				<div id="main" role="main">
				<?php 
booking();
?>
				<div class="container halfGrid">
				<?php 
secondaryMenu();
introCopy();
$rows = get_field('tile');
if ($rows) {
    foreach ($rows as $row) {
        $image = wp_get_attachment_image_src($row['image'], 'halfGrid');
        //$icon = wp_get_attachment_image_src(get_field('icon'), 'homeGridIcon');
Beispiel #2
0
?>
				<?php 
echo do_shortcode('[shareaholic app="share_buttons" id="23875665"]');
?>
		</div>
		<!-- post's featured image   -->
		<div class="container-fluid">
			<!-- show featured image only if category isn't Beasiswa -->
			<?php 
if ($cat[0]->name != $beasiswa) {
    ?>
				<div class="featured">
					<?php 
    //echo ">> ".get_post_meta($post->ID, 'gallery_id', true);
    if (function_exists('slideshow') && has_shortcode($post->post_content, 'tribulant_slideshow')) {
        slideshow($output = true, $gallery_id = get_post_meta($post->ID, 'gallery_id', true), $post_id = $post->ID, $params = array());
    } else {
        if (get_post_meta(get_the_ID(), 'youtube_playlist', true)) {
            //<!-- 16:9 aspect ratio -->
            echo '<div class="embed-responsive embed-responsive-16by9">';
            $yplaylist = get_post_meta(get_the_ID(), 'youtube_playlist', true);
            echo '<iframe class="embed-responsive-item" src="' . $yplaylist . '"></iframe>';
            echo '</div>';
        } else {
            if (has_post_thumbnail($post->ID)) {
                $thumb_id = get_post_thumbnail_id();
                $thumb_url_array = wp_get_attachment_image_src($thumb_id, 'thumbnail-size', true);
                $thumb_url = $thumb_url_array[0];
                //echo $thumb_url;
                // echo '<img src="'.$thumb_url.'" alt="featured image">';
                echo '<div class="bg-image" style="background-image:url(' . $thumb_url . ')"></div>';
Beispiel #3
0
								</li>
								<li><a href="http://www.fedeb.net" class="fedeb-menu">Fédé B</a></li>
							</ul>					
						</div>
						<div class="ribbon-edge-topleft"></div>
						<div class="ribbon-edge-topright"></div>
						<div class="ribbon-edge-bottomleft"></div>
						<div class="ribbon-edge-bottomright"></div>
						<div class="ribbon-back-left"></div>
						<div class="ribbon-back-right"></div>
					</div>
						
						<div id="galerie-slide-content">
							<?php 
if (function_exists('slideshow')) {
    slideshow($output = true, $post_id = false, $gallery_id = false, $params = array());
}
?>
							<div id="shadow">
								<img src="http://www.fedeb.net/wp-content/themes/fedeb/images/shadow-slider.png" class="image-projet" />	
							</div>
						</div>
						
					</header>
						<!-- On charge les scripts du menu responsive juste avant la fermeture de la partie -->
						<script src="http://www.fedeb.net/wp-content/themes/fedeb/js/classie.js"></script>
						<script src="http://www.fedeb.net/wp-content/themes/fedeb/js/gnmenu.js"></script>
						<script>
							new mainMenu( document.getElementById( 'menu-main' ) );
						</script>
<link rel="stylesheet" href="./css/droppable.css">
<link rel="shortcut icon" href="./imgs/favicon.ico" type="image/x-icon">
<link rel="icon" href="./imgs/favicon.ico" type="image/x-icon">
</head><body>

<!-- INCLUDE THE MAIN NAVIGATION -->
<?php 
include "./headers.php";
?>

    <!-- TOPMOST PARALLAX FULLSCREEN IMAGE -->
    <div class='fullscreen-image'>
        <div class="sliderContainer fullWidth clearfix">
            <div id="full-width-slider" class="royalSlider heroSlider rsMinW">
                <?php 
slideshow("home", $path);
?>
            </div>
        </div>
    </div>

    <div class="bottom-content"><div class="page-container">

            <div class="bottom-content-container bottom-content-left">

                <!-- NEWSLETTER SUBSCRIBE FORM -->
                <!-- <form class="border3 home-search">
                    <h1>Subscribe to the Pavati Marine newsletter</h1>
                    <input class="border3 home-search-input" placeholder="Enter your email address to receive monthly updates" type="text" />
                    <input class="animate2 border3 home-search-button" type="button" value="Subscribe" />
                </form> -->
    echo "</div>";
} else {
}
?>

<noscript><div class="container"><div class="sixteen columns java">
please enable javascript before viewing this page
</div></div></noscript><div class="sliderContainer fullWidth clearfix">
<div id="full-width-slider" class="royalSlider heroSlider rsMinW">
<?php 
if ($p) {
    $page = $p;
} else {
    $page = "home";
}
slideshow($page, $path);
?>
</div></div></div>

<script type='text/javascript' src=<?php 
echo "'" . $path . "js/master.js'";
?>
></script>

<?php 
if ($_SESSION['admin']) {
    ?>
 <script type="text/javascript">
$(".adminResults").hide().slideDown(300);
</script> <?php 
} else {