Hey @camilo517!
I’m sorry you’re having issues with our plugin.
As far I can see Woodmart it’s a paid Theme, right?
In this case I’d suggest you to contact them and let them know about the issue.
Since our plugin is free they’ll be able to download and reproduce the issue.
If their team needs any assistance we’ll be happy to investigate this together.
Please let me know if you need something 🙂
HI @camilo517 , you can do this for resolve problem:
Edit Main.php in plugin directory > common > src > Tribe.
change line 246 :
tribe_asset(
$this,
'tribe-common',
'tribe-common.js',
[],
'admin_enqueue_scripts',
[
'priority' => 0,
]
);
To this :
if ( 'woodmart_dashboard&tab=builder' != $hook ) {
tribe_asset(
$this,
'tribe-common',
'tribe-common.js',
[],
'admin_dequeue_scripts',
[
'priority' => 0,
]
);
} else {
tribe_asset(
$this,
'tribe-common',
'tribe-common.js',
[],
'admin_enqueue_scripts',
[
'priority' => 0,
]
);
}
Sorry if not work, im not developer
Jaime
(@jaimemarchwinski)
Hi @camilo517
I just wanted to check in here and see if that code worked for you.
If not, I’d recommend reaching out to your theme developers and see if they have any suggestions for how to resolve this issue for you.
I hope that helps!
Thanks,
Jaime
Thread Starter
Camilo
(@camilo517)
Hi @masoudnkh
Thank you very much for the solution
Thread Starter
Camilo
(@camilo517)
Hello @jaimemarchwinski
Yes, the solution works. This should be fixed, woodmart is not supported and surely other themes are not either
and here one s is missing, it is https
/common/src/Tribe/main.php line 29
Jaime
(@jaimemarchwinski)
Hi @camilo517
That’s so great to hear! I’m going to go ahead and close this thread for now but please feel free to open up a new one if anything else comes up.
Have a wonderful weekend!
Thanks,
Jaime
Hi,
Since 5.5.0 this is not working anymore. Can you please advise?
Edit Main.php in plugin directory > common > src > Tribe.
change line 246 :
if ( 'woodmart_dashboard&tab=builder' != $hook ) {
tribe_asset(
$this,
'tribe-common',
'tribe-common.js',
[],
'admin_dequeue_scripts',
[
'priority' => 0,
]
);
} else {
tribe_asset(
$this,
'tribe-common',
'tribe-common.js',
[],
'admin_enqueue_scripts',
[
'priority' => 0,
]
);
}
-
This reply was modified 5 years, 2 months ago by
eduits.
-
This reply was modified 5 years, 2 months ago by
eduits.
-
This reply was modified 5 years, 2 months ago by
eduits.