Tagged: primary menu
- This topic has 8 replies, 2 voices, and was last updated 11 years, 10 months ago by Trishah.
-
AuthorPosts
-
December 28, 2012 at 8:59 pm #2660TrishahMember
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.
Trishah
January 3, 2013 at 10:20 pm #2737SakinKeymaster@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 #2749TrishahMemberOkay, 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 #2820SakinKeymaster@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.css
January 7, 2013 at 9:54 pm #2842TrishahMemberSakin,
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 #2845SakinKeymasterOh 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 #2848TrishahMemberHello Sakin,
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 #2850SakinKeymaster@Trishah: For this type of customize, consider hiring cutomizer: http://jobs.wordpress.net/
January 7, 2013 at 10:54 pm #2851TrishahMemberOkay. Thanks.
-
AuthorPosts
- The topic ‘How to use a differnt menu for TinyNav?’ is closed to new replies.