How to enable two Query Loop blocks in one element template and both support Cur
-
As mentioned, I tried to create a Loop Template for article classification, and used Query Loop blocks twice in the layout of this Loop Template page, where:
The first time the Query Loop block is called, PARENT filtering is used, the Current post option is set, the filtering of top articles is added, and the number of articles is set to 1 (actually this is the first article, using a design style with a larger featured image)
The second time the Query Loop block is called, only the PARENT filter is used, the Current post option is set, and the number of articles is set to 11;
However, after passing the above settings, the category page using this Loop Template only displays 2 articles, one from the first Query Loop block and one from the second Query Loop block. Are they the first Query Loop? Block’s query settings affect the second Query Loop block? If you want to implement it perfectly, can you solve this problem by writing code?
- The topic ‘How to enable two Query Loop blocks in one element template and both support Cur’ is closed to new replies.