Skip to content - WordPress Official Theme Handbook, List of Conditional Tags.
- David Hayes. How to Use WordPress Conditional Tags. wpshout, 2019.
- Baris Unvers. A Walkthrough on Conditional Tags in WordPress Series. 2015.
- Part 1: Introduction
- Part 2: Conditional Tags 1 to 13
- Covers
is_home()
, is_child_theme()
, in_category()
, is_page_template()
, is_archive()
, is_date()
, is_active_widget()
, is_single()
, email_exists()
, is_post_type_hierarchical()
, is_sticky()
, is_admin
, is_category
- Part 3: Conditional Tags 14 to 26
- Covers
is_front_page()
, has_post_thumbnail()
, is_comments_popup()
, is_404()
, taxonomy_exists()
, is_search()
, is_tag()
, has_excerpt()
, is_main_query()
, has_tag()
, is_blog_installed()
, is_super_admin()
, is_page()
- Part 4: Conditional Tags 27 to 39
- Covers
is_month()
, current_theme_supports()
, is_plugin_active()
, is_local_attachment()
, is_time()
, is_rtl()
, is_tax()
, is_attachment()
, term_exists()
, has_term()
, is_trackback()
, is_multisite()
, is_post_type_archive()
- Part 5: Conditional Tags 40 to 52
- Covers
is_main_site()
, has_nav_menu()
, is_plugin_active_for_network()
, comments_open()
, is_dynamic_sidebar()
, is_multi_author()
, pings_open()
, is_feed()
, is_year()
, is_user_logged_in()
, wp_attachment_is_image()
, post_type_exists()
, is_new_day()
,
- Part 6: Conditional Tags 53 to 65
- Covers
is_singular()
, in_the_loop()
, is_plugin_inactive()
, is_author()
, is_paged()
, is_admin_bar_showing()
, is_day()
, is_activity_sidebar()
, username_exists()
, is_preview()
, wp_script_is()
, wp_style_is()
, is_taxonomy_hierarchical()
- Part 7: Series Finale
- Pippin Williamson. WordPress Conditional Tags – An Overview. 2012.
is_singular
Like this:
Like Loading...