[wp-hackers] Identify the sidebar from within a widget?

Christopher Ross cross at thisismyurl.com
Tue Sep 20 17:15:44 UTC 2011


Is there a way for me to know which sidebar calls a specific widget?

For example, I have a widget that needs specific attributes if called from the footer as opposed to the sidebar. So, instead of asking the user to set "sidebar" or "footer", is there a way to tell that the widget call came from one or the other?

c.


--
Christopher Ross
christopher.ross at rodonic.com

Rodonic - http://rodonic.com
My Blog - http://thisismyurl.com

Twitter - http://twitter.com/#!/thisismyurl
Facebook -  http://www.facebook.com/thisismyurlcom

(416) 900-3731
(858) 201-4912



More information about the wp-hackers mailing list