Brian, That is a good approach, thanks for the tip.
Olaf, that is what I thought of doing but could not come up with the correct
function. That should be pretty easy to add to the header for each plugin,
thanks a bunch.
Also, what I was experimenting with and seemed to start working was to add
"script[charset|defer|language|src|type]," to the valid_elements.
I appreciate your help.
On 8/11/07, Olaf Bosch <[EMAIL PROTECTED]> wrote:
>
>
> Benjamin Sterling schrieb:
>
> > What I am trying to do is post my plugins to my blog (wordpress), but I
> > don't want to load unnecessary code for all pages. For instance, I want
> to
> > post my shuffle plugin in one post and I don't want have that code for
> all
> > post.
> >
> > Thanks in advance.
> >
>
> Write this in your header.php
>
> <?php if (is_page('6')) {
> echo "<script type=..... src=.......></script>";
> echo "<script type=..... src=.......></script>";
> } ?>
>
> 6 must be your Page-ID ;)
>
> --
> Viele Grüße, Olaf
>
> -------------------------------
> [EMAIL PROTECTED]
> http://olaf-bosch.de
> www.akitafreund.de
> -------------------------------
>
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com