Adding a second menu to breadcrumbs
Hi, everyone,
In my last post i cand understand something about his awesome theme, but now i modify for adding a Secondary Menu, For this, i delete some lines of code in the breadcrumbs.php file, but my problem is i don't know how i can call the second menu. Thanks again |
Did you look in the limited code?
|
Where? This is my new breadcrumbs.php file
Code:
<?php function bfa_breadcrumbs($id = '', $home = ' ', $sep = '' ) { |
Go to dashboard > appearance > mz options, and in the upper right there's a tab for the limited code
|
Hi Again,
Sorry for the time, I made some changes to my montezuma theme, but i can't change the place where is the "house icon" with the navigation. I just want to put a menu in that place (in fact, i need two menus in my site, the principal with icons, and a secondary with another information or tags, and the better place for that is where is the house icon). That is only what i need, help please :( Best regards, |
You don't need to edit breadcrumbs.php if you want to remove the breadcrumbs line. What you need to do is make a change in the virtual files, particularly to header.php. It's header.php that determines what your header looks like, including the logo, site title, and any menus that are place there.
From your Dashboard, go to Appearances > Montezuma Options > Subtemplates > header.php. Remove the line that displays the breadcrumb (it should be at the bottom) and then add another wp_nav_menu call for menu2. As JerryC said, if you click on the gray tab in the upper right corner of the header.php page that is labeled Limited PHP Code, a help section will slide down and you should be able to find an example about how to call wp_nav_menu for your second menu. After you've made the changes and are satisfied with it, read the documentation in the Main Templates and Subtemplates sections to get an idea as to how the virtual file system works, in case you want to make any further changes. |
All times are GMT -6. The time now is 09:44 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.