Elementor Custom Skin + custom query filter
-
Hi!
I install your plugin, it’s great.
Now I must order my post by meta_value, so in function.php I wrote:add_action( ‘elementor/query/get_query_args/archivio_filter’, function( $query ) {
$query->set( ‘post_type’, ‘archivio’ );
$query->set(‘orderby’, ‘meta_value’);
$query->set(‘meta_key’, “Anno”);
} );I recive the notice: “Notice: elementor_pro/query_control/get_query_args/current_query è deprecata dalla versione 2.5.0! Utilizzare al suo posto use: elementor/query/get_query_args/current_query. in /wp-includes/functions.php on line 4711”
So I wrote to Elementor support and they say:
“This error indicates that you have a theme or plugin that is using elementor files that are out of date. Please bring all of your WordPress installed themes and plugins up to date.”
I use Oceanwp, the last WordPress version and everything is updated.
Is it possible that there is incompatibility with Elementor Custom Skin or am I doing something wrong?
Thanks for your support,
regards.
The topic ‘Elementor Custom Skin + custom query filter’ is closed to new replies.