Custom Query – not working

Hi,

Please send me a link to your site.

Thx for the quick reply. Not quite sure what you’re referring to.

The page in question is:

I guess the more helpful angle would be: is there any known problem with custom queries?

Thx

The Elementor doc references: {$query_id}, which I had assumed meant some auto-generated query id would be interpolated.

But in fact, it needs a literal, as in:

add_action( ‘elementor/query/xxxxxx’, ‘custom_query_test_02’ );

For those of us not coming from a WP dev background, a suggestion would be to more clearly define the add_action param types.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer