Looking for support? You can access the support system via your account.
- This topic has 3 replies, 2 voices, and was last updated 3 years, 2 months ago by .
You must be logged in to reply to this topic.
Looking for support? You can access the support system via your account.
Forums › Forums › Search & Filter Pro › Pagination not working with Dynamic Listing (Plus addons Elementor)
Hello,
I have to use the widget Dynamic Listing from The Plus Addons (Elementor) to show a list of my custom post “biens” (like “buildings” in english) with a custom skin for a customer.
I use the query ID to link my search and filter form with my Dynamic Listing. Our item from the custom post type are displayed but the pagination isn’t working.
I add this code to functions.php to manage the link :
function recherche_bien_vente_function($query_args){
$query_args['post_type'] = 'biens'; // My custom post type
$query_args['search_filter_id'] = 783; // My search and filter ID
if ( get_query_var( 'paged' ) ) { $paged = get_query_var( 'paged' ); }
elseif ( get_query_var( 'page' ) ) { $paged = get_query_var( 'page' ); }
else { $paged = 1; }
do_action ('search_filter_setup_pagination', $paged);
$query_args['paged'] = $paged;
return $query_args;
}
add_filter('recherche_bien_vente', 'recherche_bien_vente_function');
I think that your plugin does not support the pagination for Dynamic Listing (and Dynamic Listing globally) but can I make it work with the query_args ? Or is it an another method ?
Regards,
Amélie.
As you are using Elementor Pro, and did you use our extension for Elementor Pro, which can be installed after clicking the big blue button (you need to be logged in to see it) at the top of the guide page (to download the installation file):
https://searchandfilter.com/documentation/3rd-party/elementor/
In the main, this works with another custom skin plugin (Ele Custom Skins), as that plugin sill uses the Posts widget, but adds extra skins that you design.
Doing the pagination from code is unlikely to work though.
Hello,
It was what I did before this but the pluggin “Ele Custom Skins” isn’t working well (I can’t modify anymore my skins after few days), it’s not the first time in a site that I build and I think that it’s start to be to old (no updates for the pluggin). It’s why I had to buy “The Plus Addons” to use Dynamic Listing..
At the moment, other than Elementor Pro itself (and its Posts, Products, Archive Posts and Archive Products widgets), we only officially support these plugins (the first is for Elementor, the second is a generic plugin):
https://searchandfilter.com/documentation/3rd-party/dynamic-content-elementor/
https://searchandfilter.com/documentation/search-results/custom-layouts/
We do intend to extend our support to other Elementor posts plugins later this year, but such support requires the assistance of the plugin authors, and Dynamic Content were the first to step up and provide considerable assistance in this. I am sure others will over time.
You must be logged in to reply to this topic.
© 2024 Search & Filter Support. All Rights Reserved.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy