WordPress.org

Ready to get started?Download WordPress

Forums

Delete Menubar (11 posts)

  1. janicewshum
    Member
    Posted 2 years ago #

    Hi there I'm new to wordpress,

    I;ve got few questions:

    1) Can I delete my menubar and set it to side bar view?
    2) Can i add another column below header image and add in another image?
    3) Can I add to button to redirect it into different link?

  2. anstrangel0ver
    Member
    Posted 2 years ago #

    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

  3. janicewshum
    Member
    Posted 2 years ago #

    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' ) );

    thanks

  4. anstrangel0ver
    Member
    Posted 2 years ago #

    how much do you know about css. do you have ur custom htnl page you wanna it be.

    thanks

  5. janicewshum
    Member
    Posted 2 years ago #

    more than a beginner in css. and nop. i dun hv a html file.

    thanks

  6. anstrangel0ver
    Member
    Posted 2 years ago #

    USE THIS

  7. anstrangel0ver
    Member
    Posted 2 years ago #

    <?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
  8. janicewshum
    Member
    Posted 2 years ago #

    im a beginner for php. could you please tell me whr should i include above .php code?
    functions.php?

    only 1 nav_menu found in functions.php:
    register_nav_menu( 'primary', __( 'Primary Menu', 'twentyeleven' ) );

    thanks

  9. janicewshum
    Member
    Posted 2 years ago #

    i tried:
    register_nav_menu('primary', __(( array( 'container' => '' ) );

    then the page turned blank.
    even: localhost:8888/wordpress turned blank.

    What happened?

  10. anstrangel0ver
    Member
    Posted 2 years ago #

    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.

  11. janicewshum
    Member
    Posted 2 years ago #

    nop. i couldn't undo it.. tried with dreamweaver cs5 as well, error: dynamically-related files could not be resolved due to internal server error.

Topic Closed

This topic has been closed to new replies.

About this Topic