dudaster / ele-custom-skin

Create a skin for Elementor Pro Post and Post Archive widgets using Elementor templates
GNU General Public License v3.0
59 stars 10 forks source link

Load More button resets query #504

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi Dudaster,

I have Load More enabled under Pagination for posts which are ordered by a custom field (event date) in a custom query.

Weirdly, when I click Load More, the posts load but they are not in order of my acf field date: https://snipboard.io/3flSvW.jpg (before load more, expecting to see 20th june for the next event post) https://snipboard.io/mkdha8.jpg (after load more, it shows the first posts)

I think this is because I need to enable the following option, however, when I set this to yes and update my page, it doesn't actually save to yes. I just can't enable it: Reinitialize Elementor JS on Ajax Pagination? This is used for the elements loaded through AJAX Pagination. This is experimental feature and it may not work properly. https://snipboard.io/ylP2tu.jpg

Any help greatly appreciated! Connor

dudaster commented 3 years ago

Does the ordering is made by javascript?

ghost commented 3 years ago

Does the ordering is made by javascript?

Hi Dudaster, No, here is the query: https://snipboard.io/nX4buc.jpg

Any help greatly appreciated!

ghost commented 3 years ago

Hey Dudaster, Any thoughts on this one? I can't seem to work out why the query resets on Load More Thanks In Advance