-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpage-sidebar.php
48 lines (43 loc) · 1.37 KB
/
page-sidebar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Ttemplate name: With Sidebar
*
* @package ideal WordPress Theme
* @version 1.0.0
*/
// Exit if accessed directly
if (!defined('ABSPATH')) {
exit;
}
get_header();
global $ideal_is_page_cards,$ideal_flex,$id_sticky;?>
<div id="ideal-pagecontent" class="ideal-site-content uk-section">
<div class="uk-container uk-container-expand">
<div class=" uk-grid-column-small" uk-grid>
<div class="id-con-warp uk-width-expand@m">
<div class="uk-container">
<?php if (!empty($ideal_is_page_cards) && $ideal_is_page_cards == true) { echo '<div class="uk-card uk-card-default uk-card-body">';}?>
<?php
if (have_posts()):
while (have_posts()):
the_post();
the_content();
if ($ideal_is_page_cards == true ) {
echo '</div>';}
ideal_comment_open();
endwhile;
endif;
?>
</div>
</div> <!--/id-con-warp-->
<div id="sidebar" class="uk-width-1-4@m uk-width-1-4@l <?php echo $flex; ?>">
<div class=" uk-container uk-container-expand " id="blog-sidebar">
<div class="side-bar uk-flex uk-flex-column" <?php echo $ideal_is_sticky; ?>>
<?php get_sidebar();?>
</div>
</div>
</div> <!--/sidebar-->
</div>
</div>
<?php
get_footer();