This question already has an answer here:

I wonder if I could produce a blank page (not within theme) and write something to it - I need my custom page. I know about WP Ajax, but it's not that simple, cos I wanted to be able to get some data crossdomain (with PHP and regexp) but Im not sure with that.

Simply: I want bypass the theme (and its design) and give a blank page with custom plugin output. (Would be nice to be able to use WP functions)

Is it possible, or I have to use WP Ajax? Thank you

Edit1: I want to add something like post with it's permalink (following permalink structure), but without using theme - just blank page with data created by plugin

I know about including WP into external PHP files. I dont want any external file - it should be working within plugin

marked as duplicate by TheDeadMedic, Milo, brasofilo, cybmeta, fuxia Oct 6 '15 at 7:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You basically want to use WP functions outside of the WP framework? Is that what's you're saying? – bestprogrammerintheworld Oct 4 '15 at 8:16

you can do it with a page template, or if you have to do it from a plugin add a rewrite rule to set a specific url for the "page"

Not the answer you're looking for? Browse other questions tagged or ask your own question.