• Resolved Camilo

    (@camilo517)


    When activating your plugin, the woodmart theme options do not work correctly
    Could you upload your code only when necessary? so as not to create incompatibilities with plugin and theme options pages. Thank you
    https://prntscr.com/u4xh02

    • This topic was modified 4 years, 3 months ago by Camilo. Reason: image
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Deblyn Prado

    (@deblynprado)

    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

    • This reply was modified 4 years, 2 months ago by Masoud NKH.
    • This reply was modified 4 years, 2 months ago by Masoud NKH.
    Plugin Support 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

    Plugin Support 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 3 years, 8 months ago by eduits.
    • This reply was modified 3 years, 8 months ago by eduits.
    • This reply was modified 3 years, 8 months ago by eduits.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Conflict with woodmart theme’ is closed to new replies.