<?php $classes = array(); $theme_options_data = get_theme_mods(); $columns = ! empty( $theme_options_data['thim_front_page_cate_columns_grid'] ) ? $theme_options_data['thim_front_page_cate_columns_grid'] : 3; $show_author = ! empty( $theme_options_data['thim_show_author'] ) && $theme_options_data['thim_show_author'] == '1'; $show_date = ! empty( $theme_options_data['thim_show_date'] ) && $theme_options_data['thim_show_date'] == '1'; $show_comment = ! empty( $theme_options_data['thim_show_comment'] ) && $theme_options_data['thim_show_comment'] == '1'; $classes[] = 'blog-grid-' . $columns; switch ( $columns ) { case 2: $arr_size = array( '570', '300' ); break; case 3: $arr_size = array( '370', '220' ); break; default: $arr_size = array( '270', '150' ); } ?> <article id="post-<?php the_ID(); ?>" <?php post_class( $classes ); ?>> <div class="content-inner"> <?php do_action( 'thim_entry_top', 'full' ); ?> <div class="entry-content"> <?php if ( has_post_format( 'link' ) && thim_meta( 'thim_link_url' ) && thim_meta( 'thim_link_text' ) ) { $url = thim_meta( 'thim_link_url' ); $title = thim_meta( 'thim_link_text' ); } else { $url = get_permalink(); $title = get_the_title(); } if ( $show_author ) { ?> <div class="author"> <?php echo get_avatar( get_the_author_meta( 'ID' ), 40 ); ?> <?php printf( '<span class="vcard author author_name"><a href="%1$s">%2$s</a></span>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ); ?> </div> <?php } ?> <header class="entry-header"> <div class="entry-contain"> <?php echo sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">%s</a></h2>', esc_url( $url ), esc_attr( $title ) ); ?> <?php thim_entry_meta(); ?> </div> </header> <div class="entry-grid-meta"> <?php if ( $show_date ) { ?> <div class="date"> <i class="fa fa-calendar"></i><?php echo get_the_date( get_option( 'date_format' ) ); ?> </div> <?php } if ( $show_comment ) { $comments = wp_count_comments( get_the_ID() ); ?> <div class="comments"><i class="fa fa-comment"></i><?php echo $comments->total_comments; ?> </div> <?php } ?> </div> <div class="entry-summary"> <?php the_excerpt(); ?> </div> <div class="readmore"> <a href="<?php echo esc_url( get_permalink() ); ?>"><?php echo esc_html__( 'Read More', 'eduma' ); ?></a> </div> </div> </div> </article><!-- #post-## -->
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
assets | Folder | 0755 |
|
|
bbpress | Folder | 0755 |
|
|
buddypress | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
inc | Folder | 0755 |
|
|
languages | Folder | 0755 |
|
|
learnpress-v3 | Folder | 0755 |
|
|
learnpress-v4 | Folder | 0755 |
|
|
lp-child-path | Folder | 0755 |
|
|
our-team | Folder | 0755 |
|
|
page-templates | Folder | 0755 |
|
|
paid-memberships-pro | Folder | 0755 |
|
|
portfolio | Folder | 0755 |
|
|
testimonials | Folder | 0755 |
|
|
thim-elementor-kit | Folder | 0755 |
|
|
thim-twitter | Folder | 0755 |
|
|
vc_templates | Folder | 0755 |
|
|
video-conferencing-zoom | Folder | 0755 |
|
|
woocommerce | Folder | 0755 |
|
|
wp-events-manager | Folder | 0755 |
|
|
404.php | File | 1.52 KB | 0644 |
|
archive.php | File | 1.38 KB | 0644 |
|
changelog.html | File | 48.42 KB | 0644 |
|
comments.php | File | 3.24 KB | 0644 |
|
content-grid.php | File | 2.55 KB | 0644 |
|
content-none.php | File | 1.12 KB | 0644 |
|
content-page.php | File | 492 B | 0644 |
|
content-search.php | File | 1.64 KB | 0644 |
|
content-single.php | File | 1.23 KB | 0644 |
|
content.php | File | 1.49 KB | 0644 |
|
footer.php | File | 695 B | 0644 |
|
functions.php | File | 30.84 KB | 0644 |
|
header.php | File | 1.92 KB | 0644 |
|
index.html | File | 0 B | 0644 |
|
index.php | File | 1.39 KB | 0644 |
|
integrations.txt | File | 308 B | 0644 |
|
page.php | File | 932 B | 0644 |
|
readme.txt | File | 27 B | 0644 |
|
rtl-min.css | File | 97.01 KB | 0644 |
|
rtl.css | File | 112.5 KB | 0644 |
|
screenshot.png | File | 202.42 KB | 0644 |
|
search.php | File | 971 B | 0644 |
|
sidebar-courses.php | File | 802 B | 0644 |
|
sidebar-events.php | File | 1.98 KB | 0644 |
|
sidebar-shop.php | File | 744 B | 0644 |
|
sidebar.php | File | 724 B | 0644 |
|
single.php | File | 997 B | 0644 |
|
style-editor.css | File | 2.73 KB | 0644 |
|
style.css | File | 626.36 KB | 0644 |
|
wpml-config.xml | File | 17.3 KB | 0644 |
|