This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
cookthebooks-legacy/sidebar-left.php

23 lines
486 B
PHP

<?php
/**
* The sidebar containing the left widget area.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package PressBook
*/
if ( ! is_active_sidebar( 'sidebar-2' ) ) {
return;
}
do_action( 'pressbook_before_left_sidebar' );
?>
<aside id="secondary-left" class="widget-area c-sidebar c-sidebar-left">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</aside><!-- #secondary-left -->
<?php
do_action( 'pressbook_after_left_sidebar' );