WordPress.org

Support

Support » Plugins and Hacks » load widget via php?

load widget via php?

  • Is it possible to load a widget via a php call? I have templates that I want to add a widget to the sidebar and it would be ideal if I could do it in the code and not in the admin.

    -gl

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anyone? Bueller?

    -gl

    Anyone? Bueller? Anyone? Bueller?

    Sounds like a strange request. But how about not using widgets. Then you could control your sidebar from PHP if you so wished.

    Well, good point and that IS what I do right now but, I have a shopping cart widget I wanted to use and there seems to be no other way to include it.

    -gl

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘load widget via php?’ is closed to new replies.
Skip to toolbar