I need help,need to pass data from page,to widget function,I need to pass author id to widget,any idea?
It should be possible to read the global $post variable in your widget function. This will contain all information about the post (or page) displayed on the current page.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago