Error in functions.php | https://ssl.pibella.com

Hi x-Theme

I updeted the whole site, https://ssl.pibella.com, like x-theme and all plugins.
in the functions.php I included a script - made by you guys, thanks - that the revslider remains on all products in the woocommerce shop.
it still functions actually, but since the update the script blocks the dasboard, so we are unable to login while the functions.php is avtive.
It would be great, if you could apdate it or finde the error that causes this problem.

thanks alot, ben

ps: right now functions.php it is deactivated
for download functions.php ->
http://bluehuus.ch/Pibella/ssl.pibella.com-functions.php.zip

Hi Ben,

Thanks for writing in!

In your functions.php file.

Please change this line of code

if( ( x_is_shop() || x_is_product_category() || x_is_product_tag() || x_is_product() ) && empty($value) ) {

to

if( ( is_shop() || is_product_category() || is_product_tag() || is_product() ) && empty($value) ) {

Hope that helps

Perfect, thanks alot-
regards, ben

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.