Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<script>
$(function(){
var text = "ここに適当な文章を入れて下さい";
$('.entry-content').each(function(){
$(this).children("p").each(function(){
if($(this).find('img').length != 1){
$(this).html($(this).html() + text);
return false;
}
});
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment