[wp-hackers] Sidebar/Widget conditionnal tag?
    Mike Schinkel 
    mikeschinkel at newclarity.net
       
    Tue Jan  4 20:56:06 UTC 2011
    
    
  
Is the issue protecting the code in your posts_where from running except for when in your widget?
-Mike
On Jan 4, 2011, at 3:49 PM, Demetris Kikizas wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
    
    
More information about the wp-hackers
mailing list