How to create wordpress widget that is fixed position on the home page
You can achieve this with pure CSS. It’s a solid alternative to your question. Depending if your widget has a unique ID (like id=”widget-358″ or id=”my-video-widget”), you can set up CSS rules to make it float in a fixed position on the screen: #my-video-widget { /* required */ position: fixed; /* change to your needs … Read more