2

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).

3
  • What does Multisite has to do with this? Should the category limitation be a network feature?
    – brasofilo
    Nov 5, 2012 at 13:48
  • Yes, the category limitation is supposed to be an important network feature. Nov 5, 2012 at 16:11
  • Did you managed to do this? I want to show products of woocommerce on a single page of the main site too. Using multisite, please advise and thank you
    – FilipeOS
    Feb 17, 2021 at 12:58

1 Answer 1

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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