Hi,
Copy the wp-includes/comment-template.php file and paste inside your custom theme folder (eg : \wp-content\themes\YOUR_THEME_FOLDER). Now open the file and search function get_comment_text. Inside the function you can find the following code.
return apply_filters( 'get_comment_text', $comment->comment_content, $comment, $args );
Now replace with the below code.
return apply_filters( 'get_comment_text', do_shortcode($comment->comment_content), $comment, $args );
Note : If you have comment-template.php file in your custom theme, then no need to copy from wp-includes folder. Just apply the above changes.
Thread Starter
ohhlee
(@ohhlee)
hi, thanks for your fast reply.
i am using accesspress lite theme. it only has a comments.php.
i did the steps mentioned from you above, but it doesnt work.
do u have any ideas?
i will try it with a standard theme later today. maybe this will succeed.
Hi,
Since you are using the custom theme, need to check the file. You can contact the support team at [email protected] to proceed further.