• Resolved raven747

    (@raven747)


    Looking to move from Beaver Builder to elementor, but we have it so BB pulls from both Posts and Reviews when sorting out a query. I for the life of me can not find the hooks to do this with elementor.

    This is the query we have for BB:

    function fl_builder_loop_query_args_filter( $query_args ) {
    $query_args[‘post_type’] = array( ‘post’, ‘reviews’ );
    return $query_args;
    }
    add_filter( ‘fl_builder_loop_query_args’, ‘fl_builder_loop_query_args_filter’ );
    Any help would be amazing!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Multiple post types for a module. Need custom query’ is closed to new replies.