[wp-hackers] non-themed page
Mike Schinkel
mikeschinkel at newclarity.net
Wed Sep 1 22:05:58 UTC 2010
There's also the 'template_redirect' hook which runs relatively early. You could do something like this:
add_action('template_redirect','my_iframe_page');
function my_iframe_page() {
// Generate your HTML here
exit;
}
-Mike
On Sep 1, 2010, at 5:31 PM, Duncan O'Neill wrote:
> On 9/2/2010 2:08 AM, Aaron Jorbin wrote:
>> Why not just create a page template in your theme that isn't styled at all
>> like the rest of your site and then uses get_header('nostyle') and a
>> header-nostyle.php?
>>
>>
>
> Aaron,
>
> thanks for your reply, and useful suggestion.
>
> I've created the page, but not made it a template.
> So Wordpress is still interfering -
> rather than that page loading in the iframe, it's giving
> me the site architecture, and a 404 page.
>
> I don't need WP to process this page, so I'd prefer to
> be able to by-pass WP via, say, .htaccess.
>
> But since I don't know how to do that, I'll create a template
> page, with calls as you suggest, and use that.
>
> thanks again,
>
> Duncan O'Neill
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list