• hi, I’m a new admin on the site maritimeprogress.com

    there is a menu on the left hand side of the homepage that I can’t find how to edit.

    Can anyone here examine the page and give me a pointer as to how to find the controls to edit it please.

    thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • If it is not in menus, then it is probably in left sidebar – under widget with categories menu.

    maritimeprogress.com/wp-admin/widgets.php

    Thread Starter specvis

    (@specvis)

    alas

    “The theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please follow these instructions.”

    I assume you already checked:
    maritimeprogress.com/wp-admin/nav-menus.php

    Thread Starter specvis

    (@specvis)

    every menu other than the one i need

    Thread Starter specvis

    (@specvis)

    think what i’m being asked to do might not be possible.

    I believe the menu is created in woo-commerce somehow. Every menu appears to be a product category.

    My issue now is that I’ve been asked to add a non product category (info page) to that menu and im not sure if its possible

    • This reply was modified 7 years, 5 months ago by specvis.

    It is possible with some coding.
    1.You create menu of all product categories in “Menus” section of WP and there you can add any other page to that menu as well.
    2.You create child theme and add file that contains code for product category menu in child theme
    3.You replace code for product category menu with code for menu that you created in “Menus” and that is it ??

    Thread Starter specvis

    (@specvis)

    think i found it in the theme>editor

    <?php
    /**
    * Sidebar cateogyr menu
    *
    * @package maritime
    */
    ?>

    <div class=”container”>
    <div class=”row”>
    <div class=”col-xs-12 col-sm-3″>
    <ul id=”menu-category-menu2″>
    <?php

    $taxonomy = ‘product_cat’;
    $orderby = ‘name’;
    $show_count = 0;
    $pad_counts = 0;
    $hierarchical = 1;
    $title = ”;
    $empty = 0;

    $args = array(
    ‘taxonomy’ => $taxonomy,
    ‘orderby’ => $orderby,
    ‘show_count’ => $show_count,
    ‘pad_counts’ => $pad_counts,
    ‘hierarchical’ => $hierarchical,
    ‘title_li’ => $title,
    ‘hide_empty’ => $empty
    );
    $all_categories = get_categories( $args );
    foreach ($all_categories as $cat) {
    if($cat->category_parent == 0) {
    $category_id = $cat->term_id;
    ?>

    <?php
    }
    ?>

    <?php
    if ($cat->slug == ‘combination-signs’) {
    wp_nav_menu( array(
    ‘menu’ => ‘Category Menu’,
    ));
    }
    }
    }
    ?>

    </div>

    Yes it seems that is file.
    Now just follow the steps I suggested to you in my previous post.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘unknown menu – help needed’ is closed to new replies.