Every now or then you will want to change WordPress theme. To have new theme you can go to Appearance/Themes Or can google . But what about if you want to create a theme in WordPress , Well its Super easy.
We will be required 2 main files but i will explain in detail so for start. Go to Your WordPress folder and then Follow the path “WordPress/WP-content/themes”.
Here create the folder and give this folder any name that you want your theme’s folder name.
After creating folder you need to add basic files as below
image name should always be named as screenshot.jpg index file will display any code you add in it. its the front page file and css goes in style file
add below given comments in style .css.
/* Theme Name: Sky Theme URI: www.arrowempire.com Author: Mark Author URI: www.arrowempire.com Description: it is testing theme for practice Version: 2.3 */
Above given comment in style.css file make theme apeare in theme listing.
thats it you created your first theme.
adding below line in Index.php
echo"Fisrt Custom Theme";
Now see how it looks on browser
Hope you got the point, In latest posts i will show you how to develop advanced website.
Join us register Today.
You must log in to post a comment.