%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/themes/cwg/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/themes/cwg/workshop-shop.php

<?php

/**
 * The main template file
 * Template Name: Workshop Shop
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site may use a
 * different template.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package JoiPolloi-Skeleton
 */

get_header();

$heroComponentImage = get_field('hero_component_image');
$heroComponentText = get_field('hero_component_hero_text');
$heroComponentSubText = get_field('hero_component_sub_text');
$heroComponentAlignment = get_field('hero_component_align_text');
?>

<div class="js-headerGap"></div>

<div id="primary" class="content-area">

    <?php get_template_part('template-parts/content', 'heroImageComponent', array(
        'heroComponentImage' => $heroComponentImage,
        'heroComponentText' => $heroComponentText,
        'heroComponentSubText' => $heroComponentSubText,
        'heroComponentAlignment' => $heroComponentAlignment,
    )); ?>

    <main id="main" class="site-main">
        <?php
        while (have_posts()) :
            the_post();

            get_template_part('template-parts/content', 'pageWorkshop');

        endwhile; // End of the loop.
        ?>

    </main><!-- #main -->
</div><!-- #primary -->

<?php
// get_sidebar();
get_footer();

Zerion Mini Shell 1.0