All Projects → Ataurr → Themeforest Wordpress Theme Development Workflow

Ataurr / Themeforest Wordpress Theme Development Workflow

Themeforest WordPress theme development workflow

Labels

Projects that are alternatives of or similar to Themeforest Wordpress Theme Development Workflow

Genomics
A collection of scripts and notes related to genomics and bioinformatics
Stars: ✭ 101 (-12.93%)
Mutual labels:  workflow
Pyflow
A lightweight parallel task engine
Stars: ✭ 108 (-6.9%)
Mutual labels:  workflow
Node Webcrypto Ossl
A WebCrypto Polyfill for Node in TypeScript built on OpenSSL.
Stars: ✭ 113 (-2.59%)
Mutual labels:  workflow
Petrinet
🚥 Petrinet framework for PHP
Stars: ✭ 107 (-7.76%)
Mutual labels:  workflow
Action Download Artifact
⚙️ A GitHub Action to download an artifact associated with given workflow and commit or other criteria
Stars: ✭ 107 (-7.76%)
Mutual labels:  workflow
Workflow
审批王,华炎魔方内置BPM工作流引擎,低代码快速开发平台。
Stars: ✭ 111 (-4.31%)
Mutual labels:  workflow
Workflow Kotlin Compose
Jetpack Compose integration for Square Workflows.
Stars: ✭ 101 (-12.93%)
Mutual labels:  workflow
Armor
Light-weight Snakemake workflow for preprocessing and statistical analysis of RNA-seq data
Stars: ✭ 114 (-1.72%)
Mutual labels:  workflow
Qmuidemo web
QMUI Web 的示例项目及文档
Stars: ✭ 108 (-6.9%)
Mutual labels:  workflow
Ugene
UGENE is free open-source cross-platform bioinformatics software
Stars: ✭ 112 (-3.45%)
Mutual labels:  workflow
Github Pages Deploy Action
Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
Stars: ✭ 2,507 (+2061.21%)
Mutual labels:  workflow
Gin Web
由gin + gorm + jwt + casbin组合实现的RBAC权限管理脚手架Golang版, 搭建完成即可快速、高效投入业务开发
Stars: ✭ 107 (-7.76%)
Mutual labels:  workflow
Liteflow
liteflow是一个基于任务版本来实现的分布式任务流调度系统
Stars: ✭ 112 (-3.45%)
Mutual labels:  workflow
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (-12.07%)
Mutual labels:  workflow
Gitreflow
Reflow automatically creates pull requests, ensures the code review is approved, and squash merges finished branches to master with a great commit message template.
Stars: ✭ 1,488 (+1182.76%)
Mutual labels:  workflow
Wordpressify
🎈 A build system designed to automate your WordPress development workflow.
Stars: ✭ 1,374 (+1084.48%)
Mutual labels:  workflow
Pegasus
Pegasus Workflow Management System - Automate, recover, and debug scientific computations.
Stars: ✭ 110 (-5.17%)
Mutual labels:  workflow
Shortcuts Swift
Write Shortcuts in Playgrounds
Stars: ✭ 116 (+0%)
Mutual labels:  workflow
Fuzzymail
📨 Email template generator. Making emails fun again.
Stars: ✭ 114 (-1.72%)
Mutual labels:  workflow
Drupal8ci
One-line installers for implementing Continuous Integration in Drupal 8
Stars: ✭ 113 (-2.59%)
Mutual labels:  workflow

A GOOD WORKFLOW SAVES YOUR TIMES & MONEY.

Development Process

Develop the entire website in localhost Commit changes to git and push to Bitbucket or github.

1. Starter theme

Make Your Own Starter theme based On Underscores or Twenty Seventeen (New version of Wordpress default theme) and Underscores (made by Automattic)

After Complete your starter theme save this on GitHub or Bitbucket.

Theme Option Framework

Great way to include theme customization options that non-developers can manage and understand. Many users don’t have a clue what CSS is – but they can use tabs, toggles, drop -downs and color pickers.

Create own custom framework are time consuming. So we prefer readymade Option framework Like

Customiser Framework

Provides a simple and intuitive API for registering Customizer settings, including advanced control types. Automatically sanitizes settings based on the control type.

Gutenberg Helper

Page Builder

Page builders allow you to create, edit, and customize your site layout without writing any code.

Most Popular Page builders:

2. Start Work For New Project

Cloning your starter theme (or a fork of it) into /wp-content/themes/ folder

3. Use task runner Like Grunt or gulp

For What ?

  • Prefixes to use in CSS
  • Compressing my images
  • Linting and minifying JS files
  • Creating sprites
  • Constantly refreshing my browser
  • Create .pot file for translation

GULP RESOURCES

GRUNT RESOURCES

4. Use Preprocessor Like Sass Or Less

4. Use git

Why Use Git:

  • Never have to remember which files you changed
  • Super easy to keep all copies in sync

Git Resource:

Desktop Tools

WORDPRESS-SPECIFIC GIT RESOURCES

5. Use Trello

Theme development is managed with Trello. Trello is a task management app that gives you a visual overview of what is being worked on and who is working on it. The team sets about beta testing the theme. A list of bugs, tweaks and solutions is compiled, a hackathon is scheduled, and everything is completed by the developer.

http://lifehacker.com/how-to-use-trello-to-organize-your-entire-life-1683821040

6. Clean Up Your Source Code

  • Messy source code is a developer’s nightmare. It makes finding things difficult, and it makes it extremely difficult for anyone else to work with it.
  • Indent nested lines.
  • Indent tabs always.
  • Be consistent with formatting.
  • Include concise, descriptive comments.
  • Mind your line breaks.
  • Strive for clean markup.

7. Keep In Mind While Developing a theme:

Add this to wp-config.php define( 'WP_DEBUG', true );

Escape Everything
// Use anytime HTML element encloses a section of data:

echo esc_html( $no_html );

// Use on all URLs, including those in the 'sr####c' and 'href' attributes of an HTML element:

<img src="<?php echo esc_url( $escaped_url ); ?>" />

// Use for inline Javascript:

<a href="#" onclick="<?php echo esc_js( $escaped_js ); ?>"><?php esc_html__( 'Click Here', 'text-domain' ); ?></a> 

// Use for an HTML attribute:

<div class="<?php echo esc_attr( $escaped_class ); ?>">
Prefix Everything
// Functions

function prefix_setup()


Prefix_Class {}

// Global Variables

global $prefix_passengers;

// Action Hooks

do_action( prefix_start_engine );

// Filter Hooks

$register = apply_filters( prefix_register );

// Non Third-Pary Script Handles

wp_enqueue_script( 'prefix-functions', get_theme_directory_uri() . 'js/custom/functions.js' );

// Non Third-Pary Style Handles

wp_enqueue_style( 'prefix-minified-style', get_theme_directory_uri() . 'style.min.css' );

// Images

add_image_size( 'prefix-large', 800, 600 );
Do Not Prefix Third Party Scripts
// Incorrect 
wp_enqueue_style( 'prefix-font-awesome', get_template_directory_uri() . '/css/font-awesome.css', array(), '4.2.0', 'all' );

// Corrrect 

wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/css/font-awesome.css', array(), '4.2.0', 'all' );

// Incorrect 

wp_enqueue_script( 'prefix-fitvids', get_template_directory_uri() . '/js/jquery.fitvids.js', array( 'jquery' ), '1.1.1', true );

// Corrrect 

wp_enqueue_script( 'jquery-fitvids', get_template_directory_uri() . '/js/jquery.fitvids.js', array( 'jquery' ), '1.1.1', true );
Properly Include Plugins Using TGMPA
// Include a plugin from the WordPress Repository:
array(
  'name'      => esc_html__( 'WooCommerce', 'text-domain' ),
  'slug'      => 'woocommerce',
  'required'  => false,
),
// Include a plugin bundled within a WordPress theme:
array(
  'name'      => esc_html__( 'Example Plugin', 'text-domain' ),
  'slug'      => 'example-plugin',
  'source'    => get_template_directory() . '/inc/plugins/example-plugin.zip',
  'required'  => false,
),
Provide Offline Documentation

Offline documentation ensures that your customers are not hanging when there is not an Internet connection available or when your files are inaccessible – for any reason. Additionally, you do not have to ensure the assets will be infinitely accessible.

Test theme

8. Run Tests

Check Plugins

Conclusion

If your theme complies with the following Workflow, you’ll probably have a much quicker time getting your WordPress theme approved on ThemeForest.

Credits:

Rich Tabor, Dara Skolnick

Copyright Ataurr

Licence GPL 2+

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