How to Filter WordPress Listings based on REST API Query

preview_player
Показать описание
Want to dynamically pull in #WordPress posts from another website and filter them without writing a single line of code? With CrocoBlock’s #JetEngine and #JetSmartFilters, it's not just possible, it's easy! In this tutorial, Andrew walks you through filtering listings with data sourced from an external site using the #REST API query type in JetEngine.
Learn how to create a REST API endpoint, build queries, set up filters, and display listings - all step by step. If you find this helpful, don’t forget to like, subscribe, and drop a comment!

📄 How to Filter Listing Based on REST API Query Type
-------------

► TIMESTAMPS
00:00 Introduction
00:42 Configuring the REST API Endpoint
03:20 Setting Up the REST API Query
04:53 Creating Smart Filters for API Data
05:52 Designing the Listing Display
08:10 Adding Listings & Filters to the Frontend
---------------

-------------
#WebDesign #WebDevelopment #WordPress

Join us here:
Рекомендации по теме
Комментарии
Автор

Thank you and please share more tutorials for REST API

pulp
Автор

+1 From me. Need more Tutorials for REST API

scprojects-gr
Автор

Sorry, I couldn't understand the per page part, how can I configure it to appear every 20 posts? After all, is there pagination for REST API?

UltraGamesETutoriais
Автор

@Crocoblock I need help. I have a main table called 'produto', and in it I have repeater fields coming directly from an API. I can't use the repeater — it shows up blank, while the other non-repeater data appears normally

exeBat-wk
Автор

Great tutorial!
Thank you!

Is it possible to create a search box (input field) + submit button on the page of the api listing grid? So when you type a search term (instead of clicking on a filter button), you can click the submit button to get the api results.

I think this needs another tutorial video 😊.

mashaya
Автор

does it work with the API's that are not wordpress?

mrchaudhary
Автор

Hi again. I’m using the REST API feature to fetch data from an external API that paginates results (20 items per page). The API requires ?page=X to get more items; it ignores per_page parameters. I tried setting per_page=99 as shown in your video, but it still only returns 20 items.
Is there a built-in way to make JetEngine fetch all pages automatically? If not, what’s the recommended solution? The API doesn’t provide "total pages" but returns empty when done.

pulp
join shbcf.ru