Home Forums WoodMart support forum Register the category menu location in the theme

Register the category menu location in the theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #676170

    Alex
    Participant

    Currently, only 2 types of menus are registered in the theme – Main and Mobile (section – Manage Locations /wp-admin/nav-menus.php?action=locations)

    Here is a screenshot of the place I mean by menu registration: https://canny-assets.io/images/d8e89a7eb1995c1926e87bcee00c0dc1.png

    Translation plugins (for example, Polylang) pick up data about the menus registered in the theme and allow you to set different language versions in the same section (menu).

    However, some other important locations, Categories (Product Categories), are not registered as menus in the theme, which is why you have to create different Headers (in the Header builder) for each language version, for a full translation of the theme

    Explanation: while most other small multilingual elements in the Header builder can be replaced with HTML Blocks (which can be made in different language versions), this will not work with Categories (Product Categories).

    These places (menus) are also not registered as theme menus (in locations), but their +- can be replaced with HTML blocks for multilingualism: Header link, Top Bar Left, Top Bar Right

    Additionally, I added this as a suggestion here: https://woodmart.canny.io/feature-requests/p/register-the-category-menu-location-in-the-theme-to-improve-multilingualism

    #676259

    Hello,

    Can you please share the WP admin login details of your site so I will check and give you a possible solution.

    Best Regards.

    #676261

    Alex
    Participant

    There are no alternative solutions for multilingual categories (desktop) in the header (so that the design is preserved) other than those described by me.

    Or creating different headings in the Header Builder (for each language) – what I use now.

    Or officially registering categories as a menu in the theme – what I described here in the topic

    #676336

    Hello,

    Yes, you are right, there is no other alternative solution when you will use the Polylang plugin. You should translate the header in different languages separately and translate other widgets as well on the header.

    Basically, our theme is fully compatible only with the WPML plugin so most of the users are using the WPML plugin on the site for the multi-language translation.

    Thanks for your suggestion and feature request you have added here:
    https://woodmart.canny.io/feature-requests/p/register-the-category-menu-location-in-the-theme-to-improve-multilingualism

    Best Regards.

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)