| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/ttc_wordpress/wp-content/themes/ttc/ |
Upload File : |
<?php
/*
Template Name: Apply Membership
*/
get_header('inner');
if (have_posts()) : the_post();
$membership_sections = get_field('membership_sections');
?>
<div class="py-20">
<div class="container">
<?php
if($membership_sections):
$first_section = true;
foreach($membership_sections as $section):
?>
<div class="px-4 sm:px-8 lg:grid lg:grid-cols-12 lg:gap-4 <?php echo !$first_section ? 'mt-16' : ''; ?>">
<div class="lg:col-span-5">
<h2 class="uppercase text-black mb-2"><?php echo esc_html($section['subtitle']); ?></h2>
<h3 class="text-2xl text-black font-bold uppercase"><?php echo esc_html($section['title']); ?></h3>
</div>
<div class="lg:col-span-7">
<?php if($section['procedures']): ?>
<ul class="list-disc list-outside px-8 py-2 text-sm">
<?php foreach($section['procedures'] as $procedure): ?>
<li class="mb-3"><?php echo esc_html($procedure['procedure_text']); ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div>
</div>
<?php
$first_section = false;
endforeach;
endif;
?>
</div>
</div>
<?php
endif;
get_footer();
?>