I see inFocus does not support the new native menu functionality introduced by WP3.
Are there plans for it to be updated to support it, and if so, when?
Also, does Awake theme support WP3 native menus?
Thanks!
(53 posts)
(18 voices)
I see inFocus does not support the new native menu functionality introduced by WP3.
Are there plans for it to be updated to support it, and if so, when?
Also, does Awake theme support WP3 native menus?
Thanks!
Hi Strategerizer,
Replace the following three files on your server with the ones in the .zip file attached to this post:
wp-content/themes/infocus/functions.php
wp-content/themes/infocus/header.php
wp-content/themes/infocus/lib/functions/theme-functions.php
These files will enable full support for WordPress's new Menus function for inFocus.
Awake does include support for WordPress custom menus feature by default.
Hi Strategerizer,
Replace the following three files on your server with the ones in the .zip file attached to this post:
wp-content/themes/infocus/functions.php
wp-content/themes/infocus/header.php
wp-content/themes/infocus/lib/functions/theme-functions.php
These files will enable full support for WordPress's new Menus function for inFocus.
Awake does include support for WordPress custom menus feature by default.
Brilliant!
Seems to have had no effect for me - still getting the "The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar." message and my pages linked at the top.
Hello schabe,
You are using inFocus with WP 3.0+ correct?
If possible then PM us WP login and FTP information so we can take a look at your files.
Discovered the problem - a previous installation of infocus was causing issues - looks like a reinstall in necessary. Cheers for the help though guys - I really didnt think that would cause issues. Ahh well, you learn something new everyday.
You mean that having two versions of inFocus in your theme folder was causing an issue. Never heard of this before, thank you very much for posting your solution schabe.
Ok i've done this - but it is still or seems to still be using the navigation options chosen in the inFocus Options, not the new menu. Deleted the theme - downloaded a brand new copy of the theme, uploaded it, then deleted the three above files and replaced with the files I downloaded.
Also added the updated file here for using a gallery on homepage not using defined images.... http://mysitemyway.com/support/topic/front-page-with-portfolio-below-the-slider
Sorry, should have attached these as well... first image is with menu turned on. Second image is what I see when it is turned off.
Hello gildedsplinters,
Let's try this,
Open up /wp-content/themes/infocus/lib/functions/theme-functions.php and around line 97 you should see this..
wp_nav_menu( array( 'menu' => 'primary-menu', 'container_id' => 'main_navigation', 'container_class' => 'jqueryslidemenu', 'menu_class' => '', 'fallback_cb' => '' ) );
Go ahead and change it like this..
wp_nav_menu( array( 'theme_location' => 'primary-menu', 'menu' => 'primary-menu', 'container_id' => 'main_navigation', 'container_class' => 'jqueryslidemenu', 'menu_class' => '', 'fallback_cb' => '' ) );
Let us know if this works for you gildedsplinters.
worked like a charm.
Glad that worked for you gildedsplinters, if you have any other questions then let us know.
I have followed all the instructions and it seems to work however the child pages do not show up on my navigation. Any thought on what may be causing this?
Hello ijduncan,
Are you making sure to indent the pages that you want to appear as children? (see attached image)
yes.
When viewing your site I noticed you are getting a few javascript errors.
jQuery.preloadImages is not a function
[Break on this error] jQuery.preloadImages("http://womansclu...s/infocus/styles/blue/drop_sub.png");
womans...ood.com (line 291)
jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto is not a function
[Break on this error] "theme": 'light_square' /* light_rou...uare / dark_square */
custom...r=3.0.1 (line 220)
$("a[rel^='WP-prettyPhoto']").prettyPhoto is not a function
[Break on this error] inline_markup: '<div class="pp_inline clearfix">{content}</div>'
Have you done any customizations recently or installed any plugins?
ah it was plugins. Should have checked that. My mistake. Sorry for the bother. Thanks
Glad you got it fixed ijduncan, if you have any other questions then let us know.
Perfect, thank you!
This worked great. Thank for the information and the zip file with the replacement files.
Any thought on support for the footer menu as well instead of just the primary?
That's a pretty good idea azchipka. I'll go ahead and move this to feature requests.
I need the page mother in the menu not clickable. Help me!!!
Hello Nessundorma,
When using these menus to the left you will see a "Custom Links" section. You can place a "#" symbol in the link field. This will disable the link and you can place other pages under it to create a parent -> child relationship.
In the image I attached you will see that the "Home" link is custom and the about page is a child.
Elliott Not working!!!
InFocus does not support the native menu wordpress 3.0
I followed this guide: Replace the following three files on your server with the ones in the .zip file attached to this post:
wp-content/themes/infocus/functions.php
wp-content/themes/infocus/header.php
wp-content/themes/infocus/lib/functions/theme-functions.php
BUT... THE SITE IS BROKEN!!!
Go ahead and PM us WP Login and FTP information and we will do the change for you Nessundorma. Also be sure to use the latest version of inFocus and make sure that your version of Wordpress is 3.0 or greater.
Thanks!
I sent the admin e password for login in private. Thanks.
Waiting for your technical assistance on my Website. Thanks.
I don't think I received your PM Nessundorma, I went ahead and sent you one.
Ok, Elliott I sent the admin e password for login in private. Let's hope so!
Hi Webtreats, I have taken your modified files and applied them to a site I am developing locally at the moment. Everything is sweet apart from one thing… when you are on the home page (in this instance "About Us") the sub menus attached to the first menu item all show up as highlighted when the menu item is hovered over, however, when any other page is selected, the sub menus attached to "About Us" work as expected.
I have set up the reading options as per the 2nd screen grab attached.
I hope that there is an easy solution to this little problem.
Craig
Hello Craig,
This is most likely due to a customization. If possible then send us a link to your site and let us know of any customizations that have been done.
Hi Elliott,
I have now uploaded the site to an online testing location (previously it was only on my localhost testing server).
http://www.fiddich.co.uk/marinequest/
I have made some modifications to header.php, as I wanted a search field in the header. I have also included the mod to allow WP 3.x menus.
Further mods have been made throughout the site, but I presume the main ones which may affect the navigation are going to be in the header.
Thanks for having a look at this for me.
Craig
On line 42 of your blue.css file you should see this,
.jqueryslidemenu ul li.current_page_item a {
color: #86CDDF;
}
By default that should not be there, go ahead and try deleting that line to see if this fixes it.
Hi Elliott.
That cures that particular problem, but unfortunately it created another. The top level menu item was not then highlighted showing you that you were currently on the "About Us" page.
I have now fixed the issue with another couple of rules in the blue.css file.
Thanks for your help and pointers.
Craig
Thank you for this update, it worked perfect. I love the new 3.0 menus and now that Infocus supports this then my job is much easier. Thanks again for the update.
I've been working working on the above issue with trying to disable the top navigation.I managed to do it by replacing the
wp-content/themes/infocus/functions.php
wp-content/themes/infocus/header.php
wp-content/themes/infocus/lib/functions/theme-functions.php and editing the code:
Open up /wp-content/themes/infocus/lib/functions/theme-functions.php and around line 97 you should see this..
wp_nav_menu( array( 'menu' => 'primary-menu', 'container_id' => 'main_navigation', 'container_class' => 'jqueryslidemenu', 'menu_class' => '', 'fallback_cb' => '' ) );
Go ahead and change it like this..
wp_nav_menu( array( 'theme_location' => 'primary-menu', 'menu' => 'primary-menu', 'container_id' => 'main_navigation', 'container_class' => 'jqueryslidemenu', 'menu_class' => '', 'fallback_cb' => '' ) );
It worked fine, but now the slider has disappeared completely!?
Any ideas?
James
Hello JamesQuinn,
This is an edit to enable Wordpress Menus for inFocus. If you are having problems with it then PM us Wordpress and FTP login information and we'll get it setup for you.
Yes, it worked ok apart from the slider disappearing. My site isn't live yet though so the login and ftp info won't help yet. Unless there's no other way maybe I need to wait until it's live for this edit?
It should work on a local setup also. It is most likely a php typo or a javascript error.
You can try replacing the theme with a fresh download and try again (unless you are using more than one menu you shouldn't need to edit anything). And you can check the site in Firebug for any javascript errors,
Other than that, let us know when you go live and we'll take a closer look.
1. I need to add support for the footer menu as well otherwise the home link goes to my additional homepage which I use to populate the actual homepage with slider. How do I implement support for the footer menu?
2. Also, adding the title attribute in the WP3 menu's does not seem to work as when you hover a menu link no title attribute appears. What needs to be done to get this working?
Hello ck101,
1. You can exclude items in Dashboard -> inFocus -> Navigation. We have changed this to use Wordpress menus in the next update.
2. Open up /wp-content/themes/infocus/lib/scripts/custom.js and delete line 139,
$(" #main_navigation a").removeAttr("title");
Hiya! ..Need help!
I've installed the files supplied to activate Menus, but its only allowing me to create 1 menu overall. As soon as I add another (needed for the footer areas) it overwrites the my main navigation menu, so I get my wished footer menu as the main nav.
Any ideas?
I'll PM you (Elliott) the login details now as well.
You must log in to post.