• Resolved fewfewfew

    (@fewfewfew)


    How can I remove the link that always appear for the first widget on the Dropdown menu on browse.

    Here Is the picture > http://i62.tinypic.com/14m9w69.png

    What I want removed Is link called “main page”. I want the first widget on the dropdown list to be links for Important downloads. I’d rather not have the Main Page appearing In this section.

    Hope you can help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author acosmin

    (@acosmin)

    Open sidebar-browse.php and change:

    if(is_home()) { $page_state = 'current_page_item'; } else { $page_state = ''; }
    				wp_nav_menu( array( 'container' => '', 'theme_location' => 'mini-first', 'items_wrap' => '<ul class="normal-list"><li class="'. $page_state .'"><a href="'. esc_url( home_url() ) .'" title="'. __('Go Home', 'acosmin') .'">'. __('Main Page', 'acosmin') .'</a></li>%3$s</ul>' ) );

    with:

    wp_nav_menu( array( 'container' => '', 'theme_location' => 'mini-first', 'items_wrap' => '<ul class="normal-list">%3$s</ul>' ) );

    Always use a child theme for modifications.

    Thread Starter fewfewfew

    (@fewfewfew)

    Thank you this worked! 🙂

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