you mention several places including in the Child themes to "create an extra navigation" but I can't find where it says how to do that.
So HOW do you "create an extra navigation"?
you mention several places including in the Child themes to "create an extra navigation" but I can't find where it says how to do that.
So HOW do you "create an extra navigation"?
1. In the theme settings choose "Enable the multiple navigation functionality", and save the settings.
2. Now the main navigation got a + icon next to it. Press it and type a name.
3. Drag items to the new navigation bar. Save the settings.
4. To display the new navigation read this. you can also see how I added them in the bfnav child theme.
Hi, I'm also confused about installing the child nav. I'm stuck on item 4 above. The link you provided talks about using this shortcode:
[bfnav name="topnav" style="navbarsep"]
But I don't know where to put it...
I've read your FAQ and crawled all around the WP dashboard and done a search in the forum trying to find the answer... any help would be great.
thanks!
if you are going to use the shortcode the positioning is limited to a widget space, by creating a page (add the shortcode into the page editor in html mode) and using the bf page widget to add it to an adspace (for example "Adspace - top of the page). See the functions.php in the child theme bfnav how to add it other places with a hook, but this requires some coding skills.
Oh I so don't want to moan because this theme is utterly fabulous and I am thrilled with how easy it is to use, but I downloaded the BfNav child theme after viewing the preview and now find myself utterly bewildered by how to get the links to sit to the left of the child bar as displayed on your preview.
I have followed the instructions above but I'm too scared to fiddle with the functions.php without a whole lot of hand-holding and I would be so grateful if you could walk me through it?
If this is the code for the functions.php, where exactly do I put the extra nav hook thingy? Sorry I'm so hopeless...
<?php
add_action( 'bf_head', 'style' );
add_action( 'bf_top', 'customHeader' );
add_action( 'bf_top', 'topNav' );
add_action( 'wp_footer', 'footerWidgets' );
add_action( 'wp_footer', 'customFooter' );
add_action( 'wp_head', 'remove_actions' );
function remove_actions() {
remove_action( 'bf_header', 'headerFeatures' );
remove_action( 'bf_header', 'bf_navigation' );
remove_action( 'bf_bottom_container', 'footerWidgets' );
remove_action( 'wp_footer', 'footerText' );
}
function style() { ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style.css" type="text/css" media="screen" /> <?php
}
function customHeader() { ?>
<div id="topheader"><div class="inside clearfix"><div id="headerstuff"> <?php
headerFeatures(); bf_navigation();
?> </div></div></div> <?php
}
function topNav() { ?>
<div id="top"><div class="inside clearfix"> <?php
bf_navigation("topnav","navsmall"); ?>
<div id="searchcontainer"><?php get_search_form(); ?></div>
</div></div> <?php
}
function customFooter() {
global $bf_footer_text, $bf_feed_url, $bf_misc;
echo '<div id="footertext">';
if($bf_footer_text) echo $bf_footer_text; ?>
<?php if (in_array('footerFeed', $bf_misc)) {
?> | "><?php _e('Posts (RSS)','BigFeature'); ?> and "><?php _e('Comments (RSS)','BigFeature'); ?> <?php }
if (in_array('toplink', $bf_misc)) echo ''.__('top','BigFeature').' ↑ ';
bf_navigation("footernav","navsmall");
echo '</div>';
}
?>
Ooh and I forgot to say my BigFeature site is at http://www.brocantehome.net
Thanks.
there are already 3 navigations added to this child theme. see the bf_navigation calls. If you want to use this childtheme, you can create a navigation with the name topnav and it will be displayed in the navbar below the title. and there is one added to the footer too, it's called footernav (see the readme included in the zipfile for setup instructions). The main navigation is called without any parameters like this: bf_navigation(). If you want the main navigation to in the colored navbar, then change bf_navigation("topnav","navsmall"); to bf_navigation(); and remove the one in the customHeader function.
If you have no background in coding this might be confusing, but some programming skills are needed for customizations like this.
Thank you, I've sorted it and I really appreciate your speedy help.
You must log in to post.