Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
asirota
tagDiv Member

Hi Bogdan,

I figured out the problem, and it has to do with a well hidden setting in the theme –
unique articles

Of course we had this enabled on the home page, but not on the category pages. Once I disabled the unique articles setting, everything worked as expected. We enabled this feature to avoid duplicate content on the homage page of the site which has a lot of blocks from various categories. Since articles sometimes use more than 1 category, this featured ensured no duplicate content on the home page — even in the sidebars!

The sidebar we were using on the home page was being filtered out by this feature!

I think the unique articles feature option should be used with great care. I wonder if there is a way to highlight on the edit page that this is turned on somehow? Right now it’s buried behind a tab under the content.

Thanks for your help.

ps. I am glad I didn’t follow your advice to start troubleshooting the website, Newspaper works great so I could not imagine something like this would be caused by a conflict — we’re good about not doing crazy things like this, although you never know do you?

asirota
tagDiv Member

Ok so I took the sidebar from the category page which is working as expected with tag and category filters:

http://699.25a.myftpupload.com/category/data-centre/

And added it to the home page using the widgetised sidebar. I was using the widgetised sidebar all along to use a different sidebar to the home page in the original post.

In theory since the SAME sidebar is being used in 2 places (home page and category page) the sidebars should render the same, but they do not.

One the home page I see only 1 post tagged with rr-data. On the category page I see 2 posts, which is correct. I have 2 posts with the rr-data tag.

Why is this happening? The only difference is that the home page is using Visual Composer whereas the category page is configured to use the sidebar in question using the Theme Panel “per category settings” .

  • This reply was modified 9 years by asirota.
asirota
tagDiv Member

Ok now this is really weird:

I used another tag called rr-data and implemented the same side bar with a category filter on Research and Resources and tag filter just like on the home page.. It works fine as expected.

http://699.25a.myftpupload.com/category/data-centre/

Will keep digging.

  • This reply was modified 9 years by asirota.
asirota
tagDiv Member

I also tried to just filter by tag and set categories filter to “All Categories” still nothing — it’s like the tag filter is not working at all.

asirota
tagDiv Member

We would like this behaviour as well — We will try to implement it in code to see if there is an option of hooking into the existing functionality to change the multiple categories selection into an AND condition. I didn’t realize it wasn’t an OR until we tried it.

Viewing 5 posts - 1 through 5 (of 5 total)