Removed francejourneys taxonomy image menu walker code
authorLaury GvR <laury@gaslightmedia.com>
Mon, 1 Aug 2016 13:47:48 +0000 (09:47 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 1 Aug 2016 13:47:48 +0000 (09:47 -0400)
lib/menu-walker.php

index ddf2623..fa7949a 100644 (file)
@@ -35,20 +35,6 @@ class Glm_Theme_Top_Bar_Walker extends Walker_Nav_Menu {
             background-size: cover;
             </style>";
             
-        } else if( $depth !== 0 && $object->type == "taxonomy") { 
-            
-            $thumbnail = z_taxonomy_image_url( (int)$object->object_id );
-
-            $item_style .= "<style>
-            #menu-item-".$object->ID.":before { 
-            display: inline-block;
-            width: 200px; 
-            height: 300px; 
-            content: ' '; 
-            background-image: url('".$thumbnail."');
-            background-size: cover;
-            </style>";
-            
         } else if( $depth !== 0 && ! has_post_thumbnail( (int)$object->object_id ) ){
             
             $thumbnail = get_template_directory_uri() . '/assets/header-images-2.jpg';