I'm attempting to hard code a link into the cat menu. I seached the forum, found what I thought was the proper way to do this, but failed.
Would some please tell me the correct way to do this? Here's what I did:
In bfa_header_config.php I added:
// Category Menu Bar
if ( strpos($header_items,'%cats') !== FALSE OR strpos($header_items,'%cat-center') !== FALSE
OR strpos($header_items,'%cat-right') !== FALSE ) {
ob_start();
echo '<div id="menu2">';
if ( strpos($header_items,"%cat-right") !== FALSE ) {
echo '<ul id="rmenu" class="dropdown clearfix rMenu-hor rMenu-hRight rMenu">' . "\n";
} elseif ( strpos($header_items,"%cat-center") !== FALSE ) {
echo '<table cellpadding="0" cellspacing="0" style="margin: 0 auto"><tr><td align="center">
<ul id="rmenu" class="clearfix rMenu-hor rMenu">' . "\n";
} else {
echo '<ul id="rmenu" class="clearfix rMenu-hor rMenu">' . "\n";
}
// Home Link?
$cat_menu_bar .= '<li><a href="http://crucerosislas.net/galeria-de-videos/">
Galeria de Videos</a></li>';
if ( $bfa_ata['home_cat_menu_bar'] != '' ) {
echo '<li class="cat-item';
if ( function_exists('is_front_page') ) {
if ( is_front_page() OR is_home() ) {
echo ' current-cat';
}
} elseif ( is_home() ) {
echo ' current-cat';
}
echo '"><a href="'; bloginfo('url'); echo '/" title="'; bloginfo('name'); echo '">' .
$bfa_ata['home_cat_menu_bar'] . '</a></li>' . "\n";
}