/* Plugin Name: Auto-Hide Posts Version: 1.0 Plugin URI: http://wiki.wordpress.org/Auto%20shutoff%20comments Description: Auto-close Posts after a cutoff date. This is a modification of the Auto-Close Comments plugin by Scott Hanson. Author: David Ky and whoo Author URI: http://scrabbledabble.com/blog/ */ function autoclose_posts() { global $wpdb; // Set $age_cutoff to the age at which a post should become stale $age_cutoff = '3000 DAY'; $cutoff_date = $wpdb->get_var ("SELECT DATE_ADD(DATE_SUB(CURDATE(), INTERVAL $age_cutoff), INTERVAL 1 DAY)"); // Set post_status to your liking $close_type = 'private'; $wpdb->query ("UPDATE $wpdb->posts SET post_status = '$close_type' WHERE post_date < '$cutoff_date' AND post_status = 'publish' AND post_type = 'post'"); } add_action('publish_post', 'autoclose_posts', 7); add_action('edit_post', 'autoclose_posts', 7); add_action('delete_post', 'autoclose_posts', 7); add_action('comment_post', 'autoclose_posts', 7); add_action('trackback_post', 'autoclose_posts', 7); add_action('pingback_post', 'autoclose_posts', 7); add_action('edit_comment', 'autoclose_posts', 7); add_action('delete_comment', 'autoclose_posts', 7); add_action('template_save', 'autoclose_posts', 7); ?> Full Time Jobs from BlogStorm Jobs

Full Time Jobs

Date Posted Job Title Job Type Location
January 22nd Junior Web Developer Full Time, Programming Leeds
December 14th Natural Search Specialist Full Time, SEO Leeds
December 14th Junior SEO Specialist Full Time, SEO Leeds
December 14th Creative Digital Designer Full Time, Web Design Leeds
December 10th PLANNER / SENIOR PLANNER – INTEGRATED AGENCY - POOLE Full Time, Marketing Poole, Dorset
December 10th SEO Account Director Full Time, SEO Surrey
December 10th SEO Executive Full Time, SEO Surrey
December 10th SEO Specialist Full Time, SEO Yorkshire
December 10th BUSINESS DEVELOPMENT PERSON Full Time, Marketing Gloucester, Gloucestershire
December 10th Account Manager Full Time, SEO Manchester