Описание
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() ) :
<?php if ( class_exists( ‘WPEditableComments’ ) ) { WPEditableComments::edit(‘Edit’); } ?>
<?php if ( class_exists( ‘WPEditableComments’ ) ) { WPEditableComments::delete(‘Delete’); } ?>
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
Установка
- Upload editable-comments directory to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Copy/paste the required code
- That’s it !
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«Editable Comments» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Editable Comments» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
0.3.3
- using WordPress’ jQuery dialog file
0.3.2
- czech et spanish languages
0.3.1
- bugfix with comment date
0.3
- adding of delete capacity
- adding of the required codes in the administration page
- bugfix with default permalink
0.2.3
- bugfix with localization
- german and italian languages
0.2.2
- bugfix (opera browser)
0.2.1
- bugfix (backend)
0.2
- bugfix (msie7.0)
- localization
0.1
- first release