Feature requests

Extra menu list DYNAMIC url...

For megamenu - in order to show product categories I use EXTRA MENU LIST . On the other hand, it is not possible to call up and add product categories here.... I found a solution to this problem. It requires a small change in /wp-content/themes/woodmart/inc/integrations/element/elements/class-extra-menu-list.php

'active' => false, CHANGE to true

Unfortunately every woodmart update deletes this change. Can't use this file in child theme....

Code snippet below,

$this->add_control(

'link',

[

'label' => esc_html__( 'Link', 'woodmart' ),

'type' => Controls_Manager::URL,

'dynamic' => [

'active' => false,

],

'default' => [

'url' => '#,

'is_external' => false,

'nofollow' => false,

],

]

);

$repeater->add_control(

'link',

[

'label' => esc_html__( 'Link', 'woodmart' ),

'type' => Controls_Manager::URL,

'dynamic' => [

'active' => false,

],

'default' => [

'url' => '#,

'is_external' => false,

'nofollow' => false,

],

]

);

Translated with DeepL.com (free version)

and 2 others

0 comments