Ejemplo n.º 1
0
?>

<?php 
while (have_posts()) {
    the_post();
    ?>

    <?php 
    get_template_part('hero', 'small');
    ?>

    <section id="content" class="content-portal">
	<div class="container">
		
	    <?php 
    echo dl_get_ad('werbebanner_seitlich', false);
    ?>
		
		
	    <div class="row">
		<div class="span8">
		    <?php 
    $headline = get_post_meta($post->ID, 'headline', true);
    if ($headline) {
        echo "<h2>" . $headline . "</h2>\n";
    } else {
        echo '<div class="page-nosubtitle">&nbsp;</div>';
    }
    the_content();
    ?>
		</div>
Ejemplo n.º 2
0
if ($menuslug) {
    ?>
	
			    <hr>
			    <?php 
    $nosub = get_post_meta($post->ID, 'dlval_portalmenu_nosub', true);
    if ($nosub == 1) {
        $displaysub = 0;
    } else {
        $displaysub = 1;
    }
    $nofallbackthumbs = get_post_meta($post->ID, 'dlval_portalmenu_nofallbackthumb', true);
    $nothumbnails = get_post_meta($post->ID, 'dlval_portalmenu_thumbnailson', true);
    dl_get_contentmenu($menuslug, $displaysub, 0, 0, $nothumbnails, $nofallbackthumbs);
}
echo dl_get_ad('werbebanner_unten', true);
$logoliste = get_post_meta($post->ID, 'dlval_imagelink_catid', true);
if ($logoliste) {
    ?>
	
			    <hr>
			    <?php 
    dl_get_imagelinks($logoliste);
}
?>
			
		</div> <!-- /container -->
		<?php 
get_template_part('footer', 'social');
?>