Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道 get_the_date() 是显示发布日期。我知道 get_the_id() 是帖子的显示 ID。
但我不知道获取页面浏览次数的函数名称
请帮我找到这个函数的名称。
***********编辑****** 现在我可以找到。. . . .hahaaaa
在我的主题中安装 wp-Post Views 并获取代码the_views() 它可以与我的主题 css 一起使用:)
WordPress 没有默认的页面浏览计数功能。您可以使用插件来完成此操作,例如Page Views Count。