Wordpress include custom page
Posted
by
Josef
on Stack Overflow
See other posts from Stack Overflow
or by Josef
Published on 2011-01-09T10:28:33Z
Indexed on
2011/01/12
6:53 UTC
Read the original article
Hit count: 291
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
© Stack Overflow or respective owner