<?php /** * The main template file * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file exists. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Education_LMS */ get_header(); ?> <div id="primary" class="content-area"> <div class="container"> <div class="row"> <main id="main" class="site-main col-sm-9"> <div class="blog-content"> <?php if ( have_posts() ) : /* Start the Loop */ while ( have_posts() ) : the_post(); /* * Include the Post-Type-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Type name) and that will be used instead. */ get_template_part( 'template-parts/content', get_post_type() ); endwhile; the_posts_navigation(); else : get_template_part( 'template-parts/content', 'none' ); endif; ?> </div> </main><!-- #main --> <?php get_sidebar() ; ?> </div> </div> </div><!-- #primary --> <?php get_footer();
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
assets | Folder | 0755 |
|
|
inc | Folder | 0755 |
|
|
learnpress | Folder | 0755 |
|
|
template-parts | Folder | 0755 |
|
|
404.php | File | 898 B | 0644 |
|
archive.php | File | 1.32 KB | 0644 |
|
comments.php | File | 2.01 KB | 0644 |
|
footer.php | File | 2.72 KB | 0644 |
|
fullwidth-template.php | File | 531 B | 0644 |
|
functions.php | File | 9.64 KB | 0644 |
|
header.php | File | 1.7 KB | 0644 |
|
index.php | File | 1.57 KB | 0644 |
|
page.php | File | 1.22 KB | 0644 |
|
readme.txt | File | 3.84 KB | 0644 |
|
rtl.css | File | 2.13 KB | 0644 |
|
screenshot.png | File | 57.04 KB | 0644 |
|
search.php | File | 1.77 KB | 0644 |
|
sidebar.php | File | 448 B | 0644 |
|
single.php | File | 1.51 KB | 0644 |
|
style.css | File | 283.76 KB | 0644 |
|
woocommerce.php | File | 408 B | 0644 |
|