🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:template-awards.php
<?php /** * Template Name: Awards Page */ get_header(); ?> <section class="page-banner-section"> <div class="container"> <div class="row"> <div class="col-12 text-center"> <h1 class="page-banner-title"><?php the_title(); ?></h1> <?php unfia_breadcrumbs(); ?> </div> </div> </div> </section> <section class="awards-intro section-padding"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-8 text-center" data-aos="fade-up"> <span class="section-subtitle"><?php _e('Celebrating Excellence, Honoring Achievement, Inspiring the Future.', 'unfia'); ?></span> <h2><?php _e('UNFIA Graduation & International Award Ceremony – 2026', 'unfia'); ?></h2> <p><?php _e('UNFIA Graduation & International Award Ceremony – 2026 is a prestigious international event organized by the United Nations Federation of International Astro (UNFIA) to celebrate academic achievement, professional excellence, innovation, leadership, and outstanding contributions to society. The ceremony brings together graduates, distinguished professionals, researchers, entrepreneurs, educators, and change-makers from around the world to receive international recognition for their accomplishments. The event serves as a global platform for networking, knowledge exchange, and honoring individuals whose work has made a meaningful impact in their respective fields.', 'unfia'); ?></p> </div> </div> </div> </section> <section class="award-categories section-padding bg-light"> <div class="container"> <?php unfia_section_title(__('Award Categories', 'unfia'), __('Fields of Excellence', 'unfia')); ?> <div class="row g-4"> <?php $categories = [ ['icon' => 'fa-graduation-cap', 'title' => __('Education', 'unfia')], ['icon' => 'fa-microscope', 'title' => __('Research', 'unfia')], ['icon' => 'fa-heartbeat', 'title' => __('Healthcare', 'unfia')], ['icon' => 'fa-chart-line', 'title' => __('Entrepreneurship', 'unfia')], ['icon' => 'fa-users', 'title' => __('Leadership', 'unfia')], ['icon' => 'fa-lightbulb', 'title' => __('Innovation', 'unfia')], ['icon' => 'fa-palette', 'title' => __('Culture', 'unfia')], ['icon' => 'fa-hands-helping', 'title' => __('Humanitarian', 'unfia')], ['icon' => 'fa-star', 'title' => __('Social Service', 'unfia')], ['icon' => 'fa-crown', 'title' => __('Lifetime Achievement', 'unfia')], ]; foreach ($categories as $cat): ?> <div class="col-lg-4 col-md-6" data-aos="fade-up"> <div class="award-category-card"> <div class="award-cat-icon"> <i class="fas <?php echo esc_attr($cat['icon']); ?>"></i> </div> <h4><?php echo esc_html($cat['title']); ?></h4> </div> </div> <?php endforeach; ?> </div> </div> </section> <section class="awards-list section-padding"> <div class="container"> <?php unfia_section_title(__('Recent Award Recipients', 'unfia'), __('Honoring Excellence', 'unfia')); ?> <div class="row g-4"> <?php $awards = new WP_Query(['post_type' => 'award', 'posts_per_page' => 6]); if ($awards->have_posts()): while ($awards->have_posts()): $awards->the_post(); ?> <div class="col-lg-4 col-md-6" data-aos="fade-up"> <div class="award-card"> <?php if (has_post_thumbnail()): ?> <div class="award-card-image"> <?php the_post_thumbnail('unfia-card', ['class' => 'img-fluid']); ?> </div> <?php endif; ?> <div class="award-card-body"> <span class="award-year"><?php echo esc_html(get_post_meta(get_the_ID(), '_award_year', true)); ?></span> <h4><?php the_title(); ?></h4> <p><?php echo esc_html(get_post_meta(get_the_ID(), '_award_recipient', true)); ?></p> </div> </div> </div> <?php endwhile; wp_reset_postdata(); endif; ?> </div> <div class="text-center mt-5" data-aos="fade-up"> <a href="#" class="btn btn-primary btn-lg"><?php _e('Apply for an Award', 'unfia'); ?> <i class="fas fa-arrow-right"></i></a> </div> </div> </section> <?php get_footer(); ?>
Save Changes
Cancel
Create New File
Create New Folder