mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-26 07:44:53 +08:00
Initial commit
This commit is contained in:
commit
9f13aa6240
389 changed files with 84369 additions and 0 deletions
29
sidebar.php
Normal file
29
sidebar.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
$sidebar = split_sidebar_primary();
|
||||
$layout = split_layout_class();
|
||||
if ( $layout != 'col-1c'):
|
||||
?>
|
||||
|
||||
<div id="split-sidebar">
|
||||
|
||||
<div class="sidebar s1">
|
||||
|
||||
<div class="sidebar-content">
|
||||
|
||||
<?php if ( get_theme_mod( 'post-nav','s1' ) == 's1') { get_template_part('inc/post-nav'); } ?>
|
||||
|
||||
<?php if( is_page_template('page-templates/child-menu.php') ): ?>
|
||||
<ul class="child-menu group">
|
||||
<?php wp_list_pages('title_li=&sort_column=menu_order&depth=3'); ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php dynamic_sidebar($sidebar); ?>
|
||||
|
||||
</div><!--/.sidebar-content-->
|
||||
|
||||
</div><!--/.sidebar-->
|
||||
|
||||
</div><!--/#split-sidebar-->
|
||||
|
||||
<?php endif; ?>
|
Loading…
Add table
Add a link
Reference in a new issue