首页 WordPress函数大全 comments_popup_link()

comments_popup_link()

2020-05-01 / 3465阅 / 悠然

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

comments_popup_link( false|string $zero = false, false|string $one = false, false|string $more = false, string $css_class = '', false|string $none = false )

Displays the link to the comments for the current post ID.

描述

参数

$zero

(false|string)
(Optional)
String to display when no comments.

Default value: false

$one

(false|string)
(Optional)
String to display when>Default value: false

$more

(false|string)
(Optional)
String to display when there are more than>Default value: false

$css_class

(string)
(Optional)
CSS class to use for comments.

Default value: ''

$none

(false|string)
(Optional)
String to display when comments have been turned off.

Default value: false

大家谈论
    我的见解