Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can a widget's ad unit code be placed in the header bar of a widget's settings in the dashboard? #33

Open
benlk opened this issue Sep 27, 2016 · 1 comment
Milestone

Comments

@benlk
Copy link
Collaborator

benlk commented Sep 27, 2016

Here's an example with a default text widget:

screen shot 2016-09-27 at 3 29 04 pm

Having the ad code here would make finding ad widgets in the admin much faster by saving admins one click per widget as they're searching through the widgets.

@benlk benlk changed the title Can the ad unit code be placed in the header of the widget settings in the dashboard Can the ad unit code be placed in the header of the widget settings in the dashboard? Mar 13, 2017
@benlk
Copy link
Collaborator Author

benlk commented Oct 18, 2018

tl;dr: not easily in PHP

There's no filter on the widget name shown in this admin; it would draw from the widget title setting if the widget had a title.

We could do something with Javascript.

@benlk benlk added this to the 0.4 milestone Nov 2, 2018
@benlk benlk changed the title Can the ad unit code be placed in the header of the widget settings in the dashboard? Can a widget's ad unit code be placed in the header bar of a widget's settings in the dashboard? Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant