WordPress.org

Support

Support » Themes and Templates » child theme

child theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • Review:
    http://codex.wordpress.org/Child_Themes
    Have you created your child theme?
    You can make most of the customizations using CSS. Use firebug + Firefox or Google Chrome to view source CSS and to make changes by adding the appropriate CSS to your child theme’s CSS.

    How to add custom menu on the top of the sidebar? i would like to add custom menu like this site .www.khschoolbd.net
    please help me

    Looks like that’s custom HTML + CSS (Use Firefox + Firebug or Chrome browser tools) and placed as the end of the header.php.

    I put following code end of the header.php file.

    <?php if(is_home() || is_front_page()) :  ?>
    <div style="float:left; overflow:hidden;">
    <div id="custom_menu_div">
    <?php wp_nav_menu(array('menu' => 'custom_menu')); ?>
    </div>
    <div style="float:left;margin-top:9px; ">
    <?php if (function_exists("easing_slider")){ easing_slider(); }; ?>

    Then i see navigation item home and sample page which are item of main menu of twenty eleven default theme.

    When i create new page, suppose “latest news” in back end and publish it, then i see this in both as main menu item and custom menu item.
    such as order:

    Main menu—>Home Latest news Sample page

    and the custom menu like:

    Home
    Latest news
    Sample page

    But i want to create new item in custom menu section, which only show custom menu section, not in main menu.please help me

    WPyogi

    @wpyogi

    Forum Moderator

    If you want a different menu, you need to register another menu in the child theme functions file and then call that menu in the sidebar –

    http://codex.wordpress.org/Navigation_Menus

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘child theme’ is closed to new replies.