What You’ll Learn
- Troubleshoot missing premium theme updates
- Determine if the issue is with WordPress or MainWP
- Add custom filters to improve detection
- Handle multiple problematic themes
Prerequisites
- MainWP Dashboard installed and activated
- Premium theme installed on child sites
- Admin access to Dashboard and child sites
Troubleshooting Steps
1
Check WordPress detection
Log in to the child site and go to Dashboard > Updates. Check if WordPress detects the available theme update.
2
Evaluate the result
Based on what you see:
| WordPress Shows Update | Action |
|---|---|
| Yes | Resync your sites in MainWP. If still not showing, see Enhance Compatibility below. |
| No | Try refreshing the Updates page on the child site. If updates still don’t appear, contact the theme author. |
3
Resync sites
In MainWP, go to MainWP > Sites > Manage Sites and sync the child site. Check if the theme update now appears in MainWP.
Enhance Compatibility
MainWP provides two custom filters for themes that use non-standard update APIs:| Filter | Purpose |
|---|---|
mainwp_detect_premium_themes_update | Improves detection of available updates |
mainwp_request_update_premium_themes | Improves the update process |
Add the Compatibility Filters
1
Install Custom Dashboard Extension
If not already installed, go to MainWP > Extensions and install the Custom Dashboard Extension.
2
Add the code snippet
Go to the Custom Dashboard extension settings and add this code to the PHP Section:
3
Replace the theme slug
Replace
theme-slug with the actual slug of the problematic theme. To find the slug, check the theme’s folder name in /wp-content/themes/ or contact the theme author.4
Save and resync
Save the code snippet and resync your sites.
Multiple Themes
If you have multiple themes with detection issues, add each slug to the arrays:Alternative: functions.php
If you prefer not to use the Custom Dashboard extension, add the code to thefunctions.php file of your Dashboard site’s active theme.
When Updates Still Don’t Work
Some theme authors use completely custom update APIs that aren’t compatible with WordPress standards. In these cases:- Open a support ticket with MainWP
- Contact the theme author to request WordPress-standard update support
- Consider updating the theme manually on child sites
Self-Check Checklist
- Verified WordPress detects the update on the child site
- Resynced child sites in MainWP
- Added compatibility filters (if needed)
- Replaced theme-slug with actual theme slug
- Theme updates now appear in MainWP
Related Resources
- Premium Plugin Updates Not Detected - Similar issue for plugins
- Custom Dashboard Extension - Add custom code to MainWP
- Manage Updates - Update management overview