[wp-hackers] public facing plugin script?
Aaron Brazell
abrazell at b5media.com
Tue May 22 06:31:31 GMT 2007
Perhaps creating a page template that does not have the Loop. Create
the page in WP with no content or even Lorem Ipsum type stuff - it
doesn't matter if you don't invoke the Loop. Use PHP/plugin functions
as normal.
Custom WordPress pages, on the rocks, shaken not stirred.
http://codex.wordpress.org/Pages#Page_Templates
--
Aaron Brazell
Director of Technology, b5media
"A Global New Media Company"
www:: www.b5media.com
my www: www.technosailor.com
phone:: 410-608-6620
fax:: 416-849-0347
skype:: technosailor
Everything contained in this email is confidential and stuff.
On May 22, 2007, at 2:07 AM, Keith Thornhill wrote:
> What is the best way to accomplish running plugin code in a public-
> facing
> way while still living within the theme and wordpress? In other
> words, i
> don't want to point the browser directly to /wp-content/plugins/
> somefile.php
> since i want the output to appear within the content part of the blog.
>
> My current solution is to create a WP 'page' with a hook as the
> content.
> ("[replace_me]" for example) and then filter out that page with my
> output
> buffered content for the file i want to show. This feels REALLY
> hacky and i
> was wondering if there was a more elegant "wordpress way" to do this.
> Everything else i've done has either been admin stuff or widgets.
More information about the wp-hackers
mailing list