This document provides guidance for developing WordPress themes, including designing the theme using a grid system, making the design simple and beautiful, using perfect typography, adding icons and UI elements, developing the HTML/CSS, validating the code, reviewing theme guidelines, including required template files and hooks, securing user data, adding licensing, and documenting the theme. The goal is to develop a high quality, secure theme that meets the WordPress theme review guidelines for submission to the WordPress theme directory.
13. Simple can be harder than complex: You have
to work hard to get your thinking clean to
make it simple. But it's worth it in the end
because once you get there, you can move
mountains.
-Sir Steve Jobs
14. Simple Clean & Beautiful Technique
• White Color/ White Space
• Line Height/ Margin/ Padding
• Use less Color
• Do not use High Contrast Color
48. Including Stylesheets and Scripts
• For stylesheet
• Use get_stylesheet_uri() for main style.css file
• Use wp_enqueue_style() for other css files
• For Script
• Use wp_enqueue_script()
51. SECURITY AND PRIVACY
• All data should be validated and sanitized
• Theme Options Page should be added via
add_theme_page
• edit_theme_options capability for
add_theme_page()
• Prefix all options, custom functions, custom
variables
52. LICENSING
• Themes are required to be 100% GPL-licensed, or
use a GPL-compatible license.
• This includes all PHP HTML, CSS, images, fonts,
,
icons, and everything else. All of the theme must be
GPL-Compatible.
• In style.css file add the following
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
53. CREDIT LINK
• Use Author uri or Theme uri as public facing
credit link in the footer( only one )
Powered by WordPress Theme by Themehorse