首页 WordPress函数大全 is_front_page()

is_front_page()

2020-05-02 / 5245阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

is_front_page()

Determines whether the query is for the front page of the site.

描述

This is for what is displayed at your site’s main URL.

Depends>is_home()

For more information> Conditional Tags article in the Theme Developer Handbook.

Return Return

(bool) True, if front of site.

大家谈论
    我的见解