Is it possible to activate pressbooks in a multisite network?

The best way to install pressbooks is a fresh multisite. But maybe, there is a chance to bring together some multisites in one installation?

Just recently I found out, that you can build even networks of multisites with this plugin:


Here is a description of what happens then:

I would love to share the user-data-base with my existing blogging multi-site and still have PressBooks in a separate multisite, but in the same networks of multisites. I hope you understand, what I mean.

Did some of you every try, if this could work? :slight_smile: It would make it so much easier to create a multi-usage-plattform, where pressbooks is one of the “apps”.

1 Like

I’ve never tried this but might work!

And I confirm: It just works. :wink:
Okay, there is only one little bug as far as I can see:

  • When here https://…/wp-admin/network/sites.php, I only see one site, the main-site.
  • But when I create a new “book” aka site, then PressBooks show me a list of all blogs from all the different networks.
  • Same happens, when I want to browse the catalogue, https://…/wp-admin/index.php?page=pb_catalog: there I see all the blogs from all the networks (which I shouldn’t see).

I’m not a coder, but maybe to ask for the network might help? https://developer.wordpress.org/reference/functions/get_networks/

For a regular multisite the network number is just 1 for all the sites. But in a multisite multinetwork environment it can be more numbers, which should be used to filter in a way, that only books from one network are shown.

2 Likes

It worked fine for all the years, but I wanted to highlight a little bug, that still annoys me though, related to the multisite multi network.
We have multiple networks and in there multiple sites.
Pressbook is activated in the network books.bonn.digital

But also sites from other networks are shown in different places like the menu or the catalog:

When I go to Anmelden ‹ Bonn.digital Books — Pressbooks, then there is no book highlighted, even though I did highlight some in the backend.

I think it would help some organizations to use press books integrated in their wordpress network. I am willing to help debug this little issues.

The issue can be closed. It’s caused by the “Multisite Enhancement” plugin and the setting: “Add status labels for no-index and external domain to blogs in “My Sites” menu”
If I turn off the setting, the list of “blogs” is correctly displayed.

Still: Multisite Multinetwork WordPress installations seem not really to behave like they should. Catalog are not working, and the “main website” is not correctly recognized. How to Set Up a WordPress Multisite Multi-Network - WPMU DEV