Skip to content

Support widget param definitions in $_GET params #9

Description

@twomice

We're looking for a way to have one list widget in a WP sidebar that behaves differently on different pages, in order to avoid having to configure dozens of different widgets.

I'm thinking it would help us if we could define widget parameters in URL query parameters, eg.

The value of $_GET['civievent_event_type_id'] would then override the configured value of event_type_id in the sidebar widget.

Is this at all desirable for the project? Any Bad Idea warnings from more experienced devs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions