Using "Posts Loop" twice on a category archive template crashes the posts

Posted in: Newspaper
Post count: 49

Hi,

I want to use a cloud template for category archive pages with two “Posts Loop” elements, but it does not work properly.

The first element has to show the first three most recent articles without any pagination or offset.

The second one has to show the rest of the recent articles with ajax pagination of six articles at a time and an offset of 3 posts (which are already shown in the first element). The second element does not show the proper six posts, but only the first three without using the offset. It only shows the proper content if pagination is used.

Post count: 18283

Hello !

Unfortunately this option is not available using the tagDiv Composer. The best way you can achieve this is using flex blocks

We are sorry for the inconvenience !

Thank you !

Post count: 49

Hi,

Flex blocks do not work with archive pages. It selects all the posts and does not filter on the selected category. Is there any other way?

Post count: 18283

Hello !

You can try Date Templates, they might be the solution for you since they are designed for archive pages: https://www.screencast.com/t/WPIC4rxqldbG

Thank you !

Post count: 49

Hi Vlad,

The same bug appears on the date template too. It also uses the “Posts Loop” element. I just need to use two of them at the same time, that’s all.

Post count: 18283

Hello !

Sorry for missleading you.

Unfortunately that option is not possible with Newspaper Theme.

We are sorry for the inconvenience !

Thank you !

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.