Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package fuckinround
- */
- ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
- <script type="text/javascript">
- jQuery(document).ready(function($){
- $('article > a').each(function(){
- if($(this).children('img').length == 0){
- $(this).append('<img src="http://library.binus.ac.id/images/noImageAvailable.jpg" alt="no image" />');
- }
- });
- });
- </script>
- </article><!-- #post-## -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement