
內容簡介
此外掛可讓您在任何文章、頁面或自訂文章型態中的內容中內嵌評論表單或評論列表。
只需在編輯器中將短代碼 lh_comment_form_shortcode_form 或 lh_comment_form_shortcode_list 加到您的內容中,兩個短代碼都有一個強制屬性。
「強制」的屬性是 post_id,這是您想要顯示評論表單的文章、頁面或自訂文章型態的 ID。如果沒有指定該屬性,它將以當前頁面為預設值 (這不太有用)。
例如:[lh_comment_form_shortcode_form post_id=”100″] 或 [lh_comment_form_shortcode_list post_id=”100″]
將來將會添加一個有此功能的 Gutenberg 區塊。
喜歡這個外掛嗎?請考慮給它一個五星的評價。
喜歡這個外掛或想要幫助 LocalHero 專案嗎?請考慮捐款。
外掛標籤
開發者團隊
② 後台搜尋「LH Comment Form Shortcode and Block」→ 直接安裝(推薦)
原文外掛簡介
Include a comment form or listing on any post, page, or CPT inline in the post_content of another page.
Simply add the shortcodes lh_comment_form_shortcode_form or lh_comment_form_shortcode_list to you content in the editor. Both shortcodes have one mandatory attribute.
The mandatory attribute is post_id, this is the id of the post, page, or cpt whose comment form you want displayed.If that attribute i not specified it will defaut to the current page (which is not that useful)
eg [lh_comment_form_shortcode_form post_id=”100″] or [lh_comment_form_shortcode_list post_id=”100″]
A gutenberg block with this functionality will be added in time.
Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.
