WordPress v3 menus

resolved (53 posts) (18 voices)

  1. Strategerizer
    Member

    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!

    Posted 1 year ago #
  2. Webtreats
    Support

    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.

    Posted 1 year ago #
  3. Webtreats
    Support

    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.

    Attachments

    1. WP_3_0_menus.zip (4.9 KB, 358 downloads) 1 year old
    Posted 1 year ago #
  4. Strategerizer
    Member

    Brilliant!

    Posted 1 year ago #
  5. schabe
    Member

    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.

    Posted 1 year ago #
  6. Elliott
    Support

    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.

    Posted 1 year ago #
  7. schabe
    Member

    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.

    Posted 1 year ago #
  8. Elliott
    Support

    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.

    Posted 1 year ago #
  9. gildedsplinters
    Member

    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

    Attachments

    1. Screen_shot_2010-11-05_at_11.08.00_AM..png (106.6 KB, 9 downloads) 1 year old
    2. Screen_shot_2010-11-05_at_11.07.53_AM..png (142 KB, 9 downloads) 1 year old
    Posted 1 year ago #
  10. gildedsplinters
    Member

    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.

    Attachments

    1. Screen_shot_2010-11-05_at_11.10.08_AM..png (50.1 KB, 6 downloads) 1 year old
    2. Screen_shot_2010-11-05_at_11.09.51_AM..png (86.1 KB, 4 downloads) 1 year old
    Posted 1 year ago #
  11. Elliott
    Support

    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.

    Posted 1 year ago #
  12. gildedsplinters
    Member

    worked like a charm.

    Posted 1 year ago #
  13. Elliott
    Support

    Glad that worked for you gildedsplinters, if you have any other questions then let us know.

    Posted 1 year ago #
  14. ijduncan
    Member

    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?

    http://womansclubofhollywood.com/

    Posted 1 year ago #
  15. Elliott
    Support

    Hello ijduncan,

    Are you making sure to indent the pages that you want to appear as children? (see attached image)

    Attachments

    1. 1.jpg (10.7 KB, 0 downloads) 1 year old
    Posted 1 year ago #
  16. ijduncan
    Member

    yes.

    Posted 1 year ago #
  17. Elliott
    Support

    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?

    Posted 1 year ago #
  18. ijduncan
    Member

    ah it was plugins. Should have checked that. My mistake. Sorry for the bother. Thanks

    Posted 1 year ago #
  19. Elliott
    Support

    Glad you got it fixed ijduncan, if you have any other questions then let us know.

    Posted 1 year ago #
  20. garduque
    Member

    Perfect, thank you!

    Posted 1 year ago #
  21. flashden422
    Member

    This worked great. Thank for the information and the zip file with the replacement files.

    Posted 1 year ago #
  22. azchipka
    Member

    Any thought on support for the footer menu as well instead of just the primary?

    Posted 1 year ago #
  23. Elliott
    Support

    That's a pretty good idea azchipka. I'll go ahead and move this to feature requests.

    Posted 1 year ago #
  24. Nessundorma
    Member

    I need the page mother in the menu not clickable. Help me!!!

    Posted 1 year ago #
  25. Elliott
    Support

    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.

    Attachments

    1. 1.jpg (15.6 KB, 0 downloads) 1 year old
    Posted 1 year ago #
  26. Nessundorma
    Member

    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!!!

    Posted 1 year ago #
  27. Elliott
    Support

    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.

    Posted 1 year ago #
  28. Nessundorma
    Member

    Thanks!

    Posted 1 year ago #
  29. Nessundorma
    Member

    I sent the admin e password for login in private. Thanks.

    Posted 1 year ago #
  30. Nessundorma
    Member

    Waiting for your technical assistance on my Website. Thanks.

    Posted 1 year ago #
  31. Elliott
    Support

    I don't think I received your PM Nessundorma, I went ahead and sent you one.

    Posted 1 year ago #
  32. Nessundorma
    Member

    Ok, Elliott I sent the admin e password for login in private. Let's hope so!

    Posted 1 year ago #
  33. Craig
    Member

    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

    Attachments

    1. Reading_Settings.png (31.6 KB, 1 downloads) 1 year old
    2. sub_menus.png (134.7 KB, 0 downloads) 1 year old
    Posted 1 year ago #
  34. Elliott
    Support

    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.

    Posted 1 year ago #
  35. Craig
    Member

    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

    Posted 1 year ago #
  36. Elliott
    Support

    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.

    Posted 1 year ago #
  37. Craig
    Member

    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

    Posted 1 year ago #
  38. tigga76
    Member

    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.

    Posted 1 year ago #
  39. 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

    Posted 1 year ago #
  40. Elliott
    Support

    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.

    Posted 1 year ago #
  41. 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?

    Posted 1 year ago #
  42. Elliott
    Support

    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,

    http://getfirebug.com/

    Other than that, let us know when you go live and we'll take a closer look.

    Posted 1 year ago #
  43. ck101
    Member

    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?

    Posted 1 year ago #
  44. Elliott
    Support

    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");

    Posted 1 year ago #
  45. breezemaster
    Member

    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.

    Posted 12 months ago #

Reply »

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme