php - Remove Wordpress navigation labels? -


example: http://i.imgur.com/u9n2fyc.png

i got plugin uses images nav items in menu gui in wordpress dashboard. nav label still being generated, , i'd remove them. tried leaving them blank, removes menu item.

this how theme calling nav in header.php:

<?php  $show_member_menu_sticky = false;  if ( $data['op_instamember_integration'] == 1 && function_exists('is_stmsmember_logged_in') ) { if ( is_stmsmember_logged_in() ) // im members logged in...     $show_member_menu_sticky = true;  if ( function_exists('is_stms_admin') ) {     $stms = get_option('stms_settings'); // load instamember global settings...     if ( isset($stms['global']['admin_unlock']) && $stms['global']['admin_unlock'] == 1     && is_stms_admin() )         $show_member_menu_sticky = true; } } else { if ( is_user_logged_in() ) $show_member_menu_sticky = false; }  if ( $show_member_menu_sticky ) member_menu_sticky(); else menu_ibt(); ?> 

instead of using plugin making images navigation, can load images easily. using method images load , not label.
step 1: go dashboard>appearance>menus
step 2: create menu , set navigation menu.
step 3: in menu, add custom link.
step 4 important: here's add images. in url part of custom link, add url link to. in navigation label section, add html image (yes, can handle html). so, want in navigation label section: <img src="the url of image is">.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -