Add the PMPro icon next to the Memberlite admin menu & Template Settings#216
Open
RachelRVasquez wants to merge 7 commits intostrangerstudios:memberlite-7-0from
Open
Add the PMPro icon next to the Memberlite admin menu & Template Settings#216RachelRVasquez wants to merge 7 commits intostrangerstudios:memberlite-7-0from
RachelRVasquez wants to merge 7 commits intostrangerstudios:memberlite-7-0from
Conversation
…is only when the Memberlite menu items are active
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds the PMPro (Paid Memberships Pro) icon to two locations in the Memberlite theme: the admin dashboard menu and the block editor's "Template Settings" document panel. The PR also includes some minor styling updates to the customizer.
Changes:
- Added PMPro logo icon to the Memberlite admin menu item using CSS background with a data URI SVG
- Added PMPro logo icon to the "Template Settings" panel in the block editor using inline SVG in JavaScript
- Added new dashboard.css file to style the admin menu icon
- Added styling to position the icon in the editor settings panel
- Added global text-transform and background styling to the customizer
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/editor/custom-settings.js | Adds SVG icon import and inline PMPro logo to Template Settings panel |
| functions.php | Enqueues new dashboard.css file for admin styling |
| css/dashboard.css | New file containing admin menu icon styling using data URI SVG |
| css/editor.css | Adds CSS to position the icon in the editor settings panel |
| css/customizer.css | Adds global text-transform and background styling to customizer controls |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All Submissions:
Changes proposed in this Pull Request:
How to test the changes in this Pull Request:
Confirm that you can see the new logo on your dashboard. You can also change your profile's color scheme and confirm it looks good regardless of the scheme.
Edit a Page and check the settings panel on the right. You should see the new icon next to "Template Settings." Keep in mind that the other metaboxes/panels like "Custom Sidebars", "Require Membership" etc. are coming from PMPro or it's add-ons, and will therefore be tackled separately.
Note that the customizer colors are not affected by the user profile color scheme.
Other information:
Changelog entry