I have a post type called lesson that contains various topics. A topic has its own route and when a topic template is loaded it sets the post to be the given topic post. The thing is, I want to display each topic on the lesson template page. That means after I am done displaying topics I need the state reset back to lesson so that I can resume after displaying the topics and have the lesson data again. I…