Any block other than post loop isn't working in templates

Posted in: Newspaper
Post count: 221

Hello, team tagDiv.

I am customizing author, archive, search, category and tag templates. I chose an archive template from cloud library, the posts are displayed using post loop. But I want to change the design of how these posts look for which I decided to use flex box 1. Now the problem, flex box or any shortcode other than post loop isn’t working the way it’s supposed to be. Flex box show all the post there are on the website, there is no filter. Only post loop filters the post.

So please help me. I don’t want to ruin my website’s design by bringing in any consistency in the way it looks.

This is happening with my website.

1) I went into the theme panel. From the section “LAYOUT SETTINGS”, I clicked “TEMPLATE SETTINGS”.

2) I clicked on the tag template from the on of the sections under “WordPress Templates”.

3) I clicked on the link “cloud library” and imported a template. Everything is fine. Only the post under the selected tags were being displayed which was great.

4) I tried to edit this template. The posts in this template were being displayed with the help of post loop.

5) I tried to replace the post loop with flex box because it gives more options for customization.

6) I selected the flex box and what I see is that all the posts started showing. The posts were not filtered by tag.


I have only one post for the tag name “Tour” but when I click on this tag, instead of showing that one post only, it shows all the posts. And this only happens when I don’t use post loop

Post count: 35449

Hello,

Please notice that only the “posts loop” element/block will sort the posts according to the category/author/… template, also the posts loop element should have the same options for style/design, the only tag that posts loop do not have is the filter, but this block is automatically filter; there are only few sorts -> https://www.screencast.com/t/DJUd7kKKgO

Thank you for your understanding!

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