WordPress.org

Forums

child theme (6 posts)

  1. arif.cse26
    Member
    Posted 1 year ago #

    How to customize the wordpress child theme for twenty eleven version 3.5.1

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    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.

  3. arif.cse26
    Member
    Posted 1 year ago #

    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

  4. Krishna
    Volunteer Moderator
    Posted 1 year ago #

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

  5. arif.cse26
    Member
    Posted 1 year ago #

    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

  6. WPyogi
    Forum Moderator
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic