Not working for specific categories
-
It looks like $conditions in popup-functions.php is testing for the wrong array keys.
Tests like
elseif( array_key_exists('on_specific_categories', $conditions) && array_key_exists('on_category_' . $category_id, $conditions) )will always return false, because the actual $conditions array looks like this:
Array\n(\n [on_categorys] => true\n [on_specific_categorys] => true\n [on_category_161] => 1\n [on_search] => true\n)\n
As result, popups never show on specified target categories.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Not working for specific categories’ is closed to new replies.