yes definetly u can do this :)… for the menubar u to view as side bar u need to have your own style. u can create every custom design for your WP site.
wordpress allow you to create you own theme.
you can view http://codex.wordpress.org/Theme_Development
browsed through it, it says gotta
<?php wp_nav_menu( array( 'container' => '' ) ); ?>
but i can’t find that in my twenty eleven code. just found this:
register_nav_menu( 'primary', __( 'Primary Menu', 'twentyeleven' ) );
how much do you know about css. do you have ur custom htnl page you wanna it be.
more than a beginner in css. and nop. i dun hv a html file.
<?php $defaults = array( 'container' => '', 'container_class' => '', 'menu' => 'Main Menu', 'echo' => 0, 'items_wrap' => '<ul>%3$s</ul>', ); $menu_item = wp_nav_menu($defaults); $menu_item = str_replace('</li>', '</li><li></li>', $menu_item); $menu_item = trim($menu_item); ?> <?php echo $menu_item; ?>
AND CHANGE THE css class eithe in
- or in class container
im a beginner for php. could you please tell me whr should i include above .php code?
only 1 nav_menu found in functions.php:
register_nav_menu( ‘primary’, __( ‘Primary Menu’, ‘twentyeleven’ ) );
register_nav_menu(‘primary’, __(( array( ‘container’ => ” ) );
then the page turned blank.
even: localhost:8888/wordpress turned blank.
juss undo it .. and in the heder.php you put the above code. hope u can make it. or u can change the style of the wordpress. m quit bg so culdnt write you the css. hope will do it when i get free.
carry on .. try to change ur css. use Firebug to test you css directly in your browser.
- The topic ‘Delete Menubar’ is closed to new replies.