Replies: 1 comment
-
@AmnestyAM sure thing! Here's a few examples that may get you started: https://wordpress.github.io/wordpress-playground/guides/for-plugin-developers You may generally load files from custom URLs using the URL resource. For example: {
"steps": [
{
"step": "installPlugin",
"pluginData": {
"resource": "url",
"url": "https://your-site.com/your-plugin.zip"
}
},
{
"step": "installTheme",
"themeData": {
"resource": "url",
"url": "https://your-site.com/your-theme.zip"
}
},
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https://your-site.com/starter-content.wxr"
}
},
{
"step": "setSiteOptions",
"options": {
"some_required_option_1": "your_favorite_values",
"some_required_option_2": "your_favorite_values"
}
}
]
} Is that helpful? Or not quite what you meant?
❤️ this is lovely! Thank you for sharing! What's your experience with Playground so far? Anything stood out as particularly helpful or difficult? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello everyone,
Are there any tickets open for how would I go about loading in data from a non GitHub URL? Sorry if there are discussions tickets as I don't know the right things to search for I probably cant see them.
Is there info on this proxy and how it works https://github-proxy.com/
Can anyone point me in the right direction for reading tickets, documentation or terms I should Google if I wanted to get my own files into playground that were not in the WP repos or GitHub.
PS we are using playground for our demos :-) https://github.com/amnestywebsite/humanity-blueprint thanks :-)
Beta Was this translation helpful? Give feedback.
All reactions