I won’t be able to test the plugin with your theme so I will need your help.
Could you please try to replace the function query_recipes()
in php/class/rpr_core.php line 192 and following by
function query_recipes($query) {
// Don't change query on admin page
if (is_admin()){
return;
}
if ( ! is_admin() && $query->is_main_query() ) {
// Post archive page:
if ( is_post_type_archive( 'rpr_recipe' ) ) {
//set post type to only recipes
$query->set('post_type', 'rpr_recipe' );
return;
}
// All other pages:
// add post type to query
$post_type = $query->get('post_type');
if( is_array( $post_type ) && ! array_key_exists( 'rpr_recipe', $post_type ) ){
$post_type[] = 'rpr_recipe';
} else {
$post_type = array( 'post', 'rpr_recipe' );
}
$query->set( 'post_type', $post_type );
return;
}
}
This should solve the problem.