Example: Replace the default text within the comment area of journal entries.
Note: This script allows you to replace the generic system text within single journal entry comments such as the: 'comment form title', 'add new comment', 'there are no comments' and the 'reader comments' text defaults to specific text of your own choice.
In Extra Header Code Injection put:
/* Replace the default "Reader Comments" text within the quotaton marks with your own text */
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script type="text/javascript">
$(function(){
$("#comments .caption").html("Reader Comments");
});
</script>
Additional changes you can make:
$("#comments .text").html("REPLACE There are no comments");
$("#add-comment-area .caption").html("REPLACE Comment form title");
$("#add-comment-area .caption-text").html("REPLACE Enter your information below to add a new comment");