Make WordPress Themes

source: fluida/0.9.9.1/sidebar-right.php

Last change on this file was 66243, checked in by themedropbox, 9 years ago

New version of Fluida - 0.9.9.1

File size: 1.0 KB
Line 
1<?php
2/**
3 * The Sidebar that is normally displayed on the right side (Secondary).
4 *
5 * @package Fluida
6 */
7?>
8
9<aside id="secondary" class="widget-area sidey" role="complementary" <?php cryout_schema_microdata( 'sidebar' );?>>
10        <?php cryout_before_secondary_widgets_hook(); ?>
11
12        <?php if ( is_active_sidebar( 'widget-area-right' ) ): 
13                                dynamic_sidebar( 'widget-area-right' );
14                  else: ?>
15                 
16                        <section class="widget-container widget-placeholder">
17                                <h3 class="widget-title"><?php _e( 'Right Sidebar', 'fluida' ); ?></h3>
18                                <p>
19                                        <?php
20                                        printf( __( 'You currently have no widgets set in the right sidebar. You can add widgets via the <a href="%s">Dashboard</a>.', 'fluida' ), esc_url( admin_url() . "widgets.php" ) ); echo "<br/>";
21                                        printf( __( 'To hide this sidebar, switch to a different Layout via the <a href="%s">Theme Customizations</a>.', 'fluida' ), esc_url( admin_url() . "customize.php" ) );
22                                        ?>
23                                </p>
24                        </section>
25                       
26        <?php endif; ?>
27
28        <?php cryout_after_primary_widgets_hook(); ?>
29</aside>
Note: See TracBrowser for help on using the repository browser.