/ Published in: PHP
                    
                                        
To be placed inside a loop or a query
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php $mylimit=31 * 86400; $post_age = date('U') - get_post_time('U'); if ($post_age < $mylimit) { ?><img class="new" src="<?php bloginfo('template_url'); ?>/images/new.png" alt="" border="0" /><?php } ?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                