setting data from database in slider (home page) and social link