projects
/
WP-Themes
/
glmOrigin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5f02f
)
adding admin includes to the functions file
master
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 28 Aug 2018 14:44:06 +0000
(10:44 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 28 Aug 2018 14:44:06 +0000
(10:44 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
e0f25d8
..
bfce940
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-1,7
+1,8
@@
<?php
require_once 'lib/menu-walker.php';
require_once 'lib/navigation.php';
-
+if( is_admin() )
+ include_once 'admin/index.php';
$ancestorId = null;
$includePages = array();
$frontPageId = get_option('page_on_front');