Can someone help me

[ad_1]

So i use elementor pro and acf so after I add acf custom post types I cant use elementor pro current query and pagination so I make it with PHP for current query but cant add pagination for one loop grid can someone help me?

add_action( 'elementor/query/your_widget_id_3', function( $query ) { global $shown_post_ids; // $query->set( 'post_type', 'clanci' ); $query->set( 'posts_per_page', 8 ); $query->set( 'orderby', 'date' ); $query->set( 'order', 'DESC' ); if ( ! empty( $shown_post_ids ) ) { $query->set( 'post__not_in', $shown_post_ids ); } // add_filter( 'posts_results', 'update_shown_post_ids' ); });

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer