HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/triad-cyber/wp-content/themes/triadcyber/page-home.php
<?php /* Template Name: Home Page */
get_header();
?>
<!-- <div class="banner-logo"></div> -->
<section class="sub-banner">
    <div class="container custom-container">
        <div class="inner-banner">
            <div class="inner-content">
                <h1 class="main-title">
                    Your Destination for Cyber Career  Growth and 
                    <span class="red-color">Knowledge Advancement</span>
                </h1>
                <div class="bottom-sec">
                    <a href ="<?php echo esc_url(site_url('contact-us')); ?>" class="learn-btn1">Contact Triad Cyber Academy</a>
                </div> 
            </div>
            <div class="bnr-rt">
                <img src="<?php echo get_template_directory_uri(); ?>/img/cyber-banner.png" alt="banner image">
            </div>
           
        </div>
      
    </div>
</section>
<section class="two-col-sec">
    <div class="container custom-container">
        <div class="two-col-inner">
            <div class="left-sec">
                <div class="shadow-btm">
                
                    <img src="<?php echo get_template_directory_uri(); ?>/img/working-women.png" alt="working-women">
                </div>
            </div>
            <div class="right-sec">
                <h2 class="title">
                    <span>"Welcome To The First Step On Your Journey To </span> <span class="red-color"> Becoming a Cyber Security Professional."</span>
                </h2>
                <div class="content">
                    Triad InfoSec is proud to introduce Triad Cyber Academy, your premier destination for advancing your cyber career and knowledge. Through partnerships with the world’s leading training providers, we deliver globally recognized and highly respected certification courses designed for both aspiring professionals seeking to enter the field and seasoned experts looking to expand or deepen their expertise. In today’s interconnected world, security teams are indispensable, protecting organizations against increasingly sophisticated threats and ensuring the integrity of digital assets. As businesses face challenges like ransomware attacks, social engineering schemes, and pervasive malware, adopting robust cybersecurity strategies has never been more critical. Below, explore the essential topics that will empower you to advance your career, whether you're building a solid foundation or enhancing an established skill set in the ever-evolving world of cybersecurity.

                </div>
            </div>
        </div>
    </div>
</section>
    <section class="available-course" id="avilableCourse">
        <div class="container custom-container">
            <div class="row">
                <div class="title">Certify. Specialize. <span class="red-color">Lead.</span>
                </div>
                <div class="sub-content">At Triad Cyber Academy, we provide world-class cybersecurity training designed for real-world impact. Our offerings include official certification courses from leading organizations such as ISC2, ISACA, CompTIA, and EC-Council, as well as more than 400 instructor-led courses covering vendor-specific technologies and topic-focused cybersecurity skills. Whether you're an individual advancing your career or an organization building cyber resilience, our courses deliver the knowledge, tools, and tactical insight to succeed in today’s threat landscape.</div>
                <div class="boxes">
                <?php
                $courses = new WP_Query(array(
                    'post_type' => 'available_courses',
                    'posts_per_page' => -1,
                    'orderby' => 'date',
                    'order' => 'ASC'
                ));

                if ($courses->have_posts()) :
                    while ($courses->have_posts()) : $courses->the_post();
                        $course_id = get_the_ID();
                ?>
                    <div class="box1">
                        <div class="logo-sec">
                        <?php if (has_post_thumbnail()) : ?>
                            <div class="img-sec"><?php the_post_thumbnail('medium'); ?></div>
                        <?php endif; ?>
                            <!-- <div class="img-sec"><img src="<?php echo get_template_directory_uri(); ?>/img/logo1.svg" alt="logo1"></div> -->
                        </div>
                        <div class="text-sec">
                            <div class="contents"><?php the_content(); ?></div>
                            <?php
                                $post_title = get_the_title();
                                $redirect_link = '';

                                if ($post_title === 'Cybersecurity' || $post_title === 'AWS') {
                                    $redirect_link = 'https://vs.triadcyberacademy.io/';
                                } else {
                                    $redirect_link = get_permalink();
                                }
                            ?>
                            <div class="btn1"><a href="<?php echo esc_url($redirect_link); ?>" class="btn-more"><span class="txt">Learn More</span> <span><img src="<?php echo get_template_directory_uri(); ?>/img/arrow.svg" alt="arrow"></span></a></div>
                        </div>
                    </div>
                    
                    <?php
                        endwhile;
                        wp_reset_postdata();
                    else :
                        echo '<p>No courses found.</p>';
                    endif;
                    ?>
                </div>
            </div>
        </div>
    </section>
<?php get_footer(); ?>