<?php /** * The template for displaying all pages * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site may use a * different template. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Education_LMS */ get_header(); $pageid = get_the_ID(); $profile = absint( education_lms_get_setting('learn_press_profile_page_id') ); $col = ( $pageid == $profile ) ? 12 : 9; ?> <div id="primary" class="content-area"> <div class="container"> <div class="row"> <main id="main" class="site-main col-md-<?php echo absint( $col ) ?>"> <?php while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', 'page' ); endwhile; // End of the loop. ?> </main><!-- #main --> <?php if ( $pageid != $profile ) { 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 | 3.31 KB | 0644 |
|
fullwidth-template.php | File | 531 B | 0644 |
|
functions.php | File | 10.15 KB | 0644 |
|
header.php | File | 1.37 KB | 0644 |
|
index.php | File | 1.57 KB | 0644 |
|
page.php | File | 1.22 KB | 0644 |
|
readme.txt | File | 2.77 KB | 0644 |
|
screenshot.png | File | 230.88 KB | 0644 |
|
search.php | File | 1.77 KB | 0644 |
|
sidebar.php | File | 589 B | 0644 |
|
single.php | File | 1.51 KB | 0644 |
|
style.css | File | 63.09 KB | 0644 |
|
woocommerce.php | File | 408 B | 0644 |
|