- December 28, 2012 at 8:59 pm #2660
Instead of using the “primary” menu when TinyNav engages, I’d like it to use a custom menu I’ve added called “primary2”. I’ve been trying to tweak the functions.php, header.php, and looked at the tinynav js files but can’t figure out how to make this change.
Your assistance would be greatly appreciated.
TrishahJanuary 3, 2013 at 10:20 pm #2737
@Trishah: It’s doesn’t matter which menu you created. Just you have to assign it in primary menu.January 3, 2013 at 10:48 pm #2749
Okay, just so that I am clear… What I am trying to do is this… I want to use “primary” menu for all non-device screen sizes then assign tinynav to use a DIFFERENT menu, say, “primary2” menu. From looking at the code I’m thinking this can only be done with one of the .js files.January 7, 2013 at 6:37 pm #2820
@Trishah: Yes primary menu will be there is all screen size only the secondary and footer menu will be hidden. the hiding part is from style.cssJanuary 7, 2013 at 9:54 pm #2842
Thank you for your reply, but I still do not think you are understanding what I am asking for so let me try to explain again…
Currently tinynav is used for the primary menu when a device is used.
What I want to do is this…. INSTEAD of tinynav using the primary menu when it is engaged, I want tinynav to use a DIFFERENT menu that I specify.
So, non-devise uses primary menu BUT tinynav uses some other menu. I’m asking where in the coding do I specify that tinynav is to use a different menu.January 7, 2013 at 10:07 pm #2845
Oh it’s controlled through catchbox-menu.min.js but if you want see un-minify version then catchbox-menu.js . You will find both the files in js folder.January 7, 2013 at 10:42 pm #2848
Yes, I thought it would be in one of those two files. The problem is, even though I know WP and php fairly well, I just not good at js/jQuery so I’m at a loss to know what to do in those files. So I guess I should have asked HOW to do it instead of where to do it 😀January 7, 2013 at 10:48 pm #2850January 7, 2013 at 10:54 pm #2851
- The topic ‘How to use a differnt menu for TinyNav?’ is closed to new replies.