Hello I am new and I want to develop wp theme and sell on themeforest. So please any guidelines?which frame work is used to develop wp sites?
Hello @ntdropper and welcome!
I am not sure about the best framework to use - at this particular point, Themeforest authors will be able to help you better, but meanwhile, also please read this important announcement about the updated WordPress requirements for Themeforest and Codecanyon: Updated WordPress Requirements
All the best!
Welcome! Here’s a quick guide for getting started with WordPress theme development for ThemeForest:
Basic Guidelines:
- Understand ThemeForest Requirements
- Clean code (HTML5, CSS3, JS, PHP standards)
- Responsive design
- Proper documentation
- Unique, quality design
- Use Theme Check plugin to meet WP standards
- Use a Framework (Optional but Helpful)
Common frameworks used:
- Underscores (_s) – Starter theme from Automattic
- Sage – Modern workflow using Laravel Blade, Gulp, Webpack
- Bootstrap/Tailwind CSS – For front-end styling
- Redux Framework – For theme options panel
- Folder Structure
Stick to standard WP structure:header.php
,footer.php
,functions.php
,style.css
, etc. - Enqueue Scripts & Styles Properly
Usewp_enqueue_style()
andwp_enqueue_script()
functions. - Make It Customizable
Use WordPress Customizer API for settings like colors, logos, etc. - Use Demo Content
Importable demo data is a plus for buyers. - Test for Compatibility
Test across browsers, devices, and with Gutenberg editor. - Licensing
Use only GPL-compatible assets (fonts, images, scripts).
Tools You May Need:
- Code Editor (VS Code, Sublime)
- Browser Dev Tools
- Local WP Server (XAMPP, LocalWP)
- Git for version control
- Theme Check plugin
Want a checklist or sample starter theme?