Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Fix for menu depth in bfa_new_wp3_menus.php


 
Prev Previous Post   Next Post Next
  #1  
Old May 2, 2013, 05:55 AM
tysonlt
 
4 posts · May 2013
Fix for menu depth in bfa_new_wp3_menus.php

Hi!

First time post... not sure if this is really silly, but I made this little fix and thought I would share just in case anyone else needs it... it's probably already done somewhere but I couldn't find it, so...

bfa_new_wp3_menus.php

PHP Code:
function bfa_new_wp3_menus(...) {

...

  
wp_nav_menu( array( 
    
'theme_location' => $theme_location
    
'container' => 'div'
    
'container_id' => $theme_location,
    
'menu_class' => $menu_class,
    
'menu_id' => $menu_id,
    
'link_before' => '<span>',
    
'link_after' => '</span>',
    
'depth' => $bfa_ata['levels_page_menu_bar']   //<<<<<<<<<<<<<< ADDED THIS
    
) );

... 
 

Bookmarks

Tags
menu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Widget List Items depth, 4th and lower level? barnz2k Sidebars & Widgets 9 Jan 9, 2011 03:12 PM
altering sub menu bar depth by parent davidcoats Page & Category Menu Bars 0 Jun 5, 2010 07:47 PM


All times are GMT -6. The time now is 01:18 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.