Exclude 2nd level subcategories in the megamenu

Posted in: Newspaper
Post count: 101

Hello,

We altered the code of the td_block_mega_menu.php, located wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_mega_menu.php, so that it only showed the parent category and not all the children.

The alteration happens on line 140:
https://content.screencast.com/users/Catalin007/folders/Jing/media/5e437bf0-8009-4363-a370-86051db85bf7/2016-09-15_1433.png

However, with the update to wordpress 6 and the new altered plugins, this is no longer working after altering this.

Any advise on where I can fix this again ?
thanks in advance.

Post count: 21065

Hello!

If you have some custom modifications in the theme files, then better save the code and replace it after every update.

For customization and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/

Thank you for understanding!

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