2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

I cant seem to find any function that lists widget areas in a similar way to wp_list_pages. I dont need the exact functionality but something similar.

Thanks.

2067 posts
  • Collector Level 3
  • 5 Years of Membership
  • Exclusive Author
  • United States
Landonw
says
global $wp_registered_sidebars;
2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

global $wp_registered_sidebars;

Is it an array?

381 posts
  • Weekly Top Seller
  • Elite Author
  • Most Wanted Winner
  • Author Level 10
+7 more
redfactory
says


global $wp_registered_sidebars;
Is it an array?

You could try this to find out:

<?php print_r($wp_registered_sidebars); ?>

Interesting though. Always wondered if something like that was possible :)

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

I have an idea of how to easily integrate unlimited sidebars ill update this thread if it works :)

381 posts Simple is the new black.
  • Weekly Top Seller
  • Elite Author
  • Author Level 7
  • 5 Years of Membership
+5 more
PaulWinslow
says

That’d be good of you to share you results, mate.

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

Thats odd. It outputted this:

Array ( )
2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

It outputted no length (0).

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

Oh wait it works now. Ill post back with my progress.

381 posts Simple is the new black.
  • Weekly Top Seller
  • Elite Author
  • Author Level 7
  • 5 Years of Membership
+5 more
PaulWinslow
says

You just wanna hit 1000 posts :P lol

by
by
by
by
by
by