WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my planed multisite installation, I want the members to be able to post in one of two different categories.
Members in A can post in 1. Members from B can post in 2. All members can comment everything.

Then, I plan to create a custom page template to the blogs index, and I hope to query all posts from members in 1 and 2, and display title and a minor excerpt (along with avatar image) in separate columns (widgets).

Is this possible? (I am not planning to use Buddypress).

share|improve this question
What does Multisite has to do with this? Should the category limitation be a network feature? – brasofilo Nov 5 '12 at 13:48
Yes, the category limitation is supposed to be an important network feature. – John Olav Oldertrøen Nov 5 '12 at 16:11

For restricting the categories, maybe the plugin Restrict Categories can help. But it doesn't have Multisite capabilities.
Take a look at the filter list_terms_exclusions that it uses in the cat_filter function.

But Role Scoper states that it has "Extensive WP-mu support". May be worth a try.

For the query part, take a look at this Q&A, find a random blogid across my multisite network that has at least one post published.
Basically, you need the functions switch_to_blog and restore_current_blog.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.