Amy-Mir / global-templates / blank.php
blank.php
Raw
<?php 

// Template to show in case there is no posts 

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

?>

<section class="container">
    <div class="blankPage__wrapper">
        
        <img alt="Ingen innlegg tilgjengelig ennå" class="lazy"
                src="<?php echo get_template_directory_uri(  ); ?>/assets/noposts__100.jpg"
                data-src="<?php echo get_template_directory_uri(  ); ?>/assets/noposts__1023.jpg" 
                data-srcset="<?php echo get_template_directory_uri(  ); ?>/assets/noposts__300.jpg 300w,
                <?php echo get_template_directory_uri(  ); ?>/assets/noposts__768.jpg 768w,
                <?php echo get_template_directory_uri(  ); ?>/assets/noposts__1023.jpg 1024w" 
                data-sizes="100w" />
        <h1 class="btnText__lg">Ingen innlegg tilgjengelig ennå</h1>

    </div>
</section>