douchi1945 2010-11-06 08:22
浏览 66
已采纳

wordpress中is_page()和is_paged()之间的区别是什么?

I can't seem to understand is_paged() but I have used is_page() before. If possible please provide an sample page. :-)

  • 写回答

3条回答 默认 最新

  • doujiekeyan0622 2010-11-06 08:31
    关注

    Have you had a look at the function reference?

    • is_paged()

      This Conditional Tag checks if page being displayed is "paged". This is a boolean function, meaning it returns either TRUE or FALSE.

      Note: This refers to an archive or the main page being split up over several pages, this does not refer to a Post or Page whose content has been divided into pages using the QuickTag.

      That means you get to know whether the current page is divided into several "subpages".

    • is_page()

      This Conditional Tag checks if Pages are being displayed. This is a boolean function, meaning it returns either TRUE or FALSE.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?
  • ¥15 matlab(相关搜索:紧聚焦)
  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 路易威登官网 里边的参数逆向
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
  • ¥50 需求一个up主付费课程