template/wordpress/code/query.php in edge_framework-1.2.4 vs template/wordpress/code/query.php in edge_framework-1.2.5

- old
+ new

@@ -10,13 +10,16 @@ if(empty($args) ) { $args = array( "post_type" => get_called_class() ); + } else { + $args["post_type"] = get_called_class(); } return new WP_Query($args); } + public static function find_by($key, $value) { wp_reset_postdata(); $args = array( \ No newline at end of file