several aql blocks in same page with meta key and aditional post type
-
Hi Ryan, thank you for that marvelous plugin (waiting for merging in core soon!!!)
Let me explain my scenario with your plugin and i hope you could help me in any way.
I have a page with four sections of mixed featured posts and pages each one. I have created a custom field with acf, share by pages and posts, to make possible show that mixed of content in each, with five posible values (none, value1, value2, value3, value4).
I’ve used four AQL block to make the queries as follow:
SETTINGS – Content type: page, Order by: Newer to older, Filters: none
ADVANCED QUERY SETTINGS – Additional Post Types: Post, Post Per Page: 4, Post Order By: Date, Post Meta Query – Meta Key: _xty_featured_in, Meta Value: value1 (in first block), value2 (in second block), and so on…, Meta compare: “=” (I’ve tried with “IN” and same happened)
In the backend editor everything is fine, and works as I expected. But not
in the frontend. First section shows correct mixed pages and post, but next sections don’t work well, only shows posts, but not pages.
I’ve tried the reversed option with Content type: Post and Additional Post Types: Page, but the same result
I’ve tried with two sections only, and the same is happened.
Is there a limit in queries in the same page (or post) for making this working well?Thanks in advance and i really appreciate your hard work on this plugin
- The topic ‘several aql blocks in same page with meta key and aditional post type’ is closed to new replies.