/* 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); ?> Technical Architect - Server side Developer - LAMP - Jobs from BlogStorm Jobs

Technical Architect - Server side Developer - LAMP

Posted : September 4th, 2008
  • Company Name : Distilled
  • Location : London
  • Salary : 30 - 38k d.o.e
Contact InformationJob Description

Web developer - PHP / MySQL / Cake Framework / AJAX

We have an exciting role for someone who wants to make a real difference. Working in a team of 4 (as part of a bigger company) you will have responsibility for coding the front end of a new site. You will already live and breathe PHP and MySQL and will have experience with one of the frameworks (preferably CakePHP). You will be happy writing (nicely degrading) ajax, and will be happy writing html / css. You will be working closely with the rest of the team to ensure that the site can scale, both in terms of the amount of data being processed and the number of users accessing the site.

You will be joining an established company as part of a new team working specifically on this one project. The company is small, but has a big reputation. You will be given dual screens, a choice of operating system and coffee on tap.

The right candidate will be happy fitting in with part of a bigger team, but equally happy making decisions for themselves. You will be joining the project right at the beginning and will have a fantastic opportunity to shape the direction it goes. If, like us, you never want to stop learning then this is the role for you. We are a growing business in an exciting industry.