跳到内容

SP Comments Shortcodes Kit

v1.9

prozetagamma · 2017年4月15日 上架

Divide comments in arguments and allowing show where you want by shortcode

正在使用
10 以下
评分
暂无
累计下载
1,078
最近更新
2017年9月25日
需要 WordPress 3.7+已测试到 4.8.35

贡献者

截图

Two comment buttons: the first with 2 arguments, and second with 3 cities
Two comment buttons: the first with 2 arguments, and second with 3 cities

To insert Form & Button:

  • [spcomments_button

    text = (optional) “button title” default: “Submit”
    args = (optional) “argument1,argument2,argument3…” default: “Argument1,Argument2,Argument3”
    formtitle = (optional) “title of form” default: “Leave a Reply”
    popupstyle = (optional) “spoiler|modal” default: “spoiler”
    id = (optional) an valid numeric id default: random number id or a name without spaces
    placeholder = (optional) “form textarea placeholder text” default: “Your comment here…”
    cflabel = (optional) “label of textarea comment text” default: “Comment”

    ]

To insert a Secondary Button:

  • [spcomments_button

    text = (optional) “button title” default: “Submit”
    formid = (required) the id of existing form to open
    arg = (optional) the name of arg to select default: none
    hideargs = (optional) “yes|no” default: “no”

    ]

To show a comment list:

  • [spcomments

    arg = (required) “argument1”
    nocommentstext = (optional) “Text if none comment in argument” default “No comments yet on this topic”

    ]

[spcomments arg=”argument2″]
[spcomments arg=”argument3″]

To insert a comment textarea (with argument preselected)

  • [spcomments_textarea

    id = (optional) a valid numeric id default: random number id or a name without spaces
    arg = (required) the name of arg to select default: none
    formid = (optional) an id to use for javascript
    formtitle = (optional) “title of form” default: “Leave a Reply”
    cflabel = (optional) “label of textarea comment text” default: “Comment”
    placeholder = (optional) “form textarea placeholder text” default: “Your comment here…”

    ]

if you need a live demo click here

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums