
內容簡介
插入表單和按鈕:
[spcomments_button
text = (選用) “按鈕標題” 預設: “提交”
args = (選用) “參數1,參數2,參數3…” 預設: “參數1,參數2,參數3”
formtitle = (選用) “表單標題” 預設: “回覆”
popupstyle = (選用) “折疊式|彈出式” 預設: “折疊式”
id = (選用) 一個有效的數字 ID 預設:隨機數字 ID 或不含空格的名稱
placeholder = (選用) “表單文字區的提示文字” 預設: “在此輸入您的留言…”
cflabel = (選用) “回覆區域的標籤文字” 預設: “留言”
]
插入次要按鈕:
[spcomments_button
text = (選用) “按鈕標題” 預設: “提交”
formid = (必填) 要開啟現有表單的 ID
arg = (選用) 要選取的參數名稱 預設: 無
hideargs = (選用) “是|否” 預設: “否”
]
顯示評論列表:
[spcomments
arg = (必填) “參數1”
nocommentstext = (選用) “如果該參數上沒有評論的文字” 預設: “這個主題尚未有留言”
]
[spcomments arg=”參數2″]
[spcomments arg=”參數3″]
插入評論文字區(預設帶參數)
[spcomments_textarea
id = (選用) 一個有效的數字 ID 預設:隨機數字 ID 或不含空格的名稱
arg = (必填) 要選取的參數名稱 預設: 無
formid = (選用) 用於 JavaScript 的 ID
formtitle = (選用) “表單標題” 預設: “回覆”
cflabel = (選用) “回覆區域的標籤文字” 預設: “留言”
placeholder = (選用) “表單文字區的提示文字” 預設: “在此輸入您的留言…”
]
如果您需要實時演示,請點擊這裡
外掛標籤
開發者團隊
原文外掛簡介
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
