Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Showcasing the different blog alternatives with Playground #375

Closed
dballari opened this issue Sep 20, 2024 · 4 comments
Closed

Showcasing the different blog alternatives with Playground #375

dballari opened this issue Sep 20, 2024 · 4 comments
Labels
[Type] Discussion For issues that are high-level and not yet ready to implement.

Comments

@dballari
Copy link
Contributor

Hi, I keep on wondering how we are going to showcase the different blog alternative designs.

In the demo site (https://2025.wordpress.net/) I see some blog templates menu options. Will these be links to a different WordPress sites? In my opinion there should be as many blogs as blog alternatives we want to showcase.

As @carolinan explained me, templates may be customized from the Template – Design settings section, where the different alternative designs may be chosen. But these customizations are saved in the database, not in the theme folder, that’s why we need several blogs.

Screenshot from 2024-09-20 09-53-41

I would suggest to make a Playground demo for each blog: the personal, the news blog and the photo blog. It could be done in a Github repo where the different playground configurations and demo content could be stored. We could make really short video tutorials on how to customize templates and people would just have to click on the desired Playground demo link to see them in action.

Apart from this, the Playground demo could be used to showcase other things that need customizations like, for instance, synced patterns with overrides.

If you guys think is a good idea, I volunteer to help there. I have already done a Playground demo for my theme and it works great. I think I migrated the links of the xml demo content and did not have images to import.

In the case of TT5 there are a lot of images. I think in this case It would be good to keep the images in the xml demo content files pointing to the original demo site so that the Playground demo loads faster.

What do you think?

@juanfra juanfra added the [Type] Discussion For issues that are high-level and not yet ready to implement. label Sep 27, 2024
@carolinan
Copy link
Contributor

I believe this is solved for the demo, by using different sites and linking to them.
But I am not sure how to set up persisting playground examples.

@dballari
Copy link
Contributor Author

Hi @carolinan , sorry I have not been available for several weeks. I have just seen you mentioned this issue in slack. It's duable, but not necessary so, please, feel free to close it if you want. It was just and idea. The 3 demo sites look great. I just visited them.

To do it with playground, a xml export file of each demo needs to be exported and uploaded, for instance, in a publicly accessible Github repo. Then there is a trick that I think was explained by Nick Diego in a video, which consisted in changing the url of the files, in the playground.json file.

It looks something like this:

{
            "step": "importWxr",
            "file": {
                "resource": "url",
                "url": "https://raw.githubusercontent.com/.......demo-content.xml"
            }
        }

And that's it. I have done it for a theme of mine and have it in my github account. It works.

In the TT5 case, the demo has a lot of images and we need to tell the export tool not to upload images to speed up. And here I have doubts. Do not know how to do it or if it's possible at all. But the solution would be not to export the images in the xml file. The posts containing the images would go to the original image url and I think it would work.

But, again, feel free to close the issue if you want. I'm sure there are more important things to do.

@juanfra
Copy link
Member

juanfra commented Nov 7, 2024

Thanks for the heads' up @dballari

I'm assuming this is the link you are referring to https://playground.wordpress.net/?blueprint-url=https%3A%2F%2Fraw.githubusercontent.com%2Fwordpress%2Fblueprints%2Ftrunk%2Fblueprints%2Ftt5-demo%2Fblueprint.json

I'm closing this issue.

@juanfra juanfra closed this as completed Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Type] Discussion For issues that are high-level and not yet ready to implement.
Projects
None yet
Development

No branches or pull requests

3 participants