add function for pull data for the theme pages