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

support up to 3 buttons in the admin button #167

Open
asirota opened this issue May 22, 2024 · 1 comment
Open

support up to 3 buttons in the admin button #167

asirota opened this issue May 22, 2024 · 1 comment
Assignees
Milestone

Comments

@asirota
Copy link
Member

asirota commented May 22, 2024

support 3 installation variables that allow to add buttons to the admin menu

the text should be customizable
the link should be customizable

the order of the links is dictated by the name of the install script variable (adminbar-button1name, adminbar-button1link for example goes before adminbar-button2name, adminbar-button2link)

@asirota asirota added this to the 3.0 milestone May 22, 2024
@mDisna mDisna self-assigned this May 27, 2024
@mDisna
Copy link
Contributor

mDisna commented May 27, 2024

This has been added - it will add as many links as you like, in the order entered. They will appear after the "EZ Designer" button and before the "Admin View" button.

Usage is as such:

ezAdminLink.push(["First Link", "https://example.com"]);
ezAdminLink.push(["Second Link", "https://example.com"]);
ezAdminLink.push(["Third Link", "https://example.com"]);

or

ezAdminLink.push(
  ["First Link", "https://example.com"],
  ["Second Link", "https://example.com"],
  ["Third Link", "https://example.com"],
);

mDisna added a commit that referenced this issue Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants