Multisite Query

We are working on a complex wordpress network that will have a few sites all with different verticals, tackling different subjects, but the front page acts as a portal to all the content. I wanted to see if Bricks could be used to query the multisites or will something else be needed to make it all work?

1 Like

did you find any solution?

Never did sadly! I never could find any details about it as much as I looked

What is the problem with checking it yourself if you are already developing a multisite??
There shouldn’t be any big problems.

It does not work, we have tried it on our test installation, but I was more asking if there was a solution to allow it to work.

Hi @Bfrye26,

This is not natively possible but you can take advantage of this hook to create a custom loop that pulls data from the network if you wish: Filter: bricks/query/run – Bricks Academy.

You can find all query loop-related hooks here: Query Loop – Bricks Academy.

I think this article might be helpful too: Get Posts from All Blogs in WordPress Multisite Network.

2 Likes