Hello Guys Welcome To Our New Episode. Now Its Time To Go In Deep. Lets Start The Series For WordPress Theme Development. Before Going In Deep If You Don’t Know What Is WordPress Click On Here. Or You Can Check How To Install WordPress Locally. Now Its Time To Know Before Starting WordPress Theme Development Which File Are Required?
There are only two files absolutely required in a WordPress theme:
index.php
– the main template filestyle.css
– the main style file
Hope You Guys Know Where Is Theme Folder? If You Don’t Know Where It Is Then Knock Me. I will Help You Guys To Recognize It. So Beside The Default Theme Folder Like twentysixteen, twentyseventeen, twentynineteen, twentytwenty Create Your Theme Folder And Inside Your Theme Folder Create Those Two Required File. And Access The Address Where You Have Install Your WordPress. If You Go On Appearance >> Themes Then You Will See Like Below. I Just Create Those Two File index.php And style.css With The Folder Name customtheme. After That The Output Is In Front Of Us. But That Is Not a Proper Thing For Creating A WordPress Theme. As We See In Twenty Twenty WordPress Theme There Is A Thumbnail Image. And If We Click On Theme Details Of Twenty Twenty WordPress Theme We Will See Information About The Theme So We Need That Also In Our Theme.

So In First Step We Try To Bring The Thumbnail Image. Its Super Easy. Bring Your Image That You Want To Show And Set The Name screenshot.png. The Standard Size For The Image Is 1200*900. After Give The Image There Your Preview Image Will Come Like A Magic. That’s The Power Of WordPress. After That We Need To Show The Data For The Theme Like The Other Theme Have. For That We Need To Write Some Code In Our style.css File. So lets Write The Code And Do Some Magic. Inside style.css Write The Damn Cool Code What I set Below.
/*
Theme Name: Custom Theme
Theme URI: http://themehat.com/demo/customtheme/
Text Domain: customtheme
Description: Custom Theme Is A Theme For Only Developing Purpose. Set The Description That You Want to Set
Version: 1.0
Author: Themehat
Author URI: https://themehat.com
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
After Write The Code Save The Code And Just Click On The Theme Details. You Will See It Like The Image.

Isn’t It Cool. I Hope You Guys Are Enjoying. In The index.php file you Need To Write The Code That User Will See. We Will Discuss That On later. Lets See What Are The Other File We Need To Make A WordPress Theme. I am Giving A List Of The File Directory.
Common WordPress template files
Below is a list of some basic theme templates and files recognized by WordPress.
index.php : The main template file. It is required in all themes.
style.css : The main stylesheet. It is required in all themes and contains the information header for your theme.
rtl.css : The right-to-left stylesheet is included automatically if the website language’s text direction is right-to-left.
comments.php : The comments template.
front-page.php : The front page template is always used as the site front page if it exists, regardless of what settings on Admin > Settings > Reading.
home.php : The home page template is the front page by default. If you do not set WordPress to use a static front page, this template is used to show latest posts.
header.php : The header template file usually contains your site’s document type, meta information, links to stylesheets and scripts, and other data.
singular.php : The singular template is used for posts when single.php
is not found, or for pages when page.php
are not found. If singular.php
is not found, index.php
is used.
single.php : The single post template is used when a visitor requests a single post.
single-{post-type}.php : The single post template used when a visitor requests a single post from a custom post type. For example, single-book.php
would be used for displaying single posts from a custom post type named book. The index.php
is used if a specific query template for the custom post type is not present.
archive-{post-type}.php : The archive post type template is used when visitors request a custom post type archive. For example, archive-books.php
would be used for displaying an archive of posts from the custom post type named books. The archive.php
template file is used if the archive-{post-type}.php
is not present.
page.php : The page template is used when visitors request individual pages, which are a built-in template.
page-{slug}.php : The page slug template is used when visitors request a specific page, for example one with the “about” slug (page-about.php).
category.php : The category template is used when visitors request posts by category.
tag.php : The tag template is used when visitors request posts by tag.
taxonomy.php : The taxonomy term template is used when a visitor requests a term in a custom taxonomy.
author.php : The author page template is used whenever a visitor loads an author page.
date.php : The date/time template is used when posts are requested by date or time. For example, the pages generated with these slugs:
http://example.com/blog/2014/
http://example.com/blog/2014/05/
http://example.com/blog/2014/05/26/
archive.php : The archive template is used when visitors request posts by category, author, or date. Note: this template will be overridden if more specific templates are present like category.php
, author.php
, and date.php
.
search.php : The search results template is used to display a visitor’s search results.
attachment.php : The attachment template is used when viewing a single attachment like an image, pdf, or other media file.
image.php : The image attachment template is a more specific version of attachment.php
and is used when viewing a single image attachment. If not present, WordPress will use attachment.php
instead.
404.php : The 404 template is used when WordPress cannot find a post, page, or other content that matches the visitor’s request.
More on WordPress Theme Development
WordPress.org offers an a great, in-depth resource in their Theme Development Handbook. The WordPress Developer Course also covers WordPress theme development in more detail, including WordPress hooks an filters, working with the WordPress loop and more.
Hey Its A Short Description For The Every File. I will Break All The File And Describe It Briefly. With These File We Can Make A Simple WordPress Theme. In The Next Episode I Will Break Two Or Three File To Make You Guys Understand How These File Works? So Good Bye For Today. Hope You Guys Enjoyed It.
Do you mind if I quote a few of your posts as long as I provide credit and sources
back to your site? My website is in the exact same
area of interest as yours and my visitors would truly benefit from some of the information you present here.
Please let me know if this okay with you. Regards!
Yes You Can Use With The Proper Credit that You Mention.
Yes! Finally something about باك لينك.
Write more, thats all I have to say. Literally, it seems as though you relied on the video
to make your point. You obviously know what youre talking about, why
waste your intelligence on just posting videos to your blog when you could be giving us something enlightening to read?
I am Trying To Write As More As I can. Hope I will Continue Writing. Thanks For The Comment.
An outstanding share! I’ve just forwarded this onto a coworker who
was doing a little homework on this. And he in fact bought
me breakfast because I discovered it for him… lol. So let me reword this….
Thanks for the meal!! But yeah, thanks for spending the time to talk about this
issue here on your website.
thanks for you valuable comment. keep me inspiring so i can post more.
I got this web page from my friend who shared with me regarding this site and at the moment this time I am
browsing this site and reading very informative content here.
Thank you Very Much.
What’s up colleagues, its great paragraph about tutoringand fully defined, keep it up all
the time.
thank you. share it if you can.
Melhor serviçο de dedetização com tudo qսe você precisa.
Heya i’m for the primary time here. I came across this board and I to find It truly helpful & it helped me out much. I hope to present one thing back and aid others such as you helped me.|
Thanks For Your Comment Which Inspire Me A Lot.
Everyone loves it when folks get together and share views. Great blog, continue the good work!|
Thank You.
Hey there this is kind of of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding skills so I wanted to get advice from someone with experience. Any help would be greatly appreciated!|
Yeah Sure Why Not.
Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You clearly know what youre talking about, why throw away your intelligence on just posting videos to your site when you could be giving us something informative to read?|
I Am Trying To Write More. Thanks.
What’s up Dear, are you in fact visiting this site on a regular basis, if so after that you will absolutely get pleasant knowledge.|
Thankk You.
excellent
Thanks For Your Compliment.
excellent
If you desire to improve your familiarity just keep visiting this web page and be updated with the most recent information posted here.|
Thanks you very much
WOW just what I was searching for. Came here by searching for keyword|
Thank You Very Much. Keep Inspiring Me Like This.
Very good website you have here but I was curious about if you knew of any message boards that cover the same topics discussed here?
I’d really like to be a part of group where I can get feedback from other
knowledgeable people that share the same interest. If you have
any suggestions, please let me know. Cheers!
It Will Be Better To Join With Your Local Community. They Can Give You The Best Suggestions. And You Could Read More In wordpress.org. Thanks.
What’s up, for all time i used to check web site posts here early in the morning, as i love to find out more and more.|
thanks
These are truly fantastic ideas in on the topic of blogging. You have touched some pleasant factors here. Any way keep up wrinting.|
I will. Thanks
Hey! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing months of hard work due to no backup. Do you have any methods to protect against hackers?|
I Take Two Backup In A Week. Right Now I Use Wordfence Plugin For Protect My Site.
Wow, awesome blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is wonderful, as well as the content!|
4 month. thank you very much.
I have read so many content concerning the blogger lovers but this piece
of writing is really a nice post, keep it up.
thank you.
Good day! I could have sworn I’ve been to your blog before but after browsing through some of the articles I realized it’s new to me. Anyhow, I’m certainly pleased I discovered it and I’ll be book-marking it and checking back often!|
Thanks Man.
Hey very nice blog!|
Thank You.
Hi there, yeah this article is actually nice and I have learned lot of things from it on the topic of blogging. thanks.|
Thank You.
When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails with the same comment. Is there any way you can remove me from that service? Many thanks!|
the Mail You Are Getting there Should be The Option.
I read this piece of writing completely on the topic of the comparison of most recent and preceding technologies, it’s amazing article.|
thanks
It is not my first time to pay a visit this site, i am browsing this web page dailly and obtain pleasant information from here every day.|
thank you
amazing article
thanks
informative article
Thank You.
Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?|
mail me. riponhossainchopol@gmail.com. Please Set A Subject Write I Am From Themehat.
Thanks you
For What?
We are a gaggle of volunteers and starting a brand new scheme in our community. Your website offered us with helpful information to work on. You have performed an impressive task and our whole neighborhood can be grateful to you.|
thanks
That is a great tip particularly to those new to the blogosphere. Simple but very precise info… Thank you for sharing this one. A must read article!|
thank you very much. stay with me.
Nice article
thanks
amazing
thanks
amazing
Thanks you
I’ll right away take hold of your rss feed as I can’t in finding your email subscription hyperlink or newsletter service. Do you have any? Please let me recognize so that I may subscribe. Thanks.|
Thanks For Your Comment I will Add It Very Soon And I will Inform You. You Can Press The right bottom Icon For The Latest Update.
Woah! I’m really loving the template/theme of this site. It’s simple, yet effective. A lot of times it’s hard to get that “perfect balance” between user friendliness and visual appearance. I must say you’ve done a excellent job with this. In addition, the blog loads very quick for me on Safari. Outstanding Blog!|
Thanks.
Hello colleagues, its wonderful article about educationand entirely defined, keep it up all the time.|
Thanks
Hello there! Would you mind if I share your blog with my facebook group? There’s a lot of folks that I think would really appreciate your content. Please let me know. Thanks|
You Can But You Have To Give The Credit To Me.
I don’t even know how I ended up here, but I thought this post was great. I do not know who you are but definitely you are going to a famous blogger if you aren’t already 😉 Cheers!|