Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes, I have the same problem.

    if ( ! is_post_type_archive( 'product' ) && ! is_tax( array_merge( $_attributes_array, array ('product_cat', 'product_tag' ) ) ) )
                return;

    Whats wrong with this? I have tried adding ((array) in a few places in this line of code above with no luck.

    When I added the ((array) it made my entire wordpress dashboard disappear with an error message

    infomil

    (@infomil)

    So, the code became this?

    if ( ! is_post_type_archive( ‘product’ ) && ! is_tax( array_merge( $_attributes_array, ((array) (‘product_cat’, ‘product_tag’ ) ) ) )
    return;

    Thanks for the reply!

    I have same thing with the widget logic plugin if I trying to use is_product_category() rule in Ajax Navigation Widget

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘when add widgets after then showing error’ is closed to new replies.