Support » Themes and Templates » ANYONE USING DFBLOG?

  • HI

    If you are using dfblog as your theme, i have at least one burning question.

    I would like to change the tabs/headers on the top (like home and blog) to something else and add a few more but cannot figure out how.


Viewing 1 replies (of 1 total)
  • The navigation is created dynamically and displays the pages you have created in the admin panel.

    Open header.php and look for:

    <ul class="sf-menu">
    <li class="<?php echo $indexpage_class; ?>"><a href="<?php echo get_settings('home'); ?>"><?php echo $dfblog_home_label ?></a></li>
    <?php wp_list_pages('sort_column=menu_order&title_li='); /* old -> wp_list_pages('title_li=&depth=1'); */ ?>
    <?php if ($dfblog_feed_visibility == "on") { ?>
    <li class="page_item"><a href="<?php bloginfo('rss2_url'); ?>"  title="<?php bloginfo('name'); ?> RSS Feed"><?php _e('Subscribe to Feed'); ?></a></li>
    <?php } ?>
    <li class="page_last"> </li>

    The code inbetween the first <li> </li> tags is what outputs the pages as menus. The Second <li> </li> tags output the Subscribe to RSS Menu

    You could hardcode a menu before, in between or after any of the above <li> </li> tags or you could delete them entirely and manually add the menu’s yourself. Just make sure you remove the opening and closing <li><!-- and everything in between --></li>

    ie if you wanted to manually add links to the homepage and blog:
    <li><a href="">Home</a></li>
    <li><a href="">Blog</a></li>

Viewing 1 replies (of 1 total)
  • The topic ‘ANYONE USING DFBLOG?’ is closed to new replies.