Mobile app version of vmapp.org
Login or Join
Kaufman445

: Put a link on the nav bar in Wordpress I have a Wordpress blog. On the same domain, I have some other stuff hosted that isn't part of my WP install. I want to link to those other places

@Kaufman445

Posted in: #Links #Navigation #Wordpress

I have a Wordpress blog. On the same domain, I have some other stuff hosted that isn't part of my WP install.

I want to link to those other places on my domain from the top menu bar (nav bar) on my blog. How can I do that?

The theme is Lightword, relevant header.php code follows:

<body <?php body_class(); ?>>
<div id="wrapper">
<?php lightword_header_image(); ?>
<div id="header">
<?php lightword_rss_feed(); ?>

<div id="top_bar">
<div class="center_menu">
<ul id="front_menu" <?php global $lw_remove_searchbox, $lw_use_wp_menus; $lw_menu_width = ""; if($lw_remove_searchbox == "true") $lw_menu_width = " class="expand" "; echo $lw_menu_width; ?>>
<?php echo lightword_homebtn(__('Home','lightword')); ?>
<?php
if ( function_exists('wp_nav_menu') && $lw_use_wp_menus != "true") {
$lightword_menu = wp_nav_menu( array( 'menu' => 'lightword_top_menu', 'echo' => false, 'menu_id' => 'front_menu', 'container' => '', 'theme_location' => 'lightword_top_menu', 'link_before' => '<span>', 'link_after' => '</span>' ) );
$lightword_menu = preg_replace( array( '/^<ul id="front_menu" class="menu">/', '/n</ul>$/' ), '', $lightword_menu);
echo $lightword_menu;
}else{
echo lightword_wp_list_pages();
}
?>
</ul>
</div>
<?php echo lightword_searchbox(); ?>
</div>

</div>
<div id="content">

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berryessa370

Check the settings on the backend of Wordpress. :)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme