Utilising theme.ini to restrict menu items.
authorLaury GvR <laury@gaslightmedia.com>
Wed, 3 Jun 2015 13:42:21 +0000 (09:42 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 3 Jun 2015 13:42:28 +0000 (09:42 -0400)
footer.php
theme.ini [new file with mode: 0644]

index 674acd2..747f582 100644 (file)
@@ -15,8 +15,8 @@
                                                 <h3>Toski Sands Market</h3>
                                                 <span>2296 Petoskey Harbor Springs Rd (M-119)</span>
                                                 <span>Petoskey, MI 49770</span>
-                                                <span>
-                                                    <a href="http://toskisandsmarket.gaslightmedia.com/location/" target="_blank">
+                                                <br><span>
+                                                    <a href="<?php echo get_home_url(); ?>/location/">
                                                         Location
                                                     </a>
                                                 </span>
diff --git a/theme.ini b/theme.ini
new file mode 100644 (file)
index 0000000..e00285a
--- /dev/null
+++ b/theme.ini
@@ -0,0 +1,7 @@
+; This is a theme configuration file
+
+[menu_options]
+;main_level_pages = 66, 31, 29, 51, 27, 41, 130
+;main_level_pages = 63, 61, 62, 59, 60, 33, 29, 31, 25, 27
+main_level_pages = 53, 60, 68, 70, 74, 72,
+