Amy-Mir / archive.php
archive.php
Raw
<?php 
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

get_header();
?>

<main>
    <?php get_template_part( "global-templates/blog", "head", "Hva jeg gjør" ); ?>

    <section class="S02 container p-t-5">

    <?php 
    
    if(have_posts(  )): 
        get_template_part( "loop-templates/content", "grid" ); 
    else: 
        get_template_part("global-templates/blank"); 
    endif; 
    
    ?>

    </section>
</main>

<?php

get_footer();