[gnome-web-www: 52/68] Remove defined menu for the Foundation page
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www: 52/68] Remove defined menu for the Foundation page
- Date: Tue, 24 Jan 2017 15:51:35 +0000 (UTC)
commit 6d96b5a9047885d22c07aef2a3a341ce9b1f2a01
Author: Tom Tryfonidis <tomtryf gnome org>
Date: Mon Jan 9 21:00:11 2017 +0200
Remove defined menu for the Foundation page
theme/functions.php | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/theme/functions.php b/theme/functions.php
index 6faf68a..385f1b2 100644
--- a/theme/functions.php
+++ b/theme/functions.php
@@ -463,15 +463,6 @@ if (array_key_exists('render-footer-menu', $_GET)) {
exit;
}
-function special_nav_class($classes, $item){
- if($item->title == "Foundation +"){
- $classes[] = "foundation-menu-item";
- }
- return $classes;
-}
-
-add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);
-
add_action( 'admin_head', 'replace_default_featured_image_meta_box', 100 );
function replace_default_featured_image_meta_box() {
@@ -504,7 +495,7 @@ function custom_mimes_types ($existing_mimes) {
require_once('lib/wp-bootstrap-navwalker.php');
register_nav_menus( array(
- 'primary' => 'Navbar Menu', 'grass',
+ 'primary' => 'Navbar Menu'
) );
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]