WordPress always needs a server unless downloaded to static HTML pages with tools like https://wordpress.org/plugins/export-wp-page-to-static-html/. After using such a plugin and having a local HTML folder, you can use the fallback mode of WebViewGold. This mode uses an HTML folder if the user is offline and uses a remote URL he/she is online. Set “offlinelocalhtmlswitch” to “true” in Config.swift (iOS) and/or “FALLBACK_USE_LOCAL_HTML_FOLDER_IF_OFFLINE” to “true” in Config.java (Android). However, on iOS, you may need to eliminate the subfolders in your “local-www” folder (e.g., “js” and “CSS”) and put all the files they contain into the main folder (“local-www”). A search & replace program can help adjust the HTML file path references fast and uncomplicatedly.
- Knowledge Base
- WebViewGold for Android
- How can I include the offline mode for a WordPress site?
Article sections
Related Articles
- How to Fix the Android Studio Error: “The project is using an incompatible version (AGP X.X.X) of the Android Gradle plugin”?
- Key Metrics to Track in Your iOS & Android Apps and What They Reveal
- Monetizing Your App: Strategies for Generating Revenue
- Security and Privacy: Protecting Your Users' Data in Mobile Apps
- Solving the “Writable dex file is not allowed” Crash in Android Apps
- Google Play Target API Level 34 Requirement: What Developers Need to Know
- Fix Apple's "Action Required: Apple Push Notification Service Server Certificate Update" in WebView and OneSignal Apps
- Preparing your iOS (WebView) app for publishing in App Store
- Troubleshooting Xcode Build Errors for Zip Package: The Simple Fix You Might Be Overlooking