theme function in wordpress

bloginfo(‘name’):-fetch the name of theme

bloginfo(‘styleesheet_url’):-acess the style sheet file of theme;

get_header() :- this function used for get the header file of theme

get_footer() :- this function used for get the footer file of theme

get_sidebar() :- this function used for get sidebar file of theme

have_posts():- this function used for check the post

the_post():-this function used for fetch the post;

the_title():-this function fetch the title of post

the_content():-this function fetch the content of post

_e(‘Categories’):-this function fetch the all categories

_e(‘Archives’):-this function fetch the all archives

wp_get_archives(‘type=monthly’):-this function fetch the all archives of month

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s