[wp-hackers] widget positions key

Alexander Beutl xel at netgra.de
Wed Apr 9 19:52:24 GMT 2008


get_option('sidebars_widgets')
will give you something like the following:
array(1) {
     ["sidebar-1"]=> array(2)
     {
           [0]=> string(3) "bar"
           [1]=> string(3) "foo"
      }
}

best bet would be the position in the array will be the position
inside the sidebar.

cheers
Alex


2008/4/9, dubayou <dubayou at gmail.com>:
> hey, im searching for the field in the option table that holds widget
>  positions per sidebar?  any clue?
>  -w
>  _______________________________________________
>  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