adds wp api call for site title to title tag