內容簡介
允許使用者編輯或刪除他們自己的評論。
在您的樣板 comments.php 檔案中,將以下程式碼添加到評論清單的loop中(例如在 comment_text() 之後):
<?php if ( class_exists( ‘WPEditableComments’ ) ) { WPEditableComments::edit(‘Edit’); } ?>
<?php if ( class_exists( ‘WPEditableComments’ ) ) { WPEditableComments::delete(‘Delete’); } ?>
以下情況下將顯示該連結:
已登錄的使用者可以編輯當前文章
評論者(即相同的IP)且在編輯或刪除期限之前
語言:
英語(en_US)
法語(fr_FR)
德語(de_DE):Marc 網址
意大利語(it_IT):Aldo Latino
捷克語(cs_CZ):Ajvngou 網址
西班牙語(es_ES):Eduardo Larequi 網址
外掛標籤
開發者團隊
原文外掛簡介
Allows users to edit or delete their own comment.
Add the following codes in the comments.php file of your template, in the loop of the comments list (for example after comment_text() ) :
The link will appear if :
logged user can edit current post,
user is the commenter (i.e. same IP) and time before edit or delete expiration has not passed.
Languages :
English (en_US)
Français (fr_FR)
Deutch (de_DE) : Marc
Italiano (it_IT) : Aldo Latino
Czech (cs_CZ) : Ajvngou
Spanish (es_ES) : Eduardo Larequi
