Hello @rohan3188,
Sorry for the inconvenience.
It seems that there is a code snippet present in your website code that making a conflict with SJB.
Please deactivate your website all plugins except SJB, switch your theme to any WP Twenty theme and then see this issue.
Let us know if the problem still persists.
Thanks & Regards,
PressTigers
Hello Sir,
We are already facing same issue. I tried with same thing. but did not resolve .
This issue come from latest update.
Regards
Gopal
Hello Gopal,
Please follow the above mentioned instructions and then check your issue.
Let us know if you are sill facing this issue.
Thanks & Regards,
PressTigers
yes i Did all step and i am facing same issue.
Regards
Gopal
Have you switched your theme any WP twenty theme? It’s just for testing purpose.
Hello Team,
I used same plugin in last 1 year . Right now i can’t switch any default theme because lot of thing are customized. After update this plugin showing default blog posts . I thought this is something issue with latest update in plugin.
Regards
Gopal Gautam
Hello Team,
Don’t know this function are brake your code.
function wpshock_search_filter( $query ) {
if ( $query->is_search ) {
$query->set( ‘post_type’, array(‘post’,’page’) );
}
return $query;
}
add_filter(‘pre_get_posts’,’wpshock_search_filter’);
After remove this code from function.php . works fine.
Regards
Gopal Gautam
Hello Gopal,
That’s what we are asking to change theme just for testing purpose, not on the permanent basis of making sure either you are experiencing conflict due to SJB plugin or your theme.
Good to know you find it on your own.
Thanks & Regards,
PressTigers
Hello Team,
But this is default script why conflict with your your plugin . can you explain about this? I need function for my theme.
Awaiting for your response.
Regards
Gopal Gautam
-
This reply was modified 7 years, 6 months ago by gopal2k6.
Hello Gobal,
Plese specify your above-mentioned code/script which is used in your theme, so it can work only for the specific purpose as it is effected generically and also effected on Job Pages.
Thanks & Regards,
PressTigers
Hello Team,
This script/function make wordpress search filter within post and page section.
function wpshock_search_filter( $query ) {
if ( $query->is_search ) {
$query->set( ‘post_type’, array(‘post’,’page’) );
}
return $query;
}
add_filter(‘pre_get_posts’,’wpshock_search_filter’);
Here you can find all details about custom function.
https://stackoverflow.com/questions/5147297/wordpress-search-only-works-with-posts-not-pages
Reagrds
Gopal Gautam
-
This reply was modified 7 years, 6 months ago by gopal2k6.
Hello Gopal,
We only provide support for the SJB plugin installation, configuration, usage guideline and bugs not for its custom work.
Also, your solution is suggested 6 years ago. So, we suggest you please ask your theme developer to review the code and do customizations accordingly.
Thanks & Regards,
PressTigers