diff --git a/comicpress-config.php b/comicpress-config.php
index ff2bd9a..0f610cc 100644
--- a/comicpress-config.php
+++ b/comicpress-config.php
@@ -1,19 +1,19 @@
"default",
"type" => "comicpress-calendar_directory"),
+ array(
+ "id" => "comicpress-disable_dynamic_menubar_links",
+ "default" => "no",
+ "type" => "comicpress-disable_dynamic_menubar_links"),
+
array("type" => "close")
);
diff --git a/comicpress-options.php b/comicpress-options.php
index 2f47574..ce2dd79 100644
--- a/comicpress-options.php
+++ b/comicpress-options.php
@@ -78,9 +78,10 @@ function comicpress_admin() {
Theme Style
-
General Settings
+
General
Index Page
-
Post Options
+
Post
+
Menubar
Custom Header
Buy Print
@@ -143,63 +144,6 @@ function comicpress_admin() {
-
- Enable Search Form in Menubar?
|
-
-
-
-
- |
-
- Searchforms can be fun when you have something to search for.
- |
-
-
-
-
- Enable RSS Link in Menubar?
|
-
-
-
-
- |
-
- It's a link, it links to the RSS. It does *not* link to your the winning lottory numbers.
- |
-
-
-
-
- Enable mini navigation buttons in the Menubar?
|
-
-
-
-
- |
-
- Mini Navigation arrows reside on the right side of the menubar, just the previous and next arrows.
- |
-
-
-
-
- Contact Link in Menubar
Setting to "Yes" will put [ CONTACT ] in the menubar and associate it with your admin's email. |
-
-
-
-
- |
-
- You can also create a links category called "menulinks" and whatever link you add to that will appear in the menubar.
- |
-
-
-
Enable Sidebar CSS?
Enabling this will use the standard CSS styling of the sidebars for all the widget areas.
|
@@ -621,7 +565,95 @@ function comicpress_admin() {
-
+
+
+
diff --git a/index.php b/index.php
index 030b74e..ebd02d0 100644
--- a/index.php
+++ b/index.php
@@ -23,12 +23,11 @@
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
-
+
+
+
+
+
diff --git a/sidebar-header.php b/sidebar-header.php
index 52c8017..14af939 100644
--- a/sidebar-header.php
+++ b/sidebar-header.php
@@ -1,7 +1,7 @@
-
+
-
+
diff --git a/single.php b/single.php
index bfd983f..357e7b5 100644
--- a/single.php
+++ b/single.php
@@ -18,14 +18,13 @@
-
-
-
+
+
+
+
+
+
+
diff --git a/widgets/menubar.php b/widgets/menubar.php
index 8b86399..5da98c5 100644
--- a/widgets/menubar.php
+++ b/widgets/menubar.php
@@ -11,7 +11,7 @@ Author URI: http://webcomicplanet.com/
function comicpress_menubar() {
- global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$enable_navigation_in_menubar;
+ global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$enable_navigation_in_menubar,$disable_dynamic_menubar_links;
if (file_exists(get_template_directory() . '/custom-menubar.php') || function_exists('suckerfish')) {
if (function_exists('suckerfish')) {
suckerfish();
@@ -49,15 +49,18 @@ function comicpress_menubar() {
]*)>#', '', $menulinks);
- $menulinks = preg_replace('#]*)>#', '', $menulinks);
- $menulinks = str_replace('
', '', $menulinks);
- $bookmarkargs =
- $bookmarks = wp_list_bookmarks('echo=0&title_li=&categorize=1&title_before=&title_after=&exclude_name=menubar');
- $bookmarks = preg_replace('#]*)>#', '', $bookmarks);
- $bookmarks = preg_replace('#]*)>#', '', $bookmarks);
- $listpages = wp_list_pages('echo=0&sort_column=menu_order&depth=4&title_li=');
+ $menulinks = wp_list_bookmarks('echo=0&title_li=&categorize=0&title_before=&title_after=&category_name=menubar');
+ $menulinks = preg_replace('#- ]*)>#', '
- ', $menulinks);
+ $menulinks = preg_replace('#
]*)>#', '', $menulinks);
+ $menulinks = str_replace('
', '', $menulinks);
+ $bookmarkargs =
+ $bookmarks = wp_list_bookmarks('echo=0&title_li=&categorize=1&title_before=&title_after=&exclude_name=menubar');
+ $bookmarks = preg_replace('# - ]*)>#', '
- ', $bookmarks);
+ $bookmarks = preg_replace('#
]*)>#', '', $bookmarks);
+ $listpages = '';
+ if ($disable_dynamic_menubar_links != 'yes') {
+ $listpages = wp_list_pages('echo=0&sort_column=menu_order&depth=4&title_li=');
+ }
if (!empty($bookmarks)) {
$listpages = str_replace('Links
', 'Links