So, you’ve embarked on creating your first WordPress theme. Lots of questions arise, like “Where the heck do I put a description for my new theme?”
Open up the stylesheet, style.css, and insert several commented lines at the beginning like so:
Theme Name: My First WordPress Theme
Theme URI: https://www.computeraxe.com/
Description: This is my first wordpress theme.
Everything after the “:” is cataloged by WordPress as theme metadata, or information about your theme.
The theme name, description and version will appear in the Admin/Presentation/Themes panel to describe the WP theme. A separate screenshot of the functioning theme completes this picture.
The author’s name and URI, as well as the theme URI where one can see the theme in action, are important details to include at the top of every WordPress stylesheet.
11 thoughts on “Theme Description for WordPress Blog Lies in the Stylesheet”
thank you very much i have been searching for this for a while. i think i did not use the right keywords for search.
Ah yes,.. Rohit. It took me a while to find that part.
Thanks for stopping by!
Exactly what I needed. Thanks!
You’re welcome, Lochlan! Good luck!!
I’v been trying to modify the theme details for a wordpress theme that I have but for the life of me I cannot figure out where the image is in the folder that is being used.
When I goto my theme area on wordpress website and I can activate or deactivate themes I need to change a particular image displayed for a theme to a custom picture but cannot figure where the image is located to change it.
Any help is much apprecaited
Once you select a theme for your site via Appearance -> Themes, you can use the editor to make changes to the active theme. Pay attention to the text that describes the theme on the Themes page. There usually is a line that states the location of the theme files. For instance, the Twenty Ten theme provided with WordPress states this, “All of this theme’s files are located in /themes/twentyten.” So, in this example you would look in the folder called “twentyten” for some hint to the location of the image that you want to change.
Not all themes are so well documented, so you could try to find the image file in “../wp-content/themes/your-theme-folder”. If you’re lucky, there will be an images folder inside the theme directory.
Once you activate a theme, changes to the files that make up the theme can be made via Appearance -> Editor.
Hope that helps. Let us know!
Thanks for the information! Never though that the theme info was located on the .css file lol! Thanks again!
I know what you mean, it took me a while to find it, too!
Good luck with your sites.
Like it too much!!! Thanks a lot… 😀
Thanks a lot. I was searching it in the database and some files.
Never realize that it could be in style.css
Glad you got it, Datshay!