updating all queries and removing unnecessary quotes
removing function for getting the IP address; better use ip_address()
prefixing all helper functions with underscore
removing duplicate function for getting the image styles on the site