More work on wp json theme