In /wp-content/themes/, create a folder called my-custom-theme and create the following two files:
style.css
In order for WordPress to recognize our theme and output it correctly in the Appearance → Theme list, we need to put some WordPress specific code at the top of style.css, like this:
/*
Theme Name: My Custom Theme
Theme URI: https://yourwebsite.com/theme
Author: Your Name
Author URI: https://yourwebsite.com
Description: This is my first custom theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: <https://www.gnu.org/licenses/gpl-2.0.html>
Text Domain: my-custom-theme
Tags: custom-background
*/
Technically, none of these fields are required, but they are highly recommended if you want your theme to look good in wp-admin. They are also required if you are distributing your theme on WordPress.
Theme Name – You should always provide a name for your theme. If you don’t, the folder name will be used, in our case my-custom-theme.
Theme URI – If used, the theme URI should provide a link to a page where visitors can learn more about the theme.
Author – Your name goes here.
Author URI – A link to your personal or business website can be placed here.
Description – The description is displayed in the wp-admin theme mode as well as in the WordPress theme list.
Version – The version number helps developers track changes and lets users know if they are using a new version. We follow the SemVer numbering system to represent the severity of changes in an update.
License – How you license your theme is up to you, but if you choose a non-GPL compatible license then you will not be able to distribute your theme on WordPress.
License URI – This is just a link to the license listed above.
Text Domain – The text domain is used when translating your theme into other languages. Don’t worry, we’ll dive deeper into this later. For now, it is enough to know that it is a good practice to separate theme folders and text fields with hyphens instead of spaces in the theme name.
Tags – Tags are only used when you upload your theme to the WordPress.org theme directory. They are the basis of the “feature filter” mechanism.
Search
Popular on Blogar
Perplexity AI Premium Cookies 2024
- Apr 17,2024
- 945 Views
Pay-Per-Click-What is PPC
- Oct 27,2022
- 932 Views
2024 Codecademy Premium Account Cookies
- Jul 26,2024
- 918 Views
2024 ChatGPT 4 Premium Account Free Cookies
- Jul 26,2024
- 1333 Views
2024 Grammarly Premium Account Cookies
- Jul 25,2024
- 1364 Views
2024 Canva Pro Free Team Invite Link And Cookies
- Jul 25,2024
- 1993 Views
2024 Udemy Premium Account Cookies
- Apr 15,2024
- 725 Views
Email Marketing-What Is Email Marketing?
- Oct 28,2022
- 767 Views
Content Marketing-What is Content Marketing
- Oct 27,2022
- 1029 Views
Social Media Marketing-Social Media Marketing (SMM)
- Oct 27,2022
- 1187 Views
Essential Marketing Analytics Tools for 2024-Microsoft Clarity
- Dec 07,2023
- 99 Views
Understanding How PPC Affects SEO
- May 23,2024
- 99 Views
Hide Plugin From WordPress Dashboard
- May 23,2024
- 98 Views
Pay-per-Click Categories
- May 22,2024
- 94 Views
Recent Post
2024 Codecademy Premium Account Cookies
- July 26th 2024
- 918 Views
2024 ChatGPT 4 Premium Account Free Cookies
- July 26th 2024
- 1333 Views
2024 Grammarly Premium Account Cookies
- July 25th 2024
- 1364 Views
2024 Canva Pro Free Team Invite Link And Cookies
- July 25th 2024
- 1993 Views
Perplexity AI Premium Cookies 2024
- April 17th 2024
- 945 Views
2024 Udemy Premium Account Cookies
- April 15th 2024
- 725 Views
Email Marketing-What Is Email Marketing?
- October 28th 2022
- 767 Views
Content Marketing-What is Content Marketing
- October 27th 2022
- 1029 Views
Social Media Marketing-Social Media Marketing (SMM)
- October 27th 2022
- 1187 Views
Pay-Per-Click-What is PPC
- October 27th 2022
- 932 Views
WordPress Customize the theme to create basic files-index.php
- July 26th 2024
- 8 Views