Make WordPress Themes

source: multisport/1.0.9/sidebar-footer.php

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

New version of MultiSport - 1.0.9

File size: 2.7 KB
Line 
1<?php
2/**
3 * The sidebar containing the main footer columns widget areas
4 *
5 */
6?>
7
8<div id="footer-cols">
9
10        <div id="footer-cols-inner">
11
12                <?php 
13                        /**
14                         * Display widgets dragged in 'Footer Columns 1' widget areas
15                         */
16                ?>
17                <div class="col3a">
18
19                        <?php if ( !dynamic_sidebar( 'footer-column-1-widget-area' ) && current_user_can('edit_theme_options') ) : ?>
20
21                                                <h2 class="footer-title">
22                                                        <?php esc_html_e('Footer Col Widget 1', 'multisport'); ?>
23                                                </h2><!-- .footer-title -->
24                                               
25                                                <div class="footer-after-title">
26                                                </div><!-- .footer-after-title -->
27                                               
28                                                <div class="textwidget">
29                                                        <?php esc_html_e('This is first footer widget area. To customize it, please navigate to Admin Panel -> Appearance -> Widgets and add widgets to Footer Column #1.', 'multisport'); ?>
30                                                </div><!-- .textwidget -->
31                       
32                        <?php endif; // end of ! dynamic_sidebar( 'footer-column-1-widget-area' )
33                                  ?>
34
35                </div><!-- .col3a -->
36               
37                <?php 
38                        /**
39                         * Display widgets dragged in 'Footer Columns 2' widget areas
40                         */
41                ?>
42                <div class="col3b">
43                        <?php if ( !dynamic_sidebar( 'footer-column-2-widget-area' ) && current_user_can('edit_theme_options') ) : ?>
44                       
45                                        <h2 class="footer-title">
46                                                <?php esc_html_e('Footer Col Widget 2', 'multisport'); ?>
47                                        </h2><!-- .footer-title -->
48                                       
49                                        <div class="footer-after-title">
50                                        </div><!-- .footer-after-title -->
51                                       
52                                        <div class="textwidget">
53                                                <?php esc_html_e('This is second footer widget area. To customize it, please navigate to Admin Panel -> Appearance -> Widgets and add widgets to Footer Column #2.', 'multisport'); ?>
54                                        </div><!-- .textwidget -->
55                                               
56                        <?php endif; // end of ! dynamic_sidebar( 'footer-column-2-widget-area' )
57                                  ?>
58                       
59                </div><!-- .col3b -->
60               
61                <?php 
62                        /**
63                         * Display widgets dragged in 'Footer Columns 3' widget areas
64                         */
65                ?>
66                <div class="col3c">
67                        <?php if ( !dynamic_sidebar( 'footer-column-3-widget-area' ) && current_user_can('edit_theme_options') ) : ?>
68                       
69                                        <h2 class="footer-title">
70                                                <?php esc_html_e('Footer Col Widget 3', 'multisport'); ?>
71                                        </h2><!-- .footer-title -->
72                                       
73                                        <div class="footer-after-title">
74                                        </div><!-- .footer-after-title -->
75                                       
76                                        <div class="textwidget">
77                                                <?php esc_html_e('This is third footer widget area. To customize it, please navigate to Admin Panel -> Appearance -> Widgets and add widgets to Footer Column #3.', 'multisport'); ?>
78                                        </div><!-- .textwidget -->
79                                               
80                        <?php endif; // end of ! dynamic_sidebar( 'footer-column-2-widget-area' )
81                                  ?>
82                       
83                </div><!-- .col3c -->
84               
85                <div class="clear">
86                </div><!-- .clear -->
87
88        </div><!-- #footer-cols-inner -->
89
90</div><!-- #footer-cols -->
Note: See TracBrowser for help on using the repository browser.