initialze the data from wordpress api