Hi, I’ve got a trouble with the top of the Homepage on https://kjfjckk.carnewschina.com (testing website).
There’s a top post (block). Then there are two other blocks below (Hot from IV and Hot from ICE). Below that there’s a box Latest News and below that there’s a post loop with pagination and rest of the posts.
What I’d like to have is following:
- There’s always the newest post in the top post block.
- There’s always the newest post of category EV (red box), same for ICE category. However, if the post in top post block belongs to EV category, there’s second latest post in EV box.
- In the latest news the upper three posts are excluded (note – these posts don’t need to be the latest ones).
- In the post loop below the upper three posts are excluded also.
Is it possible to set everything like this? I’m pretty sure it will require some PHP code.
Thanks!
Jakub
Hello,
You can apply a filter on each block as you want, to not display the same posts, you need to enable the option unique article, which checks if that post is showing in other blocks => https://forum.tagdiv.com/unique-articles/ -> https://www.screencast.com/t/qPztPvlx
This option automatically removes duplicate posts from the page.
Thank you!
After that, you can set filters on blocks.
Thanks! That did the job, but…
There’s actually one block on the site where I would need the duplicate content – there’s block History of Chinese Automakers and this one should displays all the newest posts from specific category. These posts should be also displayed in the news feed.
Is there a way how can I turn off the duplicates for specific block?
Thanks!
Hi kubazabran, unfortunately, the option for unique article will apply on all blocks from the page where the option is enabled.
Maybe you can use the offset on blocks, this can be set with tagDiv Composer, but it will be harder then unique article and is possible to not get the same results.
You can get more details about how the offset is working from this guide https://forum.tagdiv.com/block-settings-tutorial/ -> https://i.imgur.com/vsUmxMu.jpg
Thank you!