Beispiel #1
0
<?php

get_header();
?>

<div class="blog-header tag" style="<?php 
echo the_blankimage() ? 'background-image: url(' . the_blankimage()->getUrl() . ')' : '';
?>
">

</div>

<div class="blog-main container">

<span class="value tag"><?php 
echo single_tag_title();
?>
</span>

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

    <?php 
        get_template_part('content');
        ?>

<?php 
    }
Beispiel #2
0
<?php

get_header();
?>

<?php 
$headerImageUrl = single_cat_illustration_url() ? single_cat_illustration_url() : (the_blankimage() ? the_blankimage()->getUrl() : '');
?>

<div class="blog-header category" style="<?php 
echo $headerImageUrl ? 'background-image: url(' . $headerImageUrl . ')' : '';
?>
">

    <div class="wrapper">

        <h1><?php 
echo single_cat_title();
?>
</h1>

        <?php 
echo category_description();
?>

    </div>

</div>

<div class="blog-main category container">
<?php

get_header();
?>

<?php 
$headerImageUrl = blog_home_image_url() ? blog_home_image_url() : (the_blankimage() ? the_blankimage()->getUrl() : '');
?>

<div class="blog-header home" style="<?php 
echo $headerImageUrl ? 'background-image: url(' . $headerImageUrl . ')' : '';
?>
">

  <div class="wrapper">

    <h1 class="blog-title"><?php 
echo blog_home_title();
?>
</h1>

    <p class="lead blog-description"><?php 
echo blog_home_description();
?>
</p>

  </div>

</div>

<div class="container blog-main">
Beispiel #4
0
    <div class="main" <?php 
echo the_wio_attributes();
?>
>

        <a id="menu-hamburger" href="#right-panel"></a>

<?php 
full_articles(true);
rewind_posts();
while (have_posts()) {
    the_post();
    ?>

<?php 
    $headerImageUrl = post_thumbnail_url() ? post_thumbnail_url() : (the_blankimage() ? the_blankimage()->getUrl() : '');
    ?>

<div class="blog-header single" style="<?php 
    echo $headerImageUrl ? 'background-image: url(' . $headerImageUrl . ')' : '';
    ?>
">

    <div class="wrapper">

       <h1><?php 
    echo single_post_title();
    ?>
</h1>

       <p class="description">