If you new to develop the wordpress theme then just use following steps to create the theme.
For wordpress theme only two files are required.
- style.css
- index.php
Only with these two files you are able to create the basic theme of wordpress
How above file should be written. Following necessary code you need to put in that file.
Style.css
/*
Theme Name: WordPressapi
Theme URI: wordpressapi-homepage
Description: a-brief-description of theme
Author: your-name
Author URI: your-URI
Template: use-this-to-define-a-parent-theme--optional
Version: a-number--optional
.
General comments/License Statement if any.
.
*/
Under this you can put your css code.
Index.php
<?php
if (have_posts()) : while (have_posts()) : the_post();
//following line will fetch the post and page code.
the_content();
endwhile; endif;
?>






Of course, what a great site and informative posts, I will add backlink – bookmark this site? Regards, Reader
Nice post! You truly have a wonderful way of writing which I find captivating! I will definitely be bookmarking you and returning to your blog. In fact, your post reminded me about a strange thing that happened to me the other day. I’ll tell you about that later…
I’ve just started off a blog, the knowledge you give on this site has aided me extremely. Thank you for all your time & work.
Good! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?
Great read. Thanks for the info!
I would like to say “wow” what a inspiring post. This is really great. Keep doing what you’re doing!!
I’ve been checking your blog for a while now, seems like everyday I learn something new
Thanks
Hello, this is my first time i visit here. I found so many interesting in your blog especially on how to determine the topic. keep up the good work.
I was just having a conversation over this I am glad I came across this it cleared some of the questions I had.
Interesting read, perhaps the best article iv’e browse today. We learn everyday cheers to you!
Intriguing post. I have been searching for some good resources for solar panels and discovered your blog. Planning to bookmark this one!
Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs
Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs
Great read. Thanks for the info!
Nice post! You truly have a wonderful way of writing which I find captivating! I will definitely be bookmarking you and returning to your blog. In fact, your post reminded me about a strange thing that happened to me the other day. I’ll tell you about that later…
I would like to say “wow” what a inspiring post. This is really great. Keep doing what you’re doing!!
Good! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?