[wp-hackers] Need help with gallery plugin implementation

Niels Hackius niels at hackius.de
Tue Feb 27 13:18:50 GMT 2007


Actually I tried doing the same thing for the singapore gallery
(sgal.org), but I didn't get the prettyURLs to work correctly even
though I have an own page for the gallery in place.

2007/2/27, Rob <r at robm.me.uk>:
> > How can I achieve that?
>
> In short, you can't—unless something in the core has changed in the
> last 6 months or so, which I doubt.
>
> You're pretty much limited to making your own templates; that's what I
> had to do for Now Reading (eg [1], [2]).
>
> There is a hacky way that you can do it, I guess; hook
> template_redirect for your URLs, load your template, die; it works,
> but you'll take a performance hit as it'll load all of your frontpage
> posts at the same time. I originally did this for Now Reading, but
> abandoned it for the performance reasons.
>
> [1]: http://robm.me.uk/library
> [2]: http://robm.me.uk/library/jd-salinger/the-catcher-in-the-rye
>
> --
> Rob Miller
> http://robm.me.uk/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


-- 
phone +49 (0)175 9575703
niels at hackius.de


More information about the wp-hackers mailing list