Calin,
What kind of tests have you made?
Here’s the comparison of our desktop vs mobile menu:
https://www.dropbox.com/s/g8oen9j0olq1uoc/EKRATOR.jpg?dl=0
As you can see from the screenshot there is a limitaion of number of categories that could be displayed on mobile menu.
So I will repeat my question for the third time:
Is there any other way to increase the number of subcategories (that is second level or level below main categories or subcategories) that could be displayed within mobile menu?
Thank you!
Hi Calin,
thanks for the reply.
The theme is installed correctly. The mobile folder location is placed exactly as shown in your screenshot.
We’ve checked “td_walker_mobile_menu.php” file and tried to use a “depth” variable but it seem there is a recurring problem.
To summarize one more time…we have 3 levels of categories (main categories, subcategories and sub-sub categories).
It seems that there is a limit on maximal number of categories that could be displayed within mobile menu.
We’ve experimented with “depth” levels using values 0-4.
We’ve also tried to increased the number of categories using “depth” variable within “td_walker_mobile_menu.php” file but with no luck.
Is there any other way to increase the number of subcategories (that is second level or level below main categories or subcategories) that could be displayed within mobile menu?
Thanks,
in the wp-content/plugins/td-composer/ folder, there isn’t a “mobile” folder… only assets, css-live, includes and td-multi-purpose
in td_menu.php, we’ve upped the limit from 5 to 100 and it still doesn’t work
Thank you for the reply, but unfortunately it doesn’t solve the issue at the “blog” section.
Let’s say that we found the way (in the back end) to remove the appearance of the subcategories, and that’s a non issue.
The problem is where not all categories and subcategories are not showing (we have a lot of subcategories). I don’t know how to show you the problem.
The mobile menu shows all the depths (except the first level) of categories as one, there isn’t a submenu for subcategories on the mobile menu…
So if you have:
Main menu
— submenu1
—–subsubmenu1
—–subsubmenu2
—–subsubmenu3
——-subsubsubmenu1
——-subsubsubmenu2
——-subsubsubmenu3
—–subsubmenu4
——-subsubsubmenu4
——-subsubsubmenu5
——-subsubsubmenu6
the mobile menu will show it as:
Main menu
— submenu1
—–subsubmenu1
—–subsubmenu2
—–subsubmenu3
—–subsubsubmenu1
—–subsubsubmenu2
—–subsubsubmenu3
—–subsubmenu4
—–subsubsubmenu4
—–subsubsubmenu5
—–subsubsubmenu6
And, ok that is a hierarchical problem that we found a way to workaround and show (only the second depth) as:
Main menu
— submenu1
—–subsubmenu1
—–subsubmenu2
—–subsubmenu3
—–subsubmenu4
BUT, there is sa “limit” where let’s say in this case, it gets only the first 5 menus, where it shows:
Main menu
— submenu1
—–subsubmenu1
—–subsubmenu2
—–subsubmenu3
——-subsubsubmenu1
——-subsubsubmenu2
And when we remove subsubsubmenus it show as:
Main menu
— submenu1
—–subsubmenu1
—–subsubmenu2
—–subsubmenu3
and now the last subsubmenu4 isn’t shown because of the “limit” (and we don’t know where the limit can be rised)
That’s the problem, not the hiding of subcategories (3rd level depth) more than upping the limit
we’ve tried a lot of things… we’ve made a copy of the site here
https://staging2.ekreator.hr
We’ve updated the main theme and turned off the child theme (all the changes are in the child theme) and turn off non essential plugins… so bare bones portal.
We have 3 depths of categories but only want to see first 2, so on the main site (let just focus on the “blog” top category) you only see few categories.
When we use a lot of subcategories (because we aggregate sites) is where the problem arises.
The modification that we did was hiding the deepest category from menu upped the limit, but we only found that for the “mega menu” on this location:
includes/shortcodes/td_block_mega_menu.php
But now we have a problem for the “mobile menu” that we can’t seem to find where to up the limit.
This is a summarry of the problem, if you need more, in depth problem clarification, I can do it with videos and screenshots if you need.
Thanks
Hi Calin,
Thank you for the reply. We’ve deactivated all non themeplugins and cleared the cache but this did not solve the problem.