Two Menu Bars
How do I create two menu bars that appear on different pages in the header. I would like to have a english menu for english pages and a spanish menu for spanish pages, each with a link connecting the to the other.
Menu Spanish: English Inicio Mision Donar Caontactos Menu English: Espanol Home Mission Donate Contact I know how to do this with widgets is_page() but not with the menu bar. Thank you! |
You can use conditional tags like is_page() in most text areas in the Atahualpa theme options. Example:
<?php if ( is_page('Page Title') ) { ?> <a href="...">Text</a> · <a href="...">Text</a> · <a href="...">Text</a> <?php } ?> <?php if ( is_page('Other Page Title') ) { ?> <a href="...">Other Text</a> · <a href="...">Other Text</a> · <a href="...">Other Text</a> <?php } ?> i.e. in "Configure Header Area" |
All times are GMT -6. The time now is 03:52 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.