Wordpress include custom page
- by Josef
Hi,
I'm sure this is a simple question. But how do I get Wordpress at startup to ignore trying to load a Page or Post and instead load my custom page? When in the Wordpress bootstrap process is it decided which php-page is going to load?
I will have the following url:
bt.local/wp/ads/1
And would like a php-page called ads.php to be loaded and load the ad with adid = 1.
What's the best way to solve this? (there's no Post called ads and there's no Page called Ads).
Thank you!
KR
Josef