• File: sidebar.php
  • Full Path: /home/matthif/www/wp-content/themes/neve/views/sidebar.php
  • Date Modified: 01/24/2024 5:49 PM
  • File size: 915 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Sidebar view template
 *
 * @package Neve
 */


?>
<div class="nv-sidebar-wrap col-sm-12 <?php echo esc_attr$args['wrap_classes'] ); ?><?php echo wp_kses_post$args['data_attrs'] ); ?>>
    <?php echo ( $args['close_button'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    <aside id="secondary" role="complementary">
        <?php
        
/**
         * Executes actions before the sidebar content.
         *
         * @since 2.3.8
         */
        
do_action'neve_before_sidebar_content'$args['context'], $args['position'] );
        
?>

        <?php
        $has_custom_sidebar 
apply_filters'neve_has_custom_sidebar'false$args['context'] );
        if ( ! 
$has_custom_sidebar ) {
            
dynamic_sidebar$args['slug'] );
        }
        
?>

        <?php
        
/**
         * Executes actions after the sidebar content.
         *
         * @since 2.3.8
         */
        
do_action'neve_after_sidebar_content'$args['context'], $args['position'] );
        
?>
    </aside>
</div>