Adding memcached get_posts function