• smartmouse

    (@smartmouse)


    Is it possible to show Meta menu and Pages menu merged in one unique menu?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Samuel B

    (@samboll)

    Sure. Look in sidebar.php for something like :
    <div class="sb-latest"><h2><?php _e('Latest'); ?></h2>

    Then take what Meta data you want and add to the bottom of the above code.

    Everyone’s is a bit different but should be similar to this:

    <?php if ( (is_home()) or (is_search() or (is_404()) or ($notfound == '1')) or ( (is_archive()) && (!is_author()) ) ) { ?>
    <div class="sb-latest"><h2><?php _e('Latest'); ?></h2>
    <span class="metalink"><a href="<?php bloginfo('rss2_url'); ?>" title="RSS Feed for Blog Entries" class="feedlink"><img src="<?php bloginfo('template_directory'); ?>/images/feed.png" alt="RSS" /></a></span>
    <ul>
    <?php wp_get_archives('type=postbypost&limit=10'); ?>
    </ul>
    <ul>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li></div>
    <?php } ?>

    Thread Starter smartmouse

    (@smartmouse)

    Here is the content of my category.php file:
    http://pastebin.com/627795

    I cannot understand how to edit it.
    Can oyu help me please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Merging menus’ is closed to new replies.