[wp-hackers] Sidebar/Widget conditionnal tag?
Demetris Kikizas
kikizas at gmail.com
Tue Jan 4 20:49:26 UTC 2011
On Tue, Jan 4, 2011 at 20:49, Olivier <autremonde75 at gmail.com> wrote:
> @Cornelius : good idea, it could probably make it.
>
> @Demetris : I have retested, same result, doesn't work. I think the
> posts_where filter is fired outside of the loop, just before it indeed
> (while for sure the_title is into it).
You are right, it does not work for posts_where.
I came back to suggest hooking onto get_sidebar, just to realize that
Gregory had already suggested the same thing. My mind is elsewhere.
:-D
Cheers!
Demetris
More information about the wp-hackers
mailing list