Show content without a post

Question

I am writing a plugin, and want to show an about page, but without a post/page record.
So if, the url https://example.com/about is entered, my ‘hardcoded’ content is shown.

A bit like the login page, there is no login post, but the login screen displays.

Which hooks would I need to use to catch the url, and then output my content without getting a 404?

0
StripyTiger 4 months 0 Answers 14 views 0

Leave an answer