WordPress.org

Ready to get started?Download WordPress

Forums

Using Widgets Without the Widget (3 posts)

  1. pipelineae
    Member
    Posted 6 years ago #

    Lots of Ws in the title, I know.

    My question is this:

    If I have a plugin that creates and uses a widget, is it possible to tap into the functionality of that widget without putting the widget in my sidebar, and if so, how?

    I know a decent amount of php, mostly self taught, but over the past few weeks I've been messing around with my wordpress mu source a lot, and this came up.

    So yeah, if I can, how. And if I can't, will I just have to spend a lot of time modding the plugin to work without the widget?

  2. Kafkaesqui

    Posted 6 years ago #

    I have to provide a giant maybe to this question.

    It depends a whole heck of a lot on the widget, though with some proper preparation you might be able to call at least some function(s) direct from a widget, especially if it does not require any arguments.

  3. pipelineae
    Member
    Posted 6 years ago #

    Alright, thanks for the reply.

    I don't know much about widgets really, so I guess I'm left with plan B: Make my own plugin based loosely off the mod I made that uses the widget. Oh well, shouldn't take too long.

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic