<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                條件標簽是一種布爾數據類型,可以在您的模板文件中使用,以根據當前頁面匹配的條件來更改內容的顯示。 他們告訴WordPress在特定條件下顯示什么代碼。 條件標簽通常與PHP一起使用,if/else條件語句,并與WordPress模板層次結構有密切關系。 >[warning] 警告:您只能在設置WP_Query或使用動作掛鉤后使用條件查詢標簽。 ## 條件標簽的完整列表 - is_front_page() - is_home() - is_front_page() - is_home() - is_admin() - is_network_admin() - is_admin_bar_showing() - is_single() - is_sticky() - is_post_type_hierarchical( $post_type ) - is_post_type_archive() - is_comments_popup() - comments_open() - pings_open() - is_page() - is_page_template() - is_category( $category ) - is_tag() - is_tax() - has_term() - term_exists( $term, $taxonomy, $parent ) - is_taxonomy_hierarchical( $taxonomy ) - taxonomy_exists( $taxonomy ) - is_author() - is_date() - is_year() - is_month() - is_day() - is_time() - is_new_day() - is_archive() - is_search() - is_404() - is_paged() - is_attachment() - wp_attachment_is_image( $post_id ) - is_local_attachment( $url ) - is_singular() - post_type_exists( $post_type ) - is_main_query() - is_new_day() - is_feed() - is_trackback() - is_preview() - in_the_loop() - is_dynamic_sidebar() - is_active_sidebar() - is_active_widget( $widget_callback, $widget_id ) - is_blog_installed() - is_rtl() - is_multisite() - is_main_site() - is_super_admin() - is_user_logged_in() - email_exists( $email ) - username_exists( $username ) - is_plugin_active( $path ) - is_plugin_inactive( $path ) - is_plugin_active_for_network( $path ) - is_plugin_page() - is_child_theme() - current_theme_supports() - has_post_thumbnail( $post_id ) - wp_script_is( $handle, $list ) ## 條件 所有條件標簽測試以查看某個條件是否滿足,然后返回TRUE或FALSE。 下面列出了各種標簽輸出TRUE的條件。 可以接受參數的那些標簽如此注明。 ## 主頁 - is_home() ## 首頁 - is_front_page() ## 博客頁 - is_front_page() - is_home() ## 單頁面 - is_single() ## 內容頁 - is_page() - is_page_template() ## 帖子縮略圖 - has_post_thumbnail( $post_id ) 單個頁面,單個內容,附件或任何其他自定義帖子類型 - is_singular() ## 類別頁面 - is_category( $category ) ## 標簽頁 - is_tag() - has_tag() ## 分類頁(及相關) - is_tax() - has_term() - term_exists( $term, $taxonomy, $parent ) - is_taxonomy_hierarchical( $taxonomy ) - taxonomy_exists( $taxonomy ) ## 作者頁 - is_author() ## 日期頁 - is_date() - is_year() - is_month() - is_day() - is_time() - is_new_day() ## 任何檔案頁 - is_archive() ## 搜索結果頁 - is_search() ## 404找不到頁面 - is_404() ## 動態SideBar - is_dynamic_sidebar() ## SideBar活躍 - is_active_sidebar() ## Widget活躍 - is_active_widget( $widget_callback, $widget_id ) ## 用戶登錄 - is_user_logged_in() ## 電子郵件存在 - email_exists( $email ) ## 用戶名存在 - username_exists( $username ) ## 分頁 - is_paged() ## 右到左 - is_rtl() ## 附件 - is_attachment() ## 附件是圖像 - wp_attachment_is_image( $post_id ) ## 本地附件 - is_local_attachment( $url ) ## 文章類型存在 - post_type_exists( $post_type ) ## 是主要查詢 - is_main_query() ## 新的一天 - is_new_day() ## 銀團貸款 - is_feed() ## 一個引用 - is_trackback() ## 預覽 - is_preview() ## 有一個摘錄 - has_excerpt() ## 有一個導航菜單的安排 has_nav_menu() ## 博客安裝 - is_blog_installed() ## 網絡的一部分(多站點) - is_multisite() - is_main_site() - is_super_admin() ## 一個活躍的插件 - is_plugin_active( $path ) - is_plugin_inactive( $path ) - is_plugin_active_for_network( $path ) - is_plugin_page() ## 一個子主題 - is_child_theme() ## 主題支持功能 - current_theme_supports() ## 在定制預覽 - is_customize_preview()
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看