How do I display content of a post to a page on click, wordpress

Hi this is what I’m trying to do. I have a page, and on that page is a div with a list of posts in it and when I click one of those posts, I would like to display the content of that post, in a seperate div, on the same page. and when I click on another post, the content of the post replaces the first content and so on.
is this possible? and how would I acheive this?

Thanks in advance!

Read more here: How do I display content of a post to a page on click, wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *