Everybody wants to make wordpress theme and like to have their own blog. Below are some basic wordpress function which can help to make basic theme for wordpress.
1) <?php bloginfo(‘stylesheet_directory’); ?>
This wordpress function returns your active theme path. Like you have a theme by the name of “demotheme”. It will return:
http://domain-name.com/wp-content/themes/demotheme
2) <?php echo get_option(‘home’); ?>
It returns your blog url.
3) <?php wp_list_pages(‘title_li=’); ?>
This function returns the list of the page. If you have made some page like Page1, Page2, Page3… It will generate like
<li><a href=” “>Page1</a></li>
<li><a href=” “>Page2</a></li>
<li><a href=” “>Page3</a></li>
<li><a href=” “>………</a></li>
<li><a href=” “>………</a></li>
<li><a href=” “>………</a></li>
4) <?php wp_list_categories(‘title_li=’); ?>
This function returns the list of the categories. It generate the output same as “Pages”
5) <?php bloginfo(‘name’); ?>
It returns your blog name which control by wp-admin–>setting–>general
For more wordpress function you can check “WordPress Functions”