Some Important Function

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"> //Assign css link in wordpress

wp_title( '|', true, 'right' ); ?><?php bloginfo('name'); // title in wordpress

<a href="<?php echo get_option('home'); ?>">My Home</a> //Home Page Link


<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script> //include javascript file

<img src="<?php bloginfo('template_directory'); ?>/images/image5.jpg" alt="First Slide" /> //get image


get_post_meta(get_the_ID(), 'Side_title2', true); //Get data from custom fields
//Side_title2 is the name of custom field.


<?php wp_list_categories(); ?> //Get categories list

wp_list_cats('sort_column=name&optioncount=1&hierarchical=0');

<?php wp_list_pages(); ?> //Get pages list


get_option('home'); //blog’s home page

bloginfo('rss2_url'); //blog’s RSS feed


wp_list_authors(); //Author list


<?php previous_posts_link('&laquo; Previous Entries') ?>
<?php next_posts_link('Next Entries &raquo;') ?> //display next and prev link

<?php wp_get_archives('type=monthly'); ?>//Get Archives