Advertisement
Guest User

Untitled

a guest
Aug 18th, 2015
364
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None
  1. add_filter('tc_sticky_custom_offset', 'my_custom_offset');
  2. function my_custom_offset( $_params){
  3. $_params['options']['_static'] = false;
  4. $_params['_initial'] = 1;
  5. $_params['options']['_element'] = '#tc-page-wrap > .my-extra-widget';
  6. return $_params;
  7. }
Advertisement
RAW Paste Data Copied
Advertisement