Rev | Line | |
---|
[44] | 1 | <!-- BEGIN sidebar -->
|
---|
| 2 | <div id="sidebar">
|
---|
| 3 |
|
---|
| 4 | <?php if ( !function_exists('dynamic_sidebar')
|
---|
| 5 | || !dynamic_sidebar(1) ) : ?>
|
---|
| 6 |
|
---|
| 7 | <!-- begin advertisement -->
|
---|
| 8 | <div class="ads">
|
---|
| 9 | <a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad125x125.jpg" alt="Advertisement" /></a>
|
---|
| 10 | <a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad125x125.jpg" alt="Advertisement" /></a>
|
---|
| 11 | <a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad125x125.jpg" alt="Advertisement" /></a>
|
---|
| 12 | <a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad125x125.jpg" alt="Advertisement" /></a>
|
---|
| 13 | </div>
|
---|
| 14 | <!-- end advertisement -->
|
---|
| 15 |
|
---|
| 16 | <!-- begin search -->
|
---|
| 17 | <form action="<?php echo get_option('home'); ?>/" class="search">
|
---|
| 18 | <input type="text" name="s" id="s" value="<?php the_search_query(); ?>" />
|
---|
| 19 | <button type="submit">Go</button>
|
---|
| 20 | </form>
|
---|
| 21 | <!-- end search -->
|
---|
| 22 |
|
---|
| 23 | <!-- begin popular posts -->
|
---|
| 24 | <div class="box">
|
---|
| 25 | <h2>Popular Posts</h2>
|
---|
| 26 | <ul>
|
---|
| 27 | <?php dp_popular_posts(6); ?>
|
---|
| 28 | </ul>
|
---|
| 29 | </div>
|
---|
| 30 | <!-- end popular posts -->
|
---|
| 31 |
|
---|
| 32 | <!-- begin flickr photos -->
|
---|
| 33 | <div class="box">
|
---|
| 34 | <h2>Flickr Photos</h2>
|
---|
| 35 | <div class="flickr">
|
---|
| 36 | <?php if (function_exists('get_flickrRSS')) get_flickrRSS(); ?>
|
---|
| 37 | </div>
|
---|
| 38 | </div>
|
---|
| 39 | <!-- end flickr photos -->
|
---|
| 40 |
|
---|
| 41 | <!-- begin featured video -->
|
---|
| 42 | <div class="box">
|
---|
| 43 | <h2>Featured Video</h2>
|
---|
| 44 | <div class="video">
|
---|
| 45 | <script type="text/javascript">showVideo('<?php echo dp_settings("youtube") ?>');</script>
|
---|
| 46 | </div>
|
---|
| 47 | </div>
|
---|
| 48 | <!-- end featured video -->
|
---|
| 49 |
|
---|
| 50 | <!-- begin tag cloud -->
|
---|
| 51 | <div class="box">
|
---|
| 52 | <h2>Tag Cloud</h2>
|
---|
| 53 | <div class="tags">
|
---|
| 54 | <?php
|
---|
| 55 | if (function_exists('wp_cumulus_insert')) : wp_cumulus_insert();
|
---|
| 56 | elseif (function_exists('wp_widget_tag_cloud')) : wp_widget_tag_cloud(array('before_title'=>'<!--','after_title'=>'-->'));
|
---|
| 57 | endif;
|
---|
| 58 | ?>
|
---|
| 59 | </div>
|
---|
| 60 | </div>
|
---|
| 61 | <!-- end tag cloud -->
|
---|
| 62 |
|
---|
| 63 | <?php endif; ?>
|
---|
| 64 |
|
---|
| 65 | </div>
|
---|
| 66 | <!-- END sidebar -->
|
---|
Note:
See
TracBrowser
for help on using the repository browser.