首页 WordPress函数大全 is_home()

is_home()

2020-05-02 / 1913阅 / 悠然

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

is_home()

Determines whether the query is for the blog homepage.

描述

The blog homepage is the page that shows the time-based blog content of the site.

is_home() is dependent> Conditional Tags article in the Theme Developer Handbook.

See also See also

  • is_front_page()

返回

(bool) True if blog view homepage, otherwise false.

大家谈论
    我的见解