iOS Scriptable Widget for WordPress Sites
This script should work for most WordPress sites with a standard REST API.
Scriptable for iOS: Link
- v1.0 - Initial Upload
- v1.1 - fixed local date and time display, should now display properly according to your region
- v1.2 - widget is now more customizable via parameters, even with custom background images! (see code comments for explanation)
- v1.3 - fixed errors regarding urls with special characters
- v1.4 - custom widget backgrounds on every widget size and config
- v1.5 - massive code cleanup, new descriptions for widget customization
- v1.5.1 - fix numeric display of date and time
- v1.5.2 - added twitter handle
- v1.6.0 - added blur effect option for background images (and post images in small widgets)
- v1.6.1 - fixed post date/time display
If someone would like to buy me a coffee 😊: https://ko-fi.com/saudumm
- add the script to Scriptable
- change SITE_URL and SITE_NAME to your preferred WordPress site
- create a new widget on your Homescreen and assign the WordPress script
- there are multiple parameters at the top of the script that you can change (background colors, gradients, font colors)
You can change the layout and look of the widget. Just long press on the widget and choose "edit widget".
- example: small|https://www.stadt-bremerhaven.de|Caschys Blog|background.jpg
- parameter order has to be: widget size, site url, site name, background image
- parameters have to be separated by |
- You can omit parameters, for example background image: small|https://www.stadt-bremerhaven.de|Caschys Blog
- you can just set "small", "medium" or "large" as a parameter
- parameters that are not set will be set by the standard widget config
- top left: small widget with standard parameters
- top middle: small widget with standard parameters and a custom background image
- top right: medium widget with parameter "medium"
- middle left: medium widget with standard parameter "small"
- bottom left: medium widget with parameter "medium" and a custom background image
- bottom right: large widget with parameter "large" and a custom background image
Here are a few suggestions:
- PlayStation Blog: http://blog.playstation.com
- PlayStation Blog Germany: http://blog.de.playstation.com
- Xbox Wire US: https://news.xbox.com/en-us
- Xbox Wire Germany: https://news.xbox.com/de-de
- Dualshockers: https://www.dualshockers.com
- 9to5Mac: https://9to5mac.com
- 9to5Google: https://9to5google.com
- TechCrunch: https://techcrunch.com
- VentureBeat: https://venturebeat.com
- Wired: https://wired.com