Загрузка...

How to Display Related Posts in WordPress — JetEngine + Query Builder

Related posts are a classic WordPress loop filtered to match the current post's taxonomy. JetEngine's Listing Grid — its visual loop builder — combines a Query Builder (what to display and under what conditions) with a template editor (how each item looks), so you can build this without writing a single query in PHP.

In this tutorial, Mark from Wicky Design shows two approaches: a direct Posts Query with the current_terms macro, and an alternative using the Query Builder for more advanced filtering.

✅ What you'll learn:
• How to set up categories and assign them to posts
• How to create a listing item template (loop template) for related posts
• How to configure the Listing Grid widget on a single post template
• How to use the current_terms macro to match posts by shared taxonomy
• How to exclude the current post from the related posts loop
• How to build the same query using the Query Builder as an alternative

-------------

► TIMESTAMPS
00:00 Overview — Related Posts with JetEngine Listing Grid
00:26 Adding Posts and Assigning Categories
01:01 Updating the Listing Preview Settings
01:48 Creating a Single Post Template
02:24 Setting Up the Listing Grid
02:58 Posts Query — current_terms Macro Setup
04:44 Alternative: Building the Query with Query Builder
07:50 Final Result

---------------

► Get JetEngine: https://out.crocoblock.com/3JNGXVP
► Choose Crocoblock subscription: https://out.crocoblock.com/3JHyJ1K

📄 Display Posts Related by Terms on the Single Post Page (Knowledge Base):
https://out.crocoblock.com/3w70m15

📄 Listing Grid Posts Query Overview:
https://crocoblock.com/knowledge-base/jetengine/listing-grid-posts-query-overview/

📄 WordPress Content Loop with JetEngine — No Coding Required:
https://crocoblock.com/blog/wordpress-custom-content-loop/

📄 Top 3 WordPress Advanced Loop Builders (includes JetEngine):
https://crocoblock.com/blog/top-wordpress-advanced-loop-builders/

► Full JetEngine Tutorials Playlist:
https://www.youtube.com/playlist?list=PL26jaHWVtLFxD1yBmvWTqGbKckit4Ochc

-------------
👉 Follow Wicky Design for more WordPress content:
► https://youtube.com/@WickyDesign
► https://wickydesign.com/

-------------
#JetEngine #Crocoblock #RelatedPosts #WordPressLoop #QueryBuilder

Have questions about related posts setup or the current_terms macro? Drop them in the comments 👇
If this helped, like the video and subscribe for more WordPress tutorials.

Join us here:
► FB Community: https://www.facebook.com/groups/CrocoblockCommunity
► Discord Community: https://discord.gg/6WbBaJQ2G5
► Facebook: https://www.facebook.com/crocoblock/
► Twitter: https://twitter.com/mrcrocoblock
► Instagram: https://www.instagram.com/mrcrocoblock/
► LinkedIn: https://www.linkedin.com/company/crocoblock

Видео How to Display Related Posts in WordPress — JetEngine + Query Builder канала Crocoblock
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять