All Projects → ahmadawais → Wpgulp

ahmadawais / Wpgulp

Licence: other
An advanced Gulp workflow for WordPress development with extensive documentation. Used by 40,000+ themes and plugins.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Wpgulp

Glotpress Wp
🌍 🌎 🌏 GlotPress is a WordPress plugin to let you set up your own collaborative, web-based software translation tool.
Stars: ✭ 205 (-88.17%)
Mutual labels:  translation, wordpress-plugin
Wp Rocket
Performance optimization plugin for WordPress
Stars: ✭ 394 (-77.26%)
Mutual labels:  minification, wordpress-plugin
Alfred Dict.cc Workflow
Alfred 3/4 workflow to get translations from dict.cc
Stars: ✭ 69 (-96.02%)
Mutual labels:  translation, workflow
The Road To Learn React Russian
The Road to Learn React - Русский перевод
Stars: ✭ 128 (-92.61%)
Mutual labels:  translation
The Little Go Book
the little go book 繁體中文翻譯
Stars: ✭ 128 (-92.61%)
Mutual labels:  translation
Acf Options For Polylang
A WordPress plugin for adding ACF options page support for Polylang.
Stars: ✭ 131 (-92.44%)
Mutual labels:  wordpress-plugin
Kiwi
🐤 Kiwi-国际化全流程解决方案
Stars: ✭ 1,872 (+8.02%)
Mutual labels:  translation
Gm
UserScripts for Firefox, Chrome and etc
Stars: ✭ 127 (-92.67%)
Mutual labels:  translation
Python Docs Es
Spanish translation of the Python documentation.
Stars: ✭ 131 (-92.44%)
Mutual labels:  translation
Wp Slack
This plugin allows you to send notifications to Slack channels when certain events in WordPress occur.
Stars: ✭ 130 (-92.5%)
Mutual labels:  wordpress-plugin
Microflow
Lightweight workflow engine
Stars: ✭ 129 (-92.56%)
Mutual labels:  workflow
Notification
WordPress Notification plugin
Stars: ✭ 128 (-92.61%)
Mutual labels:  wordpress-plugin
Dynamictranslator
Instant translation application for windows in .NET 🎪
Stars: ✭ 131 (-92.44%)
Mutual labels:  translation
Go I18n
Translate your Go program into multiple languages.
Stars: ✭ 1,834 (+5.83%)
Mutual labels:  translation
Go Codon
Workflow based REST framework code generator
Stars: ✭ 133 (-92.33%)
Mutual labels:  workflow
Woocommerce Coupon Links
A WordPress plugin to automatically apply WooCommerce coupon codes to the cart via a URL.
Stars: ✭ 127 (-92.67%)
Mutual labels:  wordpress-plugin
Google Translate Open Api
A free and unlimited API for Google Translate(support single text and Multi-segment text) 💵🚫
Stars: ✭ 132 (-92.38%)
Mutual labels:  translation
Cwl Airflow
Python package to extend Airflow functionality with CWL1.1 support
Stars: ✭ 130 (-92.5%)
Mutual labels:  workflow
Tipdm
TipDM建模平台,开源的数据挖掘工具。
Stars: ✭ 130 (-92.5%)
Mutual labels:  workflow
Brasilino
Uma biblioteca que permite programar em linguagem Arduino utilizando comandos facilitados em PT-BR. 🇧🇷
Stars: ✭ 131 (-92.44%)
Mutual labels:  translation

📟 Learn to build CLI DevTools, like WPGulp with me at NodeCLI.com.

WP Gulp · WordPress Gulp

WordPress Gulp Workflow

GitHub emoji-log GitHub stars GitHub followers Tweet for help VSCode.pro

WPGulp (WordPress Gulp)
🎯 An advanced & extensively documented Gulp WordPress workflow. Kick-start a build-workflow for your WordPress plugins and themes with Gulp.
A FOSS (Free & Open Source Software) project. Maintained by @AhmadAwais.

📦 WPGulp Can Do THAT™

WPGulp is an advanced & extensively documented Gulp.js + WordPress workflow. It can help you kick-start a build-workflow for your WordPress plugins and themes with Gulp.js, save you a lot of grunt work time, follow the DRY (Don't Repeat Yourself) principle, and #0CJS Zero-config JavaScript startup but still configurable via wpgulp.config.js file. It is:

  • 🥞 Versioned ✓
  • 🤠 Updatable ✓
  • 🗃 Set of sane-defaults ✓

💻 DEV ENVIRONMENT

  • Live reload browser with BrowserSync
  • Hotloading styles with CSS Injection

🎨 STYLES

  • Sass to CSS conversion
  • Merging media queries
  • Error handling
  • Auto-prefixing
  • Minification
  • Sourcemaps

🌋 JavaScript

  • Concatenation
  • Minification/uglification
  • Separate vendor and custom JS files handling

🌁 IMAGES

  • Minification/optimization of images
  • File types: .png, .jpg, .jpeg, .gif, .svg

💯 TRANSLATION

  • Generates .pot translation file for i18n and l10n

👀 WATCHING

  • For changes in files to recompile
  • File types: .css, .html, .php, .js

Start

Getting Started

⚡️ Quick Overview

Run step #1, #2, and #3 quickly in one go — Run inside local WP install's theme/plugin folder E.g. /wp.local/wp-content/plugins/your-plugin or /wp.local/wp-content/themes/your-theme directory.

# 1— Install WPGulp in your WordPress theme/plugin.
npx wpgulp
# 2— Now configure variables inside the `wpgulp.config.js` file.
# 3— Start your npm build workflow.
npm start

(npx is a package runner tool that comes with npm 5.2+ and higher).

🎛 If you want to study the detailed installation of step #1 , #2, and #3 — then take a look at the steps below.


STEP #0 — Don't have Node.js + npm installed? Read this. (CLICK TO EXPAND!)

In case you are an absolute beginner to the world of Node.js, JavaScript, and npm packages — all you need to do is go to the Node's site download + install Node on your system. This will install both Node.js and npm, i.e., node package manager — the command line interface of Node.js.

You can verify the install by opening your terminal app and typing...

node -v
# Results into v9.11.2 — make sure you have Node >= 8 installed.

npm -v
# Results into 6.2.0 — make sure you have npm >= 5.3 installed.

STEP #1 — Download the Required Files

  1. In the terminal go to the root folder of your WordPress plugin/theme
  2. Run the following command to download all the files in the WPGulp/src folder

It'll take a couple of minutes to install.

npx wpgulp

(npx is a package runner tool that comes with npm 5.2+ and higher).

wpgulp install gif

⚠️ I'm assuming that there are no previously present similar files in the root of your folder. Otherwise, you need to merge these very carefully. E.g. You can include the scripts, devDependencies in your current package.json file and so on for other files. If you run the above command all similar files will be overwritten.

STEP #2 — Editing the Project Variables

Configure the project paths and other variables inside the wpgulp.config.js file. This is a compulsory step.

wpgulp config

STEP #3 — Start your project

Once the installation is done, you can open your project (WordPress plugin/theme) folder and run the start script.

npm start

# To stop press CTRL (⌃) + C

wpgulp start

OPTIONAL STEP #4 — More Scripts/Tasks

To optimize images and generate WP POT translation file, or generate a RTL stylesheet you can run the following commands

# To optimize images.
npm run images

# To generate WP POT translation file.
npm run translate

# To generate RTL stylesheets and Sourcemap.
npm run styles-rtl

# To generate theme/plugin zip file without extranious files.
npm run zip

Update

How to Update?

  1. Download all the latest files in the WPGulp/src folder inside the root folder of your WordPress plugin/theme by running npx install-wpgulp it will overwrite all the wpgulp files.
  2. Open terminal and Install WPGulp's node dependencies by running the npm install commands in the root folder of your WordPress plugin/theme.

Log

Changelog

Read what's 📦 new, 👌 improved, 🐛 fixed, and if 📖 docs got updated.

👉 Go read the entire changelog at this link — WPGulp Changelog →

Nothing's ever complete, so bear with us while we keep iterating towards a better future.

'Coz every night I lie in bed
The brightest colors fill my head
A million dreams are keeping me awake
I think of what the world could be
A vision of the one I see
A million dreams is all it's gonna take
A million dreams for the world we're gonna make ...

... listen to → A million dreams!


Hello

Sponsor

Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what I’m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.

Ahmad on Twitter

NodeCLI.com — Learn to build Node.js CLI Automation

This repository is part of the NodeCLI.com course.

After building hundreds of developer automation tools used by millions of developers, I am sharing exactly how you can do it yourself with minimum effective effort. Learn to build Node.js & JavaScript based CLI (Command Line Interface) apps. Automate the grunt work, do more in less time, impress your manager, and help the community. → I'm sharing it all in this online video course. Node CLI Automation without wasting a 1,000 hours

Node CLI Course

Node CLI

Awais on Twitter

🙌 THEDEVCOUPLE PARTNERS

This open source project is maintained by the help of awesome businesses listed below. What? Read more about it →


Update

License & Attribution

MIT © Ahmad Awais.

This project is inspired by the work of many awesome developers especially those who contribute to this project, Gulp.js, Babel, and many other dependencies as listed in the package.json file. FOSS (Free & Open Source Software) for the win.

ahmadawais MaedahBatool akmur marianrick asharirfan JeremyEnglert
ahmadawais MaedahBatool akmur marianrick asharirfan JeremyEnglert
ajitbohra noplanman cdils selrond EugenioPetulla FrankM1
ajitbohra noplanman cdils selrond EugenioPetulla FrankM1
isaacdanielanderson JeffMatson AdnanMuhib mauryaratan richtabor saqibameen
isaacdanielanderson JeffMatson AdnanMuhib mauryaratan richtabor saqibameen
slushman
slushman

Ahmad on Twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].