Setting the Posts Query: order and offset
Step 1 – Now, you should open the listing with Elementor editor and choose the necessary listing from the dropdown menu. Customize it as you want to.
Step 2 – Proceed to the Content > Posts Query tab and select the Order & Offset type here.
Step 3 – Now go to the Posts Offset menu. When you set the concrete number in this select menu, you hide this number of posts from displaying on the page. For example, you set ‘1’ in the Posts Offset menu and the first post in the listing will disappear, so on. (Note, that if you change the order from DESC to ASC and vice versa, the post from the first place will be hidden. Look at the end of the tutorial, how it works.)
Step 4 – The next option called Order and allows to change the order from descending to ascending one.
Step 5 – To set the correct order, we should choose the criteria for this. In the Order by dropdown menu, you are able to set the needed option, or even set the random one.
You can order the posts in any way. For example, by the Title/Name (it means alphabetically), Date (as we’ve seen it above) or by the Meta field (which can be either data, or text, or numerical value, for instance).
To order posts by date, choose the Meta value option in the Order by menu. The Meta key to order field you should fill in with the Name / ID of the relevant meta field. In our case, it’s ‘custom-dates’ one. Don’t forget to choose the Date option in the Meta type menu.
Here you are!
How to extend opportunities
What is more, it’s possible to widen the opportunities by combining the Order & Offset posts query type with others. You can simply do it with clicking on Add new item button and customize the settings up to your needs.
And we’re done! Thanks for following along, I hope you’ve learned one thing and enjoyed working with JetEngine plugin!