Mega Menu Show Only 5 SubCategories

Posted in: Newsmag
Post count: 12

Hello,
I have 9 sub categories, but the mega menu display only the first 5. what can i do?
http://awesomescreenshot.com/07e5ymnpc2

The Binary Brokers on: investingate

Post count: 6535

Hi

To increase the subcategories number displayed in mega menu just increase this value: http://screencast.com/t/27rexqkeMM

Let me know how it goes!
Thanks!

Post count: 12

Hello Again 🙂
How can i control the first 5 posts in the Mega menu, and how can i control the category order?

i have tried ‘orderby’ => ‘slug’ and it didn’t work.

also, i am using paid “re-order” plugin, is it possible to work with ‘sort’ at the Mega menu?

–Uri–

Post count: 6535

HI

Please check these topics as a reference, my colleague Alin pointed a possible solution: https://forum.tagdiv.com/topic/order-of-sub-categories-in-mega-menu/https://forum.tagdiv.com/topic/mega-menu-filter-categories/

Thanks!

Post count: 12

Hi,
I have used an “Category Order and Taxonomy Terms Order” plugin and it worked fine for me.
I tried this for the posts [‘sort’ => ‘random_posts’] and it didn’t work.
https://forum.tagdiv.com/topic/randomize-mega-menu-posts/

I want to use the same “sort” plugin to control the posts on the megamenu, my second question: is it possible to show posts on mega menu by Tag? (the first 5 from the “all” link)

–Uri–

Post count: 6535

Hi

Mega menu was intent to display posts only be category not by tag. To change this functionality are required many customizations in menu’s structure: http://screencast.com/t/a6xJvPEk
This is a complex task which involve some js customization and many tests in order to be achieved.
We can’t offer speed customization services at the moment so if really need this and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

Thanks!

Post count: 12

I understand what you are saying. i have no problem to do it here with my team, if you give me some basic directions to start with.

being said, before ill dive in the code, I do like to try again the randomize solution i red in one of the posts, if you can refer me to a randomize solution that works?

— Uri —

Post count: 6535

Hi

I am not very sure at what solution are you referring as we didn’t offered such solution on our forum.
As a starting point you need to change the taxonomy used for mega menu, replace category with tag: http://screencast.com/t/wMhkFgGz Also you will need to generate the drop-down list which will contain all tags not categories.

Thanks!

Post count: 12

I’m talking about this: https://forum.tagdiv.com/topic/random-posts-in-megamenu-and-category-pages/
I inserted the code and it doesn’t work. what do I miss?

Post count: 6535

Hi

I’ve tested the indicated solution on my side and works fine. Make sure you clear all caches after you add the code then test the site again.
Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newsmag’ is closed to new topics and replies.