%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/page.php

<?php
get_header();

?>

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

    <div class="js-headerGap h-[51px]"></div>
    <section>
        <?php if (!is_page(get_option( 'yith_wcwl_wishlist_page_id'))): ?>
        <div class="cwg-container-main mb-[30px]">
            <div class="flex flex-row justify-between items-center">
                <h1 class="font-medium leading-6 text-[16px] uppercase mt-[30px] mb-[30px]"><?= get_the_title(); ?></h1>
            </div>
            <?php endif; ?>
            <?php if (have_rows('flexible_content')) : ?>
                <div class="flex flex-col">
                    <?php while (have_rows('flexible_content')) : the_row(); ?>
                        <?php
                        if (get_row_layout() == 'collapsible') :

                            $item = array(
                                'title' => get_sub_field('title'),
                                'subtitle' => '',
                                'is_open'  => get_sub_field('is_open')
                            );
                        ?>
                            <?php include(locate_template('template-parts/collapsible/start.php')); ?>
                            <div class="text-xs font-light mb-[30px] prose">
                                <?php the_sub_field('content') ?>
                            </div>
                            <?php include(locate_template('template-parts/collapsible/end.php')); ?>
                        <?php endif; ?>
                    <?php endwhile; ?>
                <?php if (!is_page(get_option( 'yith_wcwl_wishlist_page_id'))): ?>
                </div>
                <?php endif; ?>
            <?php else: ?>
                <?php the_content(); ?>
            <?php endif; ?>
        <?php if (!is_page(get_option( 'yith_wcwl_wishlist_page_id'))): ?>
        </div>
        <?php endif; ?>

    </section>

<?php
endwhile;
?>

<?php

get_footer();

?>

Zerion Mini Shell 1.0