summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-29 12:03:30 -0800
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-29 12:03:30 -0800
commit8f30b0e170c9b8dfbf66a77183ef6a2f8ede332f (patch)
treebb1a8dbdb1981fead425126873b67d2d643c660c
parent10923b838a8990cfb05d79c8d9dd503e713a3077 (diff)
add sidebar-index.php; on the lifegrid server, this was sitting planted inside of twentyeleven, so it was being inherited.
-rw-r--r--.gitignore5
-rw-r--r--sidebar-index.php7
-rw-r--r--theme.mk3
3 files changed, 12 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 298c205..e2cab0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,8 +3,6 @@
# ignore everyting
*
# but these:
-!license.txt
-!twentyeleven-fix.scss
!style.scss
!functions.php
!screenshot.png
@@ -12,6 +10,9 @@
!header.php.patch
!single.php.patch
!content-single.php
+!sidebar-index.php
+!twentyeleven-fix.scss
+!license.txt
!.gitignore
!theme.mk
!Makefile
diff --git a/sidebar-index.php b/sidebar-index.php
new file mode 100644
index 0000000..75558a7
--- /dev/null
+++ b/sidebar-index.php
@@ -0,0 +1,7 @@
+<?php
+if (!is_active_sidebar( 'index-page-widgetarea' ))
+ return;
+?>
+<div id="index-widget">
+ <?php dynamic_sidebar( 'sidebar-4' ); ?>
+</div>
diff --git a/theme.mk b/theme.mk
index 19dcd8d..7e39d8d 100644
--- a/theme.mk
+++ b/theme.mk
@@ -5,7 +5,8 @@ srcfiles = \
index.php.patch \
header.php.patch \
single.php.patch \
- content-single.php
+ content-single.php \
+ sidebar-index.php
targets = style.css header.php index.php single.php