Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use wordpress for static pages #10992

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open

feat: use wordpress for static pages #10992

wants to merge 50 commits into from

Conversation

alexgarel
Copy link
Member

@alexgarel alexgarel commented Nov 7, 2024

What

Experience of using Wordpress as a CMS for static pages. Page content is retrieved from the API.
The goal is to render the page as close as it is displayed in the Gutenberg editor.

Screenshot

Peek 2024-07-25 16-25

Related issue(s) and discussion

Continuation of #10596 by @4nt0ineB

@alexgarel alexgarel changed the title feat: use wordpress for static pages feat: use wordpress for static pages Nov 7, 2024
@alexgarel
Copy link
Member Author

/update_tests_results

@alexgarel alexgarel marked this pull request as draft November 8, 2024 15:04
@github-actions github-actions bot added the 📚 Documentation Documentation issues improve the project for everyone. label Nov 27, 2024
@github-actions github-actions bot added the GitHub Actions Pull requests that update Github_actions code label Nov 27, 2024
@github-actions github-actions bot added 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies categories labels Nov 29, 2024
@alexgarel
Copy link
Member Author

@stephanegigandet currently, urls are like content/en/contribute

As the language is already present at the front of the website, I will change it to content/contribute are you ok ?

@alexgarel
Copy link
Member Author

@stephanegigandet currently, urls are like content/en/contribute

As the language is already present at the front of the website, I will change it to content/contribute are you ok ?

Hum, no this is a bad idea, because in case a pages does not exists in a language, this is the way we use to fallback to english, so I won't touch it…

@alexgarel alexgarel marked this pull request as ready for review November 29, 2024 17:06
@alexgarel
Copy link
Member Author

/update_tests_results

@github-actions github-actions bot added API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels 🧪 integration tests labels Nov 29, 2024
Copy link

sonarcloud bot commented Nov 29, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) categories config CSS Display 📚 Documentation Documentation issues improve the project for everyone. GitHub Actions Pull requests that update Github_actions code 🧪 integration tests 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels Site layout 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. 🧪 tests
Projects
Status: In progress
Status: Todo
4 participants