I’m currently creating my own WordPress page with a customized css layout. How do I make the “content” that is generated via the “Add Pages” appear in a certain part of my layout or div? Which codes do I use in PHP to make the paragraph (or html codes) I type in the “Add pages” appear in that particular div?
The image below would help support my explanation:
I hope someone could help. Thanks!
If you are writing the page in PHP on the backend, use this code to get a post. If you are using the page editor, there’s a way to enable PHP in your post (it will compromise security though):