This plugin is not support for multiple categories (with checkboxes)?
-
This plugin is not work for multiple selected category from front end “subscription form”, if any one selected all category options e.g category1, category2, category3 are selected then if post is added with category1 then it’s work because this category is in 1st position but if post is added for category2 or category3 then subscriber did not get any emails regarding this post. So you need to upgrade your plugin and for this you just have to make small change in database-query of file ‘st-category-email-subscribe’ and query is “$table_result = $wpdb->get_results(“SELECT * FROM “.$table_name.” where (st_category = “.$category->term_id .” OR st_category = 0) AND IFNULL(st_unsubscribe,0) != 1″);” replace with “$table_result = $wpdb->get_results(“SELECT * FROM “.$table_name.” where (FIND_IN_SET( “.$category->term_id .”, st_category ) OR st_category =0 ) AND IFNULL(st_unsubscribe,0) != 1″);”
The page I need help with: [log in to see the link]
- The topic ‘This plugin is not support for multiple categories (with checkboxes)?’ is closed to new replies.