-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsidebar.php
More file actions
42 lines (33 loc) · 1.15 KB
/
sidebar.php
File metadata and controls
42 lines (33 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<div id="sidebar">
<div id="blogLogo">
<h1 id="blogTitle"><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
<!-- <a href="<?php echo get_option('home'); ?>"><img src="<?php echo get_bloginfo('template_url'); ?>/images/yourOptionalLogo.png" alt="blog logo"/></a> -->
<div id="theBlogDescription">
<p><?php bloginfo('description'); ?></p>
</div>
</div>
<div class="about">
<ul id="widgetBar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
<?php endif; ?>
</ul>
</div>
<div class="left-sidecolumn ">
<ul id="widgetBar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
<?php endif; ?>
</ul>
</div>
<div class="right-sidecolumn ">
<ul id="widgetBar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?>
<?php endif; ?>
</ul>
</div>
</div>