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 » New Versions, & Updating »

WordPress 3 compatibility for 'custom menus'


  #1  
Old Jun 17, 2010, 11:26 PM
peterluit
 
5 posts · Jun 2010
Netherlands
Send a message via AIM to peterluit Send a message via Skype™ to peterluit
I saw these instructions (http://www.wpbeginner.com/wp-themes/...ss-3-0-themes/) on how to enable ‘custom menus’ in existing themes. Can anyone tell me where to put the second part of the code in order to work with ‘custom menus’ in Atahualpa?

1: add_theme_support( 'nav-menus' );

2: <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>

Thanks,

Peter Luit
  #2  
Old Jun 18, 2010, 02:49 AM
Knut Sparhell
 
34 posts · Jun 2010
Fredrikstad, Norway
That would be in either functions/bfa_header_config.php or functions/bfa_hor_pages.php, but it's not that simple. Yiu can not just incect this code and make it work, at least not nice.

This menu, if displayed at all, will not be styled correctly according to Atahualpa. And if no menu is created and referenced in the arguments, then a page menu will appear. And there is no argument sort_column as determining the order is done in the WordPress Menu page.

It didn't quite work for me in my little test, but this may be a start if you really can't wait.
  #3  
Old Jun 18, 2010, 11:13 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Atahualpa 3.5.1 does not support the new menus you can create with WordPress 3.0. If you want to use the new menus, you will have to provide ALL the CSS to style them yourself. Hopefully a future release will support the new menus of WordPress 3.0

I've added this as an RFE to http://forum.bytesforall.com/showthread.php?t=7312
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Jun 19, 2010, 03:08 PM
videocp
 
1 posts · Jun 2010
Atahualpa is my preferred template and the template I install of all of my clients. I really would like to see the custom menu feature added too. Keeping Atahualpa just one more step ahead of them all as far as I'm concerned.
  #5  
Old Sep 1, 2010, 03:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Atahualpa 3.5.3 supports the new menus
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Oct 2, 2010, 11:00 PM
LizM's Avatar
LizM
 
7 posts · Sep 2010
Boston area
Send a message via AIM to LizM
I think this is my issue too. I've created a menu2 in Wordpress 3 (Appearance->menus) consisting of just links, not categories. It simply doesn't appear on the page. I have also installed the bugfix for bfa_new_wp3_menus.php.

Is there CSS I can add that would make it appear, or is it more complex than that? I could hardcode it all into the header php no doubt, but that would be inelegant if there is a fix that plays nice with the Wordpress interface and Atahualpa 3.5.3.

That and, it'd be good to be able to specify WHERE it goes

Thanks to anyone who can help!
  #7  
Old Oct 3, 2010, 03:17 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you specified menu2, then that will replace the %cats option in the header configuration. Menu1 replaces %pages.

BUT... If you don't use %pages or %cats, neithor menu1 nor menu2 will show
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Oct 16, 2010, 02:17 PM
allyevans
 
35 posts · Aug 2010
Quote:
Originally Posted by juggledad
If you specified menu2, then that will replace the %cats option in the header configuration. Menu1 replaces %pages.

BUT... If you don't use %pages or %cats, neithor menu1 nor menu2 will show

I need help on this - I keep playing around with no luck. If I add just menu1 in configure header area with no %pages, it shows "menu1" in text on the top left. If I add %pages and menu1, it gives me my menu but also the text "menu1" underneath. I can get the menu in a widget with a vertical list but I really want it to be a horizontal bar. Can you help?? Also, how do I style the custom menu? What is the CSS selector?
  #9  
Old Oct 16, 2010, 03:34 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you want to use the new WordPress menus, go to the new menu option in WordPress and build a custom menu.

Then you name your new menu in the menu1 option. This equates to %pages in the header configuration. IE where you put %pages, your new menu will show up. You don't use your new menu name in the header configuration, you still use %pages and %cats, but it will pick up teh menu you specified at sth menu1 or menu2 on teh Menu option page.

Clear as mud right??
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
3.0, custom menus

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Comment Uploads Compatibility twright Plugins & Atahualpa 1 Apr 5, 2012 04:52 AM
Inline Google Maps compatibility redwagon Plugins & Atahualpa 13 Oct 11, 2011 05:01 AM
[SOLVED] widget logic and atahualpa compatibility bigliettaio Plugins & Atahualpa 10 Jan 3, 2010 03:56 PM
[SOLVED] How to make custom template with exact format except header and menus Rashell Header configuration & styling 4 Dec 14, 2009 07:57 PM
WP plugin compatibility clues jack96161 Plugins & Atahualpa 2 Oct 29, 2009 03:02 PM


All times are GMT -6. The time now is 12:22 AM.


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