From cd60227bcea19b29663fcce29f935ac97c25ccbf Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 6 Jan 2016 13:35:22 -0500 Subject: [PATCH] added facebook icon to footer --- assets/facebook.png | Bin 0 -> 366 bytes lib/navigation.php | 78 +++++++++++++++++++++++++++++++++++ parts/client-info-footer.php | 1 + 3 files changed, 79 insertions(+) create mode 100644 assets/facebook.png diff --git a/assets/facebook.png b/assets/facebook.png new file mode 100644 index 0000000000000000000000000000000000000000..76d607634d31cfbb84f4151005606ac4b1d32f31 GIT binary patch literal 366 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)1Rw4h-fg?JGNgBAf*t zk;M!Qe1}1p@p%4<6rdn`iKnkC`vXQcAt_Zgfq7?uLccv-978NlC;$2X|9?Fj7lW|p zs*N{VuQw>Oe>Zet|81}%LfWw9*DfOi1EZuBi3gYdJo@=Lk7?>po;h=3c>e$YoBZQD z|8D<6se*rRG}-w0{McMmL)$Worz`Afc*bQD*P!u4T);u-&=)4Guz}<7r?0m= zxtkYtMYU~S?r-$w*1nmJagLpeT6QxVr}p;#aM)5@l=|b(Q|-g&a%W2b&6Ri~6T4!{ z1P|i}_Ni=te!DN^{`cqS*$-b&r?'."\n"; } +//function glm_side_menu($mobile = false) { +// global $post; +// $sideMenu = $allMenu = $pageMenuId = array(); +// +// if (($locations = get_nav_menu_locations()) && isset($locations['top-bar-2'])) { +// $menu = wp_get_nav_menu_object($locations['top-bar-2']); +// $menu_items = wp_get_nav_menu_items($menu->term_id); +// foreach ((array) $menu_items as $key => $menu_item) { +// $sideMenu[$menu_item->menu_item_parent][] = $menu_item; +// $allMenu[$menu_item->ID] = $menu_item; +// if ($menu_item->object_id == $post->ID) { +// $pageMenuId[] = $menu_item; +// } +// } +// if (count($pageMenuId) > 1) { +// $thisPageMenuId = (isset($pageMenuId[1])) ? $pageMenuId[1]->ID : 0; +// $thisPageMenuParent = (isset($pageMenuId[1])) ? $pageMenuId[1]->menu_item_parent : 0; +// foreach ($pageMenuId as $men) { +// if (isset($sideMenu[$men->ID]) && !empty($sideMenu[$men->ID])) { +// $thisPageMenuId = $men->ID; +// $thisPageMenuParent = $men->menu_item_parent; +// } +// } +// } else { +// $thisPageMenuId = (isset($pageMenuId[0])) ? $pageMenuId[0]->ID : 0; +// $thisPageMenuParent = (isset($pageMenuId[0])) ? $pageMenuId[0]->menu_item_parent : 0; +// } +// // does the current page (in the menu) have sub menu items? +// if (isset($sideMenu[$thisPageMenuId]) && !empty($sideMenu[$thisPageMenuId])) { +// $pageHead = $allMenu[$thisPageMenuId]; +// // get the subs for $thisPageMenuId +// $subs = $sideMenu[$thisPageMenuId]; +// // If the first element is title [Tabs] then this is a uber menu +// // custom item and we need to get the subs under that menu item +// // instead ($sideMenu[$subs[0]->ID]) +// +// if ($subs[0]->title == '[Tabs]') { +// $subs = $sideMenu[$subs[0]->ID]; +// } +// } else if ($thisPageMenuParent) { +// $pageHead = $allMenu[$thisPageMenuParent]; +// // get the subs for $thisPageMenuParent +// $subs = $sideMenu[$thisPageMenuParent]; +// } else { +// $pageHead = $allMenu[0]; +// // get Main level +// $subs = $sideMenu[0]; +// } +// } +// if ($mobile) { +// echo '