/* 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); ?> PHP/MySQL Developer - Jobs from BlogStorm Jobs

PHP/MySQL Developer

Posted : November 10th, 2008
  • Company Name : Onyxtic Technologies
  • Location : London
  • Salary : To be discussed
Contact InformationJob Description

This an ward winning gadget and book review site is looking for a PHP web developer to come on board and join a team of 2 other coders through very high end web/mobile projects. You’ll need to have rock solid O.O. PHP/MySQL, exceptional front-end skills and a well rounded knowledge of the latest web technologies. This is the perfect role for someone looking to take charge of the work and not afraid to experiment. Your opinion is highly respected and needed to change the design and implementation of various section of the site.

We are currently not looking to change the world now, but with your expert touches and effort, we just might.

So, if you want to be considered for this position, please send your CV this way.