The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WordPress Widget inside a Widget (2 posts)

  1. ngoodfellow
    Posted 3 years ago #

    This is kind of a crazy idea... I'm trying to figure out how to accomplish this functionality for a plug-in.

    I would like a widget that can encompass other widgets

    This widget would allow you to click and drag other widgets inside it on the side bar.(similar to how the widget side bars work only inserting it into another widget instead of sidebar)

    If there isn't an easy way to accomplish this then what I would probably do is have my plugin crate a new widget area and then the widget would display this widget area inside the widget when inserted.

    Kinda confusing, I know... but when I get the plugin written it will make sense.

  2. ngoodfellow
    Posted 3 years ago #


    I went ahead and had my plugin create a new 'widget area' that I can put widgets into

    I then had the new widget call this 'widget area' if needed to display those widgets inside that widgets code

    I am using this to update my plugin:

    That automatically pop-up a thick-box window when a page loads
    I am updating this code to include a widget and add settings so that the pop-up can be displayed every time, once per IP, once per IP per 24 hours ect...

Topic Closed

This topic has been closed to new replies.

About this Topic