Modified home page to fetch posts from WP DB