Plugin Directory

Changeset 903255


Ignore:
Timestamp:
04/26/2014 07:34:28 PM (12 years ago)
Author:
codezag
Message:

Update for logo menu type

Location:
suppa-menu-responsive-mega-menu/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • suppa-menu-responsive-mega-menu/trunk/readme.txt

    r903254 r903255  
    55Tested up to: 3.9
    66Stable tag: 1.0.1
    7 License: GPLv2 or later
    8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
    97
    108Suppa is Fast, Customizable, Powerfull and User-Friendly WordPress Mega Menu.
  • suppa-menu-responsive-mega-menu/trunk/standard/css/suppa_frontend_style.css

    r884533 r903255  
    7474
    7575
     76/* =Logo
     77------------------------------------ */
     78.suppa_menu_logo a {
     79    text-align: none;
     80}
     81
     82
    7683/* =SubMenus General
    7784------------------------------------ */
     
    8390    position: absolute;
    8491}
     92
     93
     94
     95
    8596
    8697
  • suppa-menu-responsive-mega-menu/trunk/standard/include/class-suppa_walkers.php

    r885465 r903255  
    655655
    656656                    $output .= '<div style="'.$this_item_position_css.'" class="suppa_menu suppa_menu_logo suppa_menu_'.$this->top_level_counter.'">'; 
    657                     $output .= $link_html
     657                    $output .= '<a '.$attributes.' >'.$link_html.'</a>';   
    658658                    $output .= '</div><!--Suppa Logo-->';           
    659659                }
     
    683683                }
    684684            }
    685 
    686 
    687             // Links
    688             else if( 'links' == $this->menu_type )
    689             {
    690                 if( $depth === 1 )
    691                 {
    692                     $output .= '<div class="suppa_column" style="width:'.$this->links_column_width.';">';
    693                     $item_output = '<a class="'.$class_names.' suppa_column_title" '.$attributes.' >'.$link_html.'</a> ';
    694                     $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
    695                 }       
    696                 else if ( $depth >= 2 )
    697                 {
    698                     $item_output = '<a class="'.$class_names.' suppa_column_link" '.$attributes.' >'.$link_html.'</a> ';
    699                     $output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
    700                 }   
    701             }
    702 
    703 
    704             /*
    705             echo '<pre>';
    706             print_r( $item );
    707             echo '</pre><hr/>';
    708             */
    709685
    710686        }
Note: See TracChangeset for help on using the changeset viewer.