Wp Theme Starter

screenshot of Wp Theme Starter

WordPress theme starter-kit, build tools included :smile:

Overview:

The Mozaik WordPress Theme Boilerplate is a WordPress theme starter-kit designed to provide a top-quality developer experience. It includes a range of features and tools to streamline theme development and production processes. The theme is highly customizable and has been used successfully in various small and large-scale projects.

Features:

  • Separate development and production themes: The boilerplate includes separate themes for development and production, allowing for easy porting of existing themes.
  • Gulp build process: The theme utilizes a Gulp build process, simplifying the development workflow.
  • Auto browser refresh/injection: BrowserSync powers automatic browser refresh or injection even for PHP files, ensuring seamless development experience.
  • JavaScript module bundling and sourcemaps: The theme incorporates Webpack for JavaScript module bundling, chunking, and sourcemaps generation.
  • JavaScript ES6+ support: Babel enables JavaScript ES6+ support, ensuring compatibility with modern JavaScript syntax.
  • JavaScript linting: The theme includes eslint for JavaScript linting, promoting code quality and consistency.
  • SCSS/SASS compilation and sourcemaps: libsass powers SCSS/SASS compilation and sourcemaps generation for efficient CSS development.
  • CSS prefixing: autoprefixer is used for CSS prefixing, ensuring compatibility across different browsers.
  • SVG sprite generation: The theme includes svg-sprite for SVG sprite generation.
  • Minified CSS: cssmin is used for minifying CSS in the production theme.
  • Uglify and dedupe JS: Webpack handles JS minification, uglification, and deduplication in the production theme.
  • Theme image optimization: imagemin is used to optimize images in the theme.
  • SVG optimization: svgmin optimizes SVG files in the theme.
  • Easily extendable build process: The theme's build process can be easily extended to suit specific project requirements.
  • NPM and Bower workflows supported: The theme supports both NPM and Bower workflows, accommodating different package managers.
  • Theme Helpers Library: The theme incorporates a Theme Helpers Library, providing additional utilities and functionality.
  • Responsive images specification implementation: The theme includes a helper function for responsive images implementation based on WordPress media attachments.
  • Responsive images polyfill: The theme includes picturefill to support responsive images in browsers without native support.
  • Lazyloading: The theme supports lazyloading of images with the help of aFarkas/lazysizes.
  • Customizable/extendable nav-menu-walker: The theme includes a simplified customizable/extendable nav-menu-walker based on the BEM style.
  • Customizable/extendable pagination renderer: The theme includes a simplified customizable/extendable pagination renderer that supports custom queries.
  • Customizable/extendable breadcrumbs renderer: The theme includes a simplified customizable/extendable breadcrumbs renderer based on a given menu.
  • Utility classes for SVGs and SVG Sprites: The theme provides utility classes for easier manipulation of SVGs and SVG Sprites.
  • Battle-tested: The Mozaik WordPress Theme Boilerplate has been used successfully in various small and large-scale projects.

Summary:

The Mozaik WordPress Theme Boilerplate is a powerful starter kit for WordPress theme development. With its array of features, including separate development and production themes, Gulp build process, JavaScript bundling and linting, SCSS/SASS compilation, SVG sprite generation, and more, the boilerplate provides a comprehensive solution for developers. It is highly customizable and has been extensively tested in various projects. The installation process is straightforward, requiring only a few prerequisites to be met. Overall, the Mozaik WordPress Theme Boilerplate offers an excellent developer experience, making it an ideal choice for building WordPress themes efficiently and effectively.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

gulp
Gulp

Gulp.js is an old but popular site building tool that automates various repetitive development tasks in web development, such as compiling Sass, minifying JavaScript, and optimizing images.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.