Flex Block sorting issue on homepage (wrong post order after saving)

Posted in: Newspaper
Post count: 32

Hello tagDiv team,

I’ve encountered a strange issue with my homepage layout in the Newspaper theme – https://polishexpress.eu

I created a new section for a new category – let’s call it X1.
The layout is a manually built row divided into two columns:

Left column: Flex Block 2 → displays 1 latest post from category X1.

Right column: Flex Block 1 → displays 4 posts from the same category X1, with offset = 1 to avoid duplicates.

The homepage has the “Unique articles” option enabled, and all modules are set to sort by latest posts.

Inside TagDiv Composer, everything looks correct – the right Flex Block displays posts in the proper order (from newest to oldest).
But after saving and viewing the page (logged in or logged out), the posts in this module appear in a completely different, seemingly random order.

Strangely, if I copy the entire homepage layout (including this module) and paste it into another test page, the order works perfectly fine there.
The issue only occurs on the main homepage.

I’ve already tried:

Clearing the built-in theme cache (no cache plugins installed),

Disabling the offset option,

Verifying that other homepage modules display correctly (and they do).

Still, the problem persists only for this new block.

Any guidance on how to fix this would be greatly appreciated.

Post count: 32

I suspect that the issue is caused by the “unique articles” feature, which doesn’t handle well when a new module is split into two columns in a single row, and both blocks are set to display posts from the same category. Is there any way to work around this? For example, could the “unique articles” option be disabled just for these two blocks?

Post count: 35449

Hello,
Intradevar this situation has to do with the “unique articles” option but it is a little different from what you say. This option makes an article not repeat on the page, so if this article appears higher in a block then it will be skipped, it is possible that you have mega menu or other blocks where those articles are displayed, so in the area where it is set by you the following articles that have not yet been loaded are loaded.

Have a nice day!

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.