This repository has been archived by the owner on Nov 19, 2023. It is now read-only.
forked from korbinian/Piratenkleider
-
Notifications
You must be signed in to change notification settings - Fork 24
/
sidebar-startpage-contentfooter.php
47 lines (40 loc) · 1.72 KB
/
sidebar-startpage-contentfooter.php
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
43
44
45
46
47
<?php
global $options;
?>
<div class="startpage-widget-area">
<div class="first-startpage-widget-area">
<div class="skin">
<?php if ( is_active_sidebar( 'first-startpage-widget-area' ) ) { ?>
<?php dynamic_sidebar( 'first-startpage-widget-area' ); ?>
<?php } else {
if ($options['aktiv-startseite-kategorien']==1) { ?>
<div class="widget">
<h3><?php _e("Categories", 'piratenkleider'); ?></h3>
<ul>
<?php wp_list_categories('title_li='); ?>
</ul>
</div>
<?php } } ?>
</div>
</div>
<div class="second-startpage-widget-area">
<div class="skin">
<?php if ( is_active_sidebar( 'second-startpage-widget-area' ) ) { ?>
<?php dynamic_sidebar( 'second-startpage-widget-area' ); ?>
<?php } else {
if ($options['aktiv-startseite-tags']==1) {
?>
<div class="widget">
<?php
$tags = get_tags();
if ((isset($tags)) && (count($tags)>0)) { ?>
<h3><?php _e("Tags", 'piratenkleider'); ?></h3>
<div class="tagcloud">
<?php wp_tag_cloud(array('format' => 'list', 'smallest' => 14, 'largest' => 28)); ?>
</div>
<?php } ?>
</div>
<?php } } ?>
</div>
</div>
</div>