Custom Query Filter [Elementor Pro Tutorial]

preview_player
Показать описание
In this video I will show you how to display multiple post types inside a post widget. By default the post widget only allows you to select 1 post type inside the query settings.

Timestamps:
0:00 Introduction
0:25 Custom Query Filter Documentation
0:50 Code Snippets Plugin
1:08 Elementor Post Widget Backend
1:42 Add Custom Function Code
2:48 Add Query ID
3:55 Modify Function Code

#webdesign #elementorpro #queryfilter

Elementor (Affiliate Link):

Code Snippets Plugin:

Custom Query Filter Documentation:

Our Recommended Tools
Some of the links on this page are affiliate links, meaning we may receive a commission if you follow them. This allows us to continue providing free content and educational resources for you. Thank you for supporting our small business!

WORDPRESS PLUGINS:

BUSINESS TOOLS:

GRAPHICS:

WEBSITE HOSTING:

------
Рекомендации по теме
Комментарии
Автор

This is great and so easy. I have been trying to figure this out for a while. Thanks!

bryancoe
Автор

Thank you! This was what I was looking for as I was looking to merge custom post types.

nocodewp
Автор

We can have like just if we have the elementor pro ?

EtienneLeBail
Автор

Hello This is so helpful, would you reckon this is still valid with the new recent new updates and how can I make the same work with a loop grid query?

AnushaYadav
Автор

Hey! thanks for the tutorials. I am wondering if you have a video/link that shows how to set a Query ID field in Elementor (what the snippet will look like?) to set a condition. For instance: all the classes for a course I have on a CPT for the current class I am visualizing on a single post template. Thanks in advance!

vamosentrepreneur
Автор

Combined my CPT and the regular Posts now, thx! But now the following: when I change the Summary length the length of the regular post is being changed but the summary of the CPT isn't affected. Is it possible to als change the summary length of the CPT?

Verrekijker_
Автор

is there wa y to use this to display the Terms of a CPT not the actual posts but the terms

philip
Автор

Hi, great content, I really enjoyed it.
I would like to know if there is a way to display the pagination using the current query option. Thanks

tecnerd_ofc
Автор

They've changed the code on the Custom Query Filter website. Can I use your code still?

lfrost
Автор

Great video. I would love to see one that shows how to connect Custom Fields to the Query. I have a start_date and end_date and I want to filter if todays date is between these two. Just can't quite get the code right.

Critterles
Автор

Have two custom post types with a one to many relationship (1 course vs many classes) with start date and cannot figure out how to get the classes which relate to the course comparing date as well to display future classes availability. Would be great if you could make a more complex tutorial to show how this can be achieved.

KevinCarbonaro
Автор

Hi, is there a way to combine this with AJAX?

archicoders
Автор

Great, i want to filter posts by user role subscriber, so only subscriber role posts should display.
Can you please help?
Thanks

maliktanveerdhool
Автор

How do I actually create the categories? I can't figure out how to categorize my posts/pages into the actual filtered categories I want. In your example your filters are "web design, elementor, seo, wordpress"

aprildai
Автор

Mark, I enjoy your videos! So, I am trying to set the target ID for an elementor template using a short code ... e.g. can I use a shortcode like [elementor-template id="15639" postid="9999"]? Here my intention is to reuse an elementor template which pulls the data from post #9999 into the template. The next one might be #10078, etc. Is this possible? I can't seem to find the answer or I am searching for the wrong terms. Thx much! --Dano

P.S. The elementor template I created uses a Modal Widget, so the user can click a thumbnail (from post #9999) and then get an enlarged image (diagram) + all the data regarding the diagram. To be clear, I am using a single post template type, NOT an archive. I don't want to create many elementor templates. I want one that reuses the data. Of course, the current page or post is not the target ID I need, thus my question. Maybe I need a custom query that will allow me to set a target ID?

danodemano