For one of our multisites, I wanted an easy way to see show people the media storage usage per site. I did a bit of Googling and got a couple functions to get the size of a directory using PHP.1 Then I just appended it to the column I’d already customized to show the posts […]
Tag: multisite
List all my WP multisite blogs shortcode
Just a little function with a shortcode to list all your sites in a WP Multisite scenario. It gives you a link to the front end and the dashboard. Simple and easy to tweak. This function uses three WP functions. You can check out the links for more details.<footnote>This is actually kind of a neat […]
Finding a Lost Site in a Massive Multisite
In WordPress Multisite there are some scenarios where a site with a custom domain can get lost. There is the central place in network admin where you can assign custom domains but you can also do it at the site level. If it’s done at the site level, it’s possible for that site to become […]
List Posts/Pages in WordPress Multisite Admin Sites View
This is a little something that’ll help you see activity across a multisite. It adds a column to the admin view that shows the posts/pages count for each site. I found this plugin that got me the foundation for adding the column and then was able to just use the switch_blog function to get me […]
Read More… from List Posts/Pages in WordPress Multisite Admin Sites View
WordPress Multisite Copy Users from One Site to Another
I made a little plugin that let me copy users from one blog to another in WordPress multisite.1 I thought I’d have to use switch_to or something but I didn’t. It’d be easy to expand this to do more tricks for you and have more shortcode parameters but I don’t need them so it is […]
Read More… from WordPress Multisite Copy Users from One Site to Another
Add All Multisite Users to One Sub Site
Say you needed to add all the users in your multisite to a single site on that multisite. You can do that like this. With a bit of tweaking you could also copy all users from one site (or multiple sites) to another or multiple other sites. Granted, you can also do stuff like this […]
Customize WordPress Multisite Emails
Our emails were getting flagged as spam and deleted prior to delivery so we tried changing the wording around. It worked for about 30 minutes but you might want to change the wording etc. for a more helpful purpose. […]
User Choice: Hiding Some Sites in My Sites in WordPress Multisite
Long have I struggled with WordPress Multisite and the way it makes things difficult for non-super admin users. While it is very easy to join additional sites, leaving them on your own is easier said than done. I hesitate to write ‘impossible’ even now as it seems insane that there isn’t a good and obvious […]
Read More… from User Choice: Hiding Some Sites in My Sites in WordPress Multisite
Change New Site Comments Settings in Multisite
This little function in a network activated plugin on WordPress multisite will require comment users to be a member of the multisite to comment. The setting can be changed by the blog admin but it makes the default setting a bit more restrictive. It’s changing the value in Dashboard>Settings>Discussion. […]
Read More… from Change New Site Comments Settings in Multisite
WordPress Multisite Network Footer Plugin
We needed to put a data privacy footer link on all our rampages sites. To do that I added this code in our generic network activated plugin. Then we realized we’d need to skip that occasionally for particular sites and that’s why we ended up adding a loop to skip sites by ID. It could […]