Ejemplo n.º 1
0
		<div class="slide front <?php 
        echo $colorScheme;
        ?>
" style="background-image: url('<?php 
        echo $img_url;
        ?>
')">
			<span class="logo"></span>
			<h1><?php 
        the_title();
        ?>
</h1>
			<span class="read-dir">Navigate trough articles horizontally<span class="icon"></span></span>
		</div>

		<?php 
        //Loop through articles
        $articles = get_field('artikler');
        $i = 2;
        foreach ($articles as $ID) {
            STROM_loop_articles($ID, $i);
            $i++;
        }
    }
}
?>

	</div>
</div>
<?php 
get_footer();
Ejemplo n.º 2
0
        ?>
')" data-anchor="slide1">
			<span class="logo"></span>
			<h1><?php 
        the_title();
        ?>
</h1>
			<span class="read-dir">Navigate trough articles horizontally<span class="icon"></span></span>
		</div>

		<?php 
        if (is_singular('magasin')) {
            $articles = get_field('artikler');
            $i = 2;
            foreach ($articles as $ID) {
                STROM_loop_articles($ID, $i);
                $i++;
            }
        } else {
            if (is_singular('artikel')) {
                STROM_loop_articles($post->ID, 0);
            }
        }
    }
}
?>

	</div>
</div>
<?php 
get_footer();