WordPress.org

Ready to get started?Download WordPress

Forums

load widget via php? (4 posts)

  1. prologuemedia
    Member
    Posted 6 years ago #

    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

  2. prologuemedia
    Member
    Posted 6 years ago #

    Anyone? Bueller?

    -gl

  3. husar
    Member
    Posted 6 years ago #

    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.

  4. prologuemedia
    Member
    Posted 6 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags