Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Two Menu Bars (http://forum.bytesforall.com/showthread.php?t=3230)

cliffbird Sep 1, 2009 02:51 PM

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!

Flynn Sep 1, 2009 07:20 PM

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> &middot; <a href="...">Text</a> &middot; <a href="...">Text</a>
<?php } ?>
<?php if ( is_page('Other Page Title') ) { ?>
<a href="...">Other Text</a> &middot; <a href="...">Other Text</a> &middot; <a href="...">Other Text</a>
<?php } ?>

i.e. in "Configure Header Area"


All times are GMT -6. The time now is 08:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.