WordPress:Template Tags/comments popup script

来自站长百科
跳转至: 导航、​ 搜索

描述[ ]

为一个评论弹出窗口,提供JavaScript编码。与comments_popup_link()用在一起,这个标签可以用在一个模板的任何位置,但是通常是放在一个网页的<head>部分的内部。

用法[ ]

%%% <?php comments_popup_script(width, height); ?> %%%

例子[ ]

将弹窗口的宽度设置为400像素,高度设置为500像素。

<?php comments_popup_script(400, 500); ?>

参数[ ]

width
(integer) 弹出窗口的宽度。默认为400 (像素)。
height
(integer)弹出窗口的高度。默认为400 (像素)。

相关的[ ]

comments_number, comments_link, comments_rss_link, comments_popup_script, comments_popup_link, comment_ID, comment_author, comment_author_IP, comment_author_email, comment_author_url, comment_author_email_link, comment_author_url_link, comment_author_link, comment_type, comment_text, comment_excerpt, comment_date, comment_time, comments_rss_link, comment_author_rss, comment_text_rss, comment_link_rss, permalink_comments_rss

模板:PHP 函数 标签 页底文字