BYPASS SHELL BY ./RAZORGANZ
Server: nginx/1.20.1
System: Linux iZdzfnv9mwfppeZ 5.10.134-19.2.al8.x86_64 #1 SMP Wed Oct 29 22:47:09 CST 2025 x86_64
User: apache (48)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/online-education-classes/template-parts/grid-layout.php
<?php
/**
 * Template part for displaying grid layout.
 *
 * @package Online Education Classes
 */
?>

<div class="col-lg-4 col-md-4 col-4">
	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <div class="blog-post">
            <div class="blog-image-wrapper">
                <?php
                    if(has_post_thumbnail()) {
                        ?>
                            <div class="image"><a href="<?php echo esc_url(get_permalink());?>" rel="bookmark"><?php
                                the_post_thumbnail('full');
                        ?> </a></div><?php
                    }
                ?>
            </div>
            <div class="blog-content-wrapper">               
                <div class="meta">
                    <?php
                        if(true===get_theme_mod('online_education_classes_enable_posts_meta_author',true)) :
                            ?>
                                <span class="meta-item author"><i class="bi bi-person"></i> <a class="author-post-url" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) ?>"><?php the_author() ?></a>
                                </span>
                            <?php
                        endif;

                        if(true===get_theme_mod('online_education_classes_enable_posts_meta_date',true)) :
                            ?>
                                <span class="meta-item date"><i class="bi bi-calendar-check"></i> <?php the_time(get_option('date_format')) ?>
                                </span>
                            <?php
                        endif;

                        if(true===get_theme_mod('online_education_classes_enable_posts_meta_comments',true)) :
                            ?>
                            <span class="meta-item comments"><i class="bi bi-chat-dots"></i> <a class="post-comments-url" href="<?php the_permalink() ?>#comments"><?php comments_number('0','1','%'); ?></a>
                                </span>
                            <?php
                        endif;
                    ?>
                </div>
                <h2 class="entry-title">
                    <?php
                        if (is_sticky() && is_home()) :
                            echo "<i class='bi bi-tags'></i>";
                        endif;
                    ?>
                    <a href="<?php echo esc_url(get_permalink());?>"rel="bookmark"><?php the_title();?></a>
                </h2>
                <div class="content">
                    <?php
                        if(is_single()){
                            the_content();
                            wp_link_pages(array(
                                'before'      => '<div class="page-link">' . esc_html__('Pages:','online-education-classes'),
                                'after'       => '</div>',
                                'link_before' => '<span>',
                                'link_after'  => '</span>',
                            ));
                            ?>
                                <div class="post-tags">
                                    <?php the_tags(); ?>
                                </div>
                                <div class="post-categories">
                                    <?php esc_html_e('Categories:','online-education-classes') ?><?php the_category(); ?>
                                </div>
                            <?php
                        }
                        else{
                            the_excerpt();
                            $online_education_classes_readmore = esc_html(get_theme_mod('online_education_classes_posts_readmore_text',esc_html__('READ MORE +','online-education-classes')));
                            if(!empty($online_education_classes_readmore)) {
                                ?>
                                    <div class="read-more">
                                        <a href="<?php echo esc_url(get_permalink() ); ?>"><?php echo $online_education_classes_readmore ?></a>
                                    </div>
                                <?php
                            }
                        }
                    ?>
                </div>                
            </div>
        </div>
    </article>
</div>