Coder Social home page Coder Social logo

mulxcode / wordless Goto Github PK

View Code? Open in Web Editor NEW

This project forked from welaika/wordless

0.0 1.0 0.0 12.86 MB

All the power of Pug, Sass, Coffeescript and WebPack in your WordPress theme. Stop writing themes like it's 1998.

Home Page: https://www.wptools.it/wordless

Ruby 0.07% Shell 0.87% PHP 92.13% HTML 2.13% CSS 0.73% JavaScript 1.69% XSLT 1.98% Makefile 0.04% Batchfile 0.05% Python 0.31%

wordless's Introduction

Wordless logo

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.
  • Write Javascript logic in ES2015 thanks to Babel
  • Automatically polyfill (with core-js) and transpile Javascript based on your support inside .browserslistrc
  • 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.

Build Status Documentation Status

Documentation

Complete documentation

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.

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
 wordless/helpers/*
  • 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/build in GiT. Leave it alone and git checkout gh-pages instead.
  • mv docs/build docs/latest overwriting the old one
  • commit and push the branch

Development

Deploy

  • Merge your feature branch - with passing tests - in master with git checkout master && git merge --no-ff feature or by pull request
  • On master update the plugin version (SEMVER) in ./wordless.php ("Version") and readme.txt ("Stable tag") files and commit the updated files.
  • do git tag x.y.x where x.y.z equals to the previously written version.
  • git push origin master --tags to 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/

Changelog

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;

Known limitations

  • Wordless has not been tested on Windows

Deprecations

4.0

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.

3.0

Ruby-based preprocessors and the WORDLESS_LEGACY configuration are definitely dropped. Theme's folder structure changed.

2.5

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 wp-config.php:

define('WORDLESS_LEGACY', true);

We plan to completely remove this support in Wordless 3.

Localization

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

Author

made with ❤️ and ☕️ by weLaika

License

(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.

wordless's People

Contributors

aleonrails avatar alessandro-fazzi avatar arkham avatar danielpk avatar daronco avatar davidmh avatar dbeard avatar delphaber avatar dew-frost avatar eliawk avatar emzo avatar endorama avatar etienne avatar evan-dickinson avatar flashingcursor avatar jhummel avatar jimmy2k avatar johanbrook avatar johnthepink avatar markjaquith avatar nacin avatar namuit avatar onnimonni avatar philiparthurmoore avatar ramensoup avatar stefanoverna avatar thedeeno avatar utkarshkukreti avatar wstucco avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.