Template Tags
home_url() ----------Gets the URL of the homepage.
site_url() ----------Gets the URL of the admin panel.
wp_get_document_title() ----------Gets the page title for <title>.
the_archive_title() ----------Outputs the title of the archive page: tag, category, date.
single_term_title() ----------Outputs/Gets the title of the term page.
single_post_title() ----------Outputs/Gets title of a post page.
single_cat_title() ----------Outputs/Gets title of a category/tag page.
body_class() ----------Outputs css classes for the <body> tag.
wp_body_open() ----------Triggers the wp_body_open hook. Use is after <body> tag.
wp_head() ----------Triggers the wp_head hook. Use it in header.php file.
wp_footer() ----------Triggers the wp_footer hook. Use it in footer.php file.
wp_list_categories() ----------Outputs list of categories as links.
wp_dropdown_categories() ----------Outputs a dropdown list of categories/terms.
wp_list_comments() ----------Outputs/Gets post comments.
comment_form() ----------Outputs comment form.
wp_tag_cloud() ----------Outputs/Gets tag cloud.
register_sidebar() ----------Registers a widget panel.
register_sidebars() ----------Registers a widget panels (several at once).
wp_nav_menu() ----------Outputs a custom menu created in the admin panel.
register_nav_menu() ----------Registers a single menu location (area).
register_nav_menus() ----------Registers multiple menu locations (areas).
wp_get_attachment_image() ----------Gets image IMG tag.
wp_get_attachment_image_src() ----------Gets image data: URL/Width/Height.
wp_get_attachment_image_url() ----------Gets image URL by it's ID.
category_description() ----------Gets category description.
term_description() ----------Gets term description.
get_the_term_list() ----------Outputs a list of post terms as links.
get_avatar() ----------Gets image of the user avatar (<img> tag).
next_post_link() ----------Displays a link to the next most recent post (by date).
previous_post_link() ----------Displays a link to the previous most recent post (by date).
wp_link_pages() ----------Outputs pagination for multi-page post <!--nextpage-->.
the_post_navigation() ----------Outputs links to next/previous posts (as HTML block).
wp_get_archives() ----------Outputs links to date archives pages: days, months, years.
wp_login_form() ----------Outputs login form HTML code.
edit_tag_link() ----------Outputs a link to edit the current tag.
edit_term_link() ----------Outputs a link to edit the current term.