WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am integrating a payment gateway into a distributed wordpress plugin. The notification page (page that the gateway sends info to after the payment has been made) requires only a message of "success" or "fail" to be printed. In that page, I need access to the database and some org options. Can someone please tell me how to produce such a page (i.e. no menu, no header, no footer and etc.)? The gateway in question is alipay.

share|improve this question
up vote 2 down vote accepted

See http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

Just don't include get_header(), get_siderbar(), get_footer().

share|improve this answer
Thanks zeo. I will give that a try. – user4177 Mar 24 '11 at 21:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.