mirror of
https://gh.wpcy.net/https://github.com/presscustomizr/hueman.git
synced 2026-04-25 04:09:15 +08:00
* fixed : Language Label in Translation Files * fixed : the author name links to the post itself * fixed : Featured post slider controls (arrows) overflow content container when blog heading is disabled * fixed : Header image alt attribute is empty. * fixed : Change Default Widget Names and CSS id properties. Could be in collision with some plugins * added : Featured posts : new option to display the full content (instead of the excerpt) of the featured posts. Modified template : content-featured.php. * added : Featured posts : swipe gesture supported on mobile devices like tablets and smartphones * added : Customizer : Pre setup step when adding a new widget zone or social icons. * improved : Customizer user interface have been improved for the social links and the widget zones. It's now easier to drag, edit and remove items. * improved : Introduced a pluggable function ( hu_print_placeholder_thumb() )to print the placeholder thumbnail. Modified templates : content-featured.php, content.php, parts/related-posts.php * updated : jQuery FlexSider to v2.6.0 (latest). Support swipe touch navigation * changed : Header widget and full width footer widget are now enabled by default * changed : The footer-ads option has been moved in the Footer Design section. The title and description of this setting have been clarified.
37 lines
No EOL
1 KiB
PHP
37 lines
No EOL
1 KiB
PHP
<?php $layout = hu_layout_class(); ?>
|
|
<?php if ( $layout != 'col-1c'): ?>
|
|
|
|
<div class="sidebar s1">
|
|
|
|
<a class="sidebar-toggle" title="<?php _e('Expand Sidebar','hueman'); ?>"><i class="fa icon-sidebar-toggle"></i></a>
|
|
|
|
<div class="sidebar-content">
|
|
|
|
<?php if ( hu_is_checked('sidebar-top') ): ?>
|
|
<div class="sidebar-top group">
|
|
<p><?php echo hu_has_social_links() ? __('Follow:','hueman') : ' ' ; ?></p>
|
|
<?php hu_print_social_links() ; ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?php if ( hu_get_option( 'post-nav' ) == 's1') { get_template_part('parts/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 hu_print_widgets_in_location('s1') ?>
|
|
|
|
</div><!--/.sidebar-content-->
|
|
|
|
</div><!--/.sidebar-->
|
|
|
|
<?php
|
|
if ( in_array( $layout, array('col-3cm', 'col-3cl', 'col-3cr' ) ) ) {
|
|
get_template_part('sidebar-2');
|
|
}
|
|
?>
|
|
|
|
<?php endif; ?>
|