Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Can't turn off first level parent using Ata 346 and WP 3.0 (http://forum.bytesforall.com/showthread.php?t=8109)

emanuel1969 Jul 12, 2010 10:44 PM

[SOLVED] Can't turn off first level parent using Ata 346 and WP 3.0
 
Hi everyone,

I upgraded to WP 3.0 while still using Ata 3.4.6 and now my first level parent items are still clickable even though I have them set to "Yes/Don't link." I know there is a bug fix that fixes this problem for people using 3.5.1, but can I fix this problem without upgrading?

Thanks,
Emanuel

lmilesw Jul 12, 2010 11:23 PM

I think so.

Take a look at your bfa_hor_pages.php file. If you see the second line of the code below near the top of the file add the first line just before it. You might want to download a copy of the bfa_hor_pages.php in case.

HTML Code:

$list_pages_string = preg_replace("/<ul class='children'/","<ul",$list_pages_string);   
if ( $bfa_ata['page_menu_1st_level_not_linked'] == "Yes" ) {


emanuel1969 Jul 14, 2010 07:40 PM

Thanks that worked! :)

Emanuel


All times are GMT -6. The time now is 08:14 AM.

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