Many times we got requirement to add thank you message after adding comments added by users.
In this article I will show how to add custom message after getting comments from users. For this we going use the wordpress api. WordPress filters are very useful. You can find all wordpress hooks and filters in wp-includes/default-filters.php file.
Open your functions.php file from your active wordpress theme folder. copy paste the following code in that file.
</p>
<p>function add_custom_text($content) {</p>
<p> return "</p>
<div class=\"custom-text\">
<p>Hello User!</p>
<p>Thank you for your comment.</p>
<p>Wordpressapi</p>
</div>
<p>";</p>
<p>}</p>
<p>add_filter('comment_text', 'add_custom_text', 1000);</p>
<p>





Хороший пост, прочитав пару книг на тему всё таки не взглянул со стороны, а пост как-то задел.
Автор выйди к напроду, вопросы есть!
My personal favorite is actually Justin Bieber, he’s so attractive!
We are a big fan! Appreciate your offering this
“Классный пост”
їPuedo tomar obtener Foto de su sitio
[url=http://www.bad4dwn.com/]BernieR[/url]
[...] Fonte: wordpressapi [...]
Очень интересно, но все в будущем хотелось бы еще побольше узнать об этом. Очень понравилась ваша статья!
“познавательная тема”
Очень интересно! Судя по некоторым откликам ….
А будет продолжение новости? Очень было бы интересно почитать
Компания “СтройТехноИзоляция” – производство качественных материалов: Пенополиуретан.
Блоггер, дилема растолкованная вами на блоге несомненно жизненна. Я думаю что тема стоит продолжения в приватной дискуссии. Кстате, у блога непонятное с код-кой RSS.
Appreciate your sharing offering this
[...] how to add thank you message after comments wordpress Gosto desse post? então envie para seus [...]