How to have 5 pages in megamenu, instead category posts

Posted in: Newspaper
Post count: 4

In the demo, “GADGET” menu is a megamenu with 5 posts. I would like to have 5 pages but I cannot find the right place to change the code.
I found the render function in td_block_mega_menu class, but I don’t understand how to force my pages to come out.
I know that hard-coding these vaules (pages’ IDs) is not the best way, but it’s the only solution I found, because there are no hooks/filter.
Can you help me? Thanks, G.

Post count: 20688

Hi,

You can only have one page that is to be displayed in a page menu
https://forum.tagdiv.com/page-menu/
The Gadget mega menu is a simple menu that displays posts from the gadgets category, the limit is 5 posts. The menu is not supposed to display 5 pages instead of 5 posts. There is no option to have this result, please try and use the default menu capabilities.

Thanks

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