xarxaprod-wp-theme/sidebar.php

18 lines
365 B
PHP
Raw Permalink Normal View History

2024-01-09 16:13:20 +01:00
<?php
/**
* The sidebar containing the main widget area
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Xarxaprod_theme
2024-01-09 16:13:20 +01:00
*/
if ( ! is_active_sidebar( 'after-content' ) ) {
2024-01-09 16:13:20 +01:00
return;
}
?>
<aside id="secondary" class="widget-area">
<?php dynamic_sidebar( 'after-content' ); ?>
2024-01-09 16:13:20 +01:00
</aside><!-- #secondary -->