Last active
August 4, 2016 20:27
-
-
Save vu2/bc5c4e15ff221b03d113422bd85d9732 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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