tschaki
create wordpress plugin
Home » Create a new WordPress theme

Create a new WordPress theme

Creating a new WordPress theme is usually very easy. First, create theme files. Second, add content to the comments and third, customize it.

To save major creation processes, a template can be used. This already contains all the key functions of a standard template. This is extremely time-saving.

For this, we developed a full-featured white WordPress template and made it available for download. Download our white theme for free at GitHub:

https://github.com/RenewedPlains/wordpresstheme/releases/download/publish/wordpresstheme.zip

Create WordPress Theme by yourself

Therefore, only two files are required. Subsequently, after activation, a white page is displayed, without content.

index.php, style.css

These files are created for this in the WordPress theme folder /wp-content/themes/{THEMENAME}/. index.php can be created empty. Then style.css name and author is added as comment:

/*
Theme Name: {TEMPLATENAME}
Author: {AUTORNAME}
Author URI: {AUTORURL}
Text Domain: {TEXTDOMAIN}
*/

These settings are decisive for the name and version, for example.

/*
Theme Name: Twenty Twenty
Theme URI: https://wordpress.org/themes/twentytwenty/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.3
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwenty
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

Note: The WordPress theme repository uses the number after “version” in this file to determine if a new version of the theme is available as an update.

Terms & Explanation

The elements marked with (*) are required for a theme in the WordPress Theme Repository. Therefore, a theme would not be recognized if a required element is missing.

  • Theme Name (*): Theme name.
  • Theme URI: The URL of a public web page where users can find more information about the theme.
  • Author (*): The name of the person or organization that developed the theme.
  • Author URI: The URL of the authoring person or organization.
  • Description (*): A brief description of the theme.
  • Version (*): The version of the theme, written in the format X.X or X.X.X.
  • Requires at least (*): The oldest WordPress major version with which the theme works. Written in X.X format. Themes must support only the last three versions.
  • Tested up to (*): Last tested WordPress major version. Specify only the number in the format X.X.
  • Requires PHP (*): The oldest supported PHP version, in X.X format.
  • License (*): The license of the theme.
  • License URI (*): The URL of the theme licenses.
  • Text Domain (*): Text domain for translation.
  • Tags: Words to find the theme using the tag filter. For a complete list of tags, see the Theme Evaluation Guide.
  • Domain Path: To be able to find the translations when the theme is deactivated. The default value is /languages.

After the required header section, the style.css file can subsequently contain everything that a normal CSS file contains.

Install WordPress Theme

After the required header section, the style.css file can subsequently contain everything that a normal CSS file contains. Either an upload of the files via FTP is possible. On the other hand, WordPress brings the ZIP upload under design.

Hochladen über FTP

For this you have to download the unzipped theme into the /wp-content/themes/ folder of your WordPress installation. The theme will be found and activated in the WordPress backend under Design -> Themes.

Hochladen über WordPress Backend

In the WordPress admin area under Design -> Themes you can upload compressed WordPress themes in ZIP format. Next to the themes page title is the “Add Theme” button.

On the other hand, download our white theme template at Github. Create your own WordPress theme:

https://github.com/RenewedPlains/wordpresstheme/releases/download/publish/wordpresstheme.zip

Trent Bojett

My name is Trent Bojett, I am 28 years old and I live in Switzerland. Because of my enthusiasm for writing and the logical world (= software development) I started this blog in early 2020.

Add comment