Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Template:Conditional Tags"

(has_post_image())
m (Added missing underscores "email_exists()" & "username_exists()" tags)
 
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
  +
* Article: [[Conditional Tags|'''Introduction to WordPress conditional functions''']]
[[Function Reference/is_home | is_home()]],
 
[[Function Reference/is_front_page | is_front_page()]],
+
* Function: [[Function Reference/comments_open | comments_open()]]
[[Function Reference/is_search | is_search()]],
+
* Function: [[Function Reference/is_404 | is_404()]]
[[Function Reference/is_404 | is_404()]],
+
* Function: [[Function Reference/is_admin | is_admin()]]
[[Function Reference/is_singular | is_singular()]],
+
* Function: [[Function Reference/is_admin_bar_showing | is_admin_bar_showing()]]
[[Function Reference/is_page | is_page()]],
+
* Function: [[Function Reference/is_archive | is_archive()]]
[[Function Reference/is_attachment | is_attachment()]],
+
* Function: [[Function Reference/is_attachment | is_attachment()]]
[[Function Reference/is local attachment | is_local_attachment()]],
+
* Function: [[Function Reference/is_author | is_author()]]
[[Function Reference/is_single | is_single()]],
+
* Function: [[Function Reference/is_category | is_category()]]
[[Function Reference/is_sticky | is_sticky()]],
+
* Function: [[Function Reference/is_comments_popup | is_comments_popup()]]
[[Function Reference/is_archive | is_archive()]],
+
* Function: [[Function Reference/is_date | is_date()]]
[[Function Reference/is_category | is_category()]],
+
* Function: [[Function Reference/is_day | is_day()]]
[[Function Reference/is_tag | is_tag()]],
+
* Function: [[Function Reference/is_feed | is_feed()]]
[[Function Reference/is_author | is_author()]],
+
* Function: [[Function Reference/is_front_page | is_front_page()]]
[[Function Reference/is_date | is_date()]],
+
* Function: [[Function Reference/is_home | is_home()]]
[[Function Reference/is_year | is_year()]],
+
* Function: [[Function Reference/is local attachment | is_local_attachment()]]
[[Function Reference/is_month | is_month()]],
+
* Function: [[Function_Reference/is_main_query | is_main_query]]
[[Function Reference/is_day | is_day()]],
+
* Function: [[Function_Reference/is_multi_author | is_multi_author]]
[[Function Reference/is_time | is_time()]],
+
* Function: [[Function Reference/is_month | is_month()]]
[[Function Reference/is_admin | is_admin()]],
+
* Function: [[Function Reference/is_new_day | is_new_day()]]
[[Function Reference/is_preview | is_preview()]],
+
* Function: [[Function Reference/is_page | is_page()]]
[[Function Reference/is_paged | is_paged()]],
+
* Function: [[Function Reference/is_page_template | is_page_template()]]
[[Function Reference/is_page_template | is_page_template()]],
+
* Function: [[Function Reference/is_paged | is_paged()]]
[[Function Reference/is plugin active | is plugin active()]],
+
* Function: [[Function Reference/is_plugin_active | is_plugin_active()]]
[[Function Reference/is_plugin_page | is_plugin_page()]],
+
* Function: [[Function Reference/is_plugin_active_for_network | is_plugin_active_for_network()]]
[[Function Reference/is_new_day | is_new_day()]],
+
* Function: [[Function Reference/is_plugin_inactive | is_plugin_inactive()]]
[[Function Reference/is_feed | is_feed()]],
+
* Function: [[Function Reference/is_plugin_page | is_plugin_page()]]
[[Function Reference/is_trackback | is_trackback()]],
+
* Function: [[Function Reference/is_post_type_archive | is_post_type_archive()]]
[[Function Reference/is_comments_popup | is_comments_popup()]],
+
* Function: [[Function Reference/is_preview | is_preview()]]
[[Function Reference/comments_open | comments_open()]],
+
* Function: [[Function Reference/is_search | is_search()]]
[[Function Reference/pings_open | pings_open()]],
+
* Function: [[Function Reference/is_single | is_single()]]
[[Function Reference/is_taxonomy | is_taxonomy()]],
+
* Function: [[Function Reference/is_singular | is_singular()]]
[[Function Reference/is_taxonomy_hierarchical | is_taxonomy_hierarchical()]],
+
* Function: [[Function Reference/is_sticky | is_sticky()]]
 
* Function: [[Function Reference/is_tag | is_tag()]]
[[Function_Reference/is_term | is_term()]],
 
  +
* Function: [[Function Reference/is_tax | is_tax()]]
[[Function_Reference/is_user_logged_in | is_user_logged_in()]],
 
  +
* Function: [[Function Reference/is_taxonomy_hierarchical | is_taxonomy_hierarchical()]]
[[Function_Reference/is_blog_installed | is_blog_installed()]],
 
  +
* Function: [[Function Reference/is_time | is_time()]]
[[Function_Reference/is_active_sidebar | is_active_sidebar()]],
 
  +
* Function: [[Function Reference/is_trackback | is_trackback()]]
[[Function_Reference/is_dynamic_sidebar | is_dynamic_sidebar()]],
 
  +
* Function: [[Function Reference/is_year | is_year()]]
[[Function_Reference/is_active_widget | is_active_widget()]],
 
[[Function_Reference/in_the_loop | in_the_loop()]],
+
* Function: [[Function_Reference/in_category | in_category()]]
[[Function_Reference/in_category | in_category()]],
+
* Function: [[Function_Reference/in_the_loop | in_the_loop()]]
[[Function_Reference/has_tag | has_tag()]],
+
* Function: [[Function_Reference/is_active_sidebar | is_active_sidebar()]]
[[Function_Reference/has_excerpt | has_excerpt()]],
+
* Function: [[Function_Reference/is_active_widget | is_active_widget()]]
[[Function_Reference/has_post_image | has_post_image()]]
+
* Function: [[Function_Reference/is_blog_installed | is_blog_installed()]]
 
* Function: [[Function_Reference/is_rtl | is_rtl()]]
 
* Function: [[Function_Reference/is_dynamic_sidebar | is_dynamic_sidebar()]]
 
* Function: [[Function_Reference/is_user_logged_in | is_user_logged_in()]]
  +
* Function: [[Function_Reference/has_excerpt | has_excerpt()]]
  +
* Function: [[Function_Reference/has_post_thumbnail | has_post_thumbnail()]]
  +
* Function: [[Function_Reference/has_tag | has_tag()]]
  +
* Function: [[Function Reference/pings_open | pings_open()]]
  +
* Function: [[Function Reference/email_exists | email_exists()]]
  +
* Function: [[Function_Reference/post_type_exists | post_type_exists()]]
  +
* Function: [[Function_Reference/taxonomy_exists | taxonomy_exists()]]
  +
* Function: [[Function_Reference/term_exists | term_exists()]]
  +
* Function: [[Function Reference/username_exists | username_exists()]]
  +
* Function: [[Function Reference/wp_attachment_is_image | wp_attachment_is_image()]]
  +
* Function: [[Function Reference/wp_script_is | wp_script_is()]]

Latest revision as of 11:43, 23 July 2018