How-to and Troubleshooting
12
Posts
3
Users
3
Reactions
4,414
Views
Mar 11, 2019 9:50 am
@robert @sofy not sure I completely agree. If you look at the below revised statement, it's using OR
!WPF()->db->get_var("SELECT `ID` FROM `".WPF()->db->posts."` WHERE `ID` = '".intval(WPF()->pageid)."' AND ( `post_content` LIKE '%[wpforo]%' OR `post_content` LIKE '%[cs_content]%' OR `post_content` LIKE '%[wpforo-index]%' ) AND `post_status` LIKE 'publish' AND `post_type` IN('post', 'page')") ){
Page 3 / 3
Prev