Wordless is a junction between a WordPress plugin and a theme boilerplate that dramatically speeds up and enhances your custom theme creation. Some of its features are:
- A structured, organized and clean theme organization
- Bootstrap a new theme directly within wp-cli
- Write PHP templates with Pug templating system
- Write CSS stylesheets using the awesome SCSS syntax
- Out-of-the-box support to Stylelint configured for SCSS syntax.
- A growing set of handy and documented PHP helper functions ready to be used within your views
- Preconfigured support to MailHog mail-catcher.
- Development workflow backed by WebPack, BrowserSync (with live reload), WP-CLI, Yarn. All the standards you already know, all the customizations you may need.
Read the complete Wordless documentation at wordless.readthedocs.io where you'll find - hopefully - all the informations about installation, usage guide, in depth explanation about the stack.
If you want to contribute to the documentation.
brew install sphinx-doc
sphinx-autobuild source/ build/htmland open http://127.0.0.1:8000 to watch the preview
- the build server will autoreload your page on modifications
- update the doc; documentation about the RST syntax can be found at https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html
rtfm/folder on master will be auto-deployed on https://wordless.readthedocs.io/
As a side note: reStructuredText plugin in VSCode could be of great help linting, highlighting and previewing your texts.
Built-in helpers documentation
You can find it at http://welaika.github.io/wordless/docs/latest/html/index.html.
If you are interested in contributing to the documentation:
- we are documenting php files in
- here is a list of documentation gaps :9
brew install doxygen
- go and add doc following the doxygen conventions
- compile the new doc with
doxygen docs/Doxyfile(from project's root)
- you'll have an untracked folder
docs/buildin GiT. Leave it alone and
git checkout gh-pagesinstead.
mv docs/build docs/latestoverwriting the old one
- Merge your feature branch - with passing tests - in
git checkout master && git merge --no-ff featureor by pull request
masterupdate the plugin version (SEMVER) in
readme.txt("Stable tag") files and commit the updated files.
git tag x.y.xwhere x.y.z equals to the previously written version.
git push origin master --tagsto push both commits and tags
- update the changelog for the new release at https://github.com/welaika/wordless/releases
Automations will do the leftovers, including to publish updated documentation on ReadTheDocs and the plugin on https://wordpress.org/plugins/wordless/
A changelog for each tag/relase is mandatory to be compiled at https://github.com/welaika/wordless/releases.
Additional recommended plugins and tools
Wordmove: a great gem (from yours truly) to automatically mirror local WordPress installations and DB data back and forth from your local development machine to the remote staging server;
- Wordless has not been tested on Windows
Default configuration has dropped support for CoffeeScritp and for SASS indented syntax. Obviously you are free to change Webpack's config once you've created the theme, but now we officially support ES2015 and SCSS instead.
Ruby-based preprocessors and the
WORDLESS_LEGACY configuration are definitely dropped.
Theme's folder structure changed.
Wordless 2.5 deprecates the old ruby preprocessor support. It is disabled by default. If you need to develop an old theme you need to explicitely activate them by setting the following in your
We plan to completely remove this support in Wordless 3.
Wordless is available in English, German, Greek, Italian and Spanish, at the moment.
The user interface was translated by Wasilis Mandratzis-Walz (German and Greek), David Mejorado (Spanish).
Your help is welcome! Add your own language using Transifex.
Need more tools?
Visit WordPress Tools.
Third Part Libraries
(The MIT License)
Copyright © 2011-2019 weLaika
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.