PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Hide plugin in custom taxonomy pages

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,
I want to hide the plugin in custom taxonomy pages like"https://larechazadalibros.es/?coleccion=X" where"coleccion" is a custom taxonomy.

I try paste in"Init only on" section:
· https://larechazadalibros.es/?coleccion
· #https://larechazadalibros.es/?coleccion
· https://larechazadalibros.es/?coleccion=
· #https://larechazadalibros.es/?coleccion=
· taxonomy-coleccion

And none of this works. Can you help me?

Thanks!

PS: The plugin is set inverse mode (disable the plugin only on the following pages of the site)

Hello

This setting does not work with GET parameters

Try  to  use  this  hook

add_filter('woof_disable_filter', function($hide){

if (isset($_GET['coleccion'])) {

$hide = true;

}

return $hide;

});

Thank you Pablo,
the code did not work for me. I finally changed the structure of the links so that they are not"?coleccion=" but"/colleccion/" and I'm still testing.

Thank you very much

OK! Welcome;)