Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Not working: 3.4.9 Combining Category and Pages menu


  #1  
Old May 20, 2010, 01:57 PM
JFG
 
44 posts · Jul 2009
Canada
In reference to this thread (which is closed) : http://forum.bytesforall.com/showthr...+page+category

It does not work for me. I added the two lines after line 44 as instructed by Juggledad and I'm getting this error:

Parse error: syntax error, unexpected T_ECHO in /home/dreamin5/public_html/wp-content/themes/atahualpa349/functions/bfa_header_config.php on line 45

If I replace line 44 and 45 with the 2 other lines it does get the category pages to show up on the pages menu but the page pages don't show up.

In any case, I would like to combine the Categories and Pages menu but have the Categories show up before the Pages on the menu.

Can anyone help, Juggledad?

Thanks

JF
  #2  
Old May 23, 2010, 08:32 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Wordpress 3.0 allows custom menu creation, combining pages, categories, outside URLs, custom post types. The beta version is available for download.
  #3  
Old May 23, 2010, 09:01 AM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Add teh code after line 45, not 44 - sorry - I've changed the other thread
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; May 23, 2010 at 09:06 AM.
  #4  
Old Jun 2, 2010, 08:59 PM
olsonsp4c
 
4 posts · Feb 2009
Here's how to do it in 3.5.1:

In functions/bfa_header_config.php

replace:

PHP Code:
    // Empty setting "levels" same as 0
    
if ( $bfa_ata['levels_page_menu_bar'] == '' ) {
        
$bfa_ata['levels_page_menu_bar'] = 0
    }    

    echo 
bfa_hor_pages($bfa_ata['sorting_page_menu_bar'], $bfa_ata['levels_page_menu_bar'], 
    
$bfa_ata['titles_page_menu_bar'], $bfa_ata['exclude_page_menu_bar']); 
With this:

PHP Code:
    // Empty setting "levels" same as 0
    
if ( $bfa_ata['levels_page_menu_bar'] == '' ) {
        
$bfa_ata['levels_page_menu_bar'] = 0
    }    
    
        
//Added Category Menu Bar Begin
    
echo bfa_hor_cats($bfa_ata['sorting_cat_menu_bar'], $bfa_ata['order_cat_menu_bar'], 
    
$bfa_ata['levels_cat_menu_bar'], $bfa_ata['titles_cat_menu_bar'], $bfa_ata['exclude_cat_menu_bar']);
        
//Added Category Menu Bar End

    
echo bfa_hor_pages($bfa_ata['sorting_page_menu_bar'], $bfa_ata['levels_page_menu_bar'], 
    
$bfa_ata['titles_page_menu_bar'], $bfa_ata['exclude_page_menu_bar']); 
Scott

Last edited by olsonsp4c; Jun 2, 2010 at 09:00 PM. Reason: update version of atahualpa

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] 3.4.9 Combining Category and Pages menu DesignFlute Page & Category Menu Bars 2 May 12, 2010 06:31 AM
Combining Category & Pages menu Masselyn Page & Category Menu Bars 12 Mar 2, 2010 05:07 PM
Combining Post and Pages Dids-wp Atahualpa 3 Wordpress theme 8 Nov 27, 2009 05:37 PM
[SOLVED] Horizontal Category Menu Bar Not Working in Wordpress v2.8.4 harpek Header configuration & styling 1 Aug 12, 2009 02:04 AM
Category menu drop-down not working on one site dsegel Page & Category Menu Bars 3 Jun 24, 2009 10:01 AM


All times are GMT -6. The time now is 01:38 PM.


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