How do you open a WP post inside of a panel that slides in from the right or left?
Here’s what I want to do:
Visitor lands on a page with a list of posts.
Visitor clicks on a link to a specific post.
Instead of the post opening on a different page/tab, the post would open inside of a panel that slides in from the right or left.
Visitor can close the panel by clicking on an X or Close button to continue reviewing the list of posts on the page.
I’ve seen this done on multiple websites but not sure how to do it with WP. Any help would be appreciated.