mirror of
https://github.com/KevinMidboe/rohnenedre.git
synced 2026-02-12 12:29:17 +00:00
Initial commit. State 04.2021.
This commit is contained in:
32
wp-content/themes/professional/sidebar.php
Normal file
32
wp-content/themes/professional/sidebar.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* The Sidebar containing the main widget areas.
|
||||
*
|
||||
* @package Professional
|
||||
*/
|
||||
?>
|
||||
<div id="secondary" class="widget-area col-md-4" role="complementary">
|
||||
<?php if ( ! dynamic_sidebar( 'sidebar-primary' ) ) : ?>
|
||||
|
||||
<aside id="archives" class="widget">
|
||||
<h1 class="widget-title"><?php _e( 'Archives', 'professional' ); ?></h1>
|
||||
<ul>
|
||||
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<aside id="meta" class="widget">
|
||||
<h1 class="widget-title"><?php _e( 'Meta', 'professional' ); ?></h1>
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
<?php wp_meta(); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<aside id="search" class="widget widget_search">
|
||||
<?php get_search_form(); ?>
|
||||
</aside>
|
||||
|
||||
<?php endif; // end sidebar widget area ?>
|
||||
</div><!-- #secondary -->
|
||||
Reference in New Issue
Block a user