-
AuthorPosts
-
October 16, 2014 at 8:59 am #126365
Glad to hear! Let us know if you need anything else.
April 23, 2015 at 12:50 am #256408Hi,
I tried pasting the same code, but for some reason, my navbar list is now stacked right next to my logo and has a strange font and color?
Any ideas what might be wrong with the code?
April 23, 2015 at 12:54 am #256411Hi Jamie,
This thread is old and the code requirement is now different. I’d like to check your current current implementation to see what else needs fixing.
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
April 23, 2015 at 1:06 am #256417This reply has been marked as private.April 23, 2015 at 1:45 am #256436Hello There,
It seems that you are using a 3rd party plugin that will swap navigation menu. Upon swapping the menu, it looses al the menu styling and that is why you are seeing a stacked menu items.
We can not provide any support for this plugin. Please tell us what you were trying to do and maybe we can provide you with some alternative in X theme.
Kindly let us know.
April 23, 2015 at 2:19 am #256448Hi,
I saw in this thread that you recommended that plug-in if you wanted custom menus on different pages.
In any case, I would like to use a custom menu list for my blog page: Home, About and Referrals.
If there is an alternative way to do this, please let me know.
April 23, 2015 at 2:22 am #256453Hello There,
Please try the One Page Navigation setting we have. To do it, please try to edit your page and in your Page Settings, enable the One Page Navigation by selecting a different menu. Please see the screenshot http://prntscr.com/6x51vg
Hope this helps. Kindly let us know.
April 23, 2015 at 2:48 am #256471Hi,
Unfortunately, it didn’t work.
I should clarify, I’m using one-page navigation on my homepage, so the navbar list items navigate to certain parts of the homepage.
As you can imagine, this makes these most of these list items useless on the blog page.
I’m currently using the Renew 02 stack, which utilizes one-page navigatio on the homepage. How do most people who use this stack deal with their blog navigation bar list?
April 23, 2015 at 2:55 am #256474Hello There,
Please consider deactivating your 3rd party plugin before trying out what have suggested above.
Most people use the Primary for the entire site and edit their homepage and assign another menu for the one page navigation on the homepage. Try switching the other way around to accomplish what you have in mind.
Please let us know how it goes.
April 23, 2015 at 3:06 am #256477Ok, I got it to work! Thank you for your help and patience!
April 23, 2015 at 3:09 am #256480Hi There,
We are glad we were able to help you to resolve your issue.
Cheers,
XJune 17, 2015 at 9:55 am #304838Hi, I placed the code you gave before into x-child-integrity-light/framework/views/global/ on a new _navbar.php file as you suggested before in order to have different menu on the blog page and posts
Unfortunately it appears I have the same issue as Jamieruf above. Worse, I get the footer menu instead of the navbar menu 🙂
What do you think I should do?
Thanks and great theme guys. Love it.
June 17, 2015 at 10:13 am #304860This reply has been marked as private.June 17, 2015 at 2:43 pm #305181Hi Omri,
Thanks for writing in! And thanks for your kind words! 🙂
Instead of the previous provided solutions, please add following code in your child theme’s functions.php file:
// ============================================================================= // Sets Custom Menu For WooCommerce Shop // ============================================================================= add_filter( 'wp_nav_menu_args', 'custom_blog_menu' ); function custom_blog_menu( $args ) { if ( is_page( array( 1, 2, 3, 4, 5 ) ) ) { $args['theme_location'] = 'primary'; $args['menu'] = 'Custom Menu'; } return $args; }
Replace 1, 2, 3, 4, 5 with your pages IDs, separate each ID with a comma. Then replace Custom Menu with your custom menu name.
Hope this helps. 🙂
Thank you.
November 29, 2015 at 11:07 am #682914I’ve implemented the code above to display an alternate menu on the blog page.
How do I get that same alternate menu to appear on the Archive, Category, and Single Post pages?
-
AuthorPosts