{"id":25435683,"url":"https://github.com/umdevelopera/um-optimize","last_synced_at":"2025-10-27T00:11:15.505Z","repository":{"id":208125560,"uuid":"720873309","full_name":"umdevelopera/um-optimize","owner":"umdevelopera","description":"Customize Ultimate Member colors. Improves the performance of sites with Ultimate Member.","archived":false,"fork":false,"pushed_at":"2025-01-26T10:20:51.000Z","size":97,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T07:35:15.839Z","etag":null,"topics":["color","optimizing","ultimate-member","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umdevelopera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-19T21:10:31.000Z","updated_at":"2025-01-22T19:34:09.000Z","dependencies_parsed_at":"2023-11-19T22:20:10.078Z","dependency_job_id":"b2d18570-3ef6-4015-9a0e-18d5ddf93305","html_url":"https://github.com/umdevelopera/um-optimize","commit_stats":null,"previous_names":["umdevelopera/um-optimize"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umdevelopera%2Fum-optimize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umdevelopera%2Fum-optimize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umdevelopera%2Fum-optimize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umdevelopera%2Fum-optimize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umdevelopera","download_url":"https://codeload.github.com/umdevelopera/um-optimize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254041,"owners_count":22039792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color","optimizing","ultimate-member","wordpress"],"created_at":"2025-02-17T07:30:53.268Z","updated_at":"2025-10-27T00:11:15.500Z","avatar_url":"https://github.com/umdevelopera.png","language":"PHP","readme":"# Ultimate Member - Optimize and Color\n\nImproves the performance of sites with Ultimate Member. Customize Ultimate Member colors.\n\n## Key Features\n\n- Removes CSS and JS files that belongs to Ultimate Member and its extensions on pages that do not have Ultimate Member components.\n- Combines CSS and JS files that belongs to Ultimate Member and its extensions.\n- Allows using Profile Photo and Cover Photo images from the browser cache.\n- Optimizes SQL queries to get posts and users faster.\n- Adds settings to customize Ultimate Member colors.\n\n## Installation\n\n**Note:** This plugin requires the [Ultimate Member](https://wordpress.org/plugins/ultimate-member/) plugin to be installed first.\n\n### How to install from GitHub\n\nOpen git bash, navigate to the **plugins** folder and execute this command:\n\n`git clone --branch=main git@github.com:umdevelopera/um-optimize.git um-optimize`\n\nOnce the plugin is cloned, enter your site admin dashboard and go to _wp-admin \u003e Plugins \u003e Installed Plugins_. Find the \"Ultimate Member - Optimize and Color\" plugin and click the \"Activate\" link.\n\n### How to install from ZIP archive\n\nYou can install the plugin from this [ZIP file](https://drive.google.com/file/d/1_447i9fz8J7dtx8rKdskLGb6MhJYoMme/view) as any other plugin. Follow [this instruction](https://wordpress.org/support/article/managing-plugins/#upload-via-wordpress-admin).\n\n## How to use\n\n### How to customize Ultimate Member colors\n\nGo to _wp-admin \u003e Ultimate Member \u003e Settings \u003e Appearance \u003e Colors_ and turn on the **Enable custom colors** setting then use settings below to customize Ultimate Member colors.\n\nThe **Colors** tab also contains tools that may be helpful:\n\n- **Reset colors** - Restore the default color set, close to Ultimate Member's own colors. Current colors will be overridden.\n- **Export colors** - Save current color set to the _json_ file.\n- **Import colors** - Load color set from the _json_ file. Current colors will be overridden.\n\n![UM Settings, Appearance, Color v1 3 0](https://github.com/user-attachments/assets/4333ac79-e02f-48b3-91b2-4be7bcf79e15)\n\n#### Common\n\n- **Active element**\n- **Active element text**\n- **Background**\n- **Light line**\n- **Line**\n- **Light text**\n- **Text**\n\n#### Links and buttons\n\n- **Link**\n- **Link hover**\n- **Primary button**\n- **Primary button hover**\n- **Primary button text**\n- **Secondary button**\n- **Secondary button hover**\n- **Secondary button text**\n\n#### Fields and filters\n\n- **Active element**\n- **Background**\n- **Background for item**\n- **Border**\n- **Placeholder**\n- **Text**\n- **Label**\n\n#### Profile menu\n\n- **Active tab**\n- **Background**\n- **Hover**\n- **Text**\n\n### How to optimize Ultimate Member to improve performance\n\nGo to _wp-admin \u003e Ultimate Member \u003e Settings \u003e General \u003e Optimize_ to manage settings.\n\n![UM Settings, General, Optimize (v1 2 0)](https://github.com/user-attachments/assets/4eb8dae7-ae59-49c6-8f8a-b3f0111ef601)\n\n#### CSS and JS\n\nUltimate Member loads various styles and scripts that are necessary for its components to work.\nExtensions can also load their own styles and scripts. Loading many styles and scripts can slow down page rendering.\nIt is recommended to disable loading of Ultimate Member styles and scripts on pages that do not have its components.\n\nLoading one large style or script file has less impact on page rendering delay than loading multiple files.\nIt is recommended to combine multiple Ultimate Member styles and scripts into one style file and one script file.\n\n- **Dequeue unused styles** - Dequeue CSS files on pages that do not have Ultimate Member components.\n- **Dequeue unused scripts** - Dequeue JS files on pages that do not have Ultimate Member components.\n- **Combine styles** - Combine CSS files queued by the Ultimate Member plugin and its extensions.\n- **Combine scripts** - Combine JS files queued by the Ultimate Member plugin and its extensions.\n\n#### Images\n\nUltimate Member does not allow using Cover Photo and Profile Photo images from the browser cache.\nThis approach is safe and secure, but it slows down rendering the member directory and pages with Ultimate Member components.\nIt is recommended to allow using images from the browser cache.\n\nUltimate Member uses the largest Cover Photo thumbnail in the member directory on the desktop.\nHowever, the directory does not need large images.\nIt is recommended to use Cover Photo thumbnail that is about 500 pixels wide to load images faster.\n\n- **Profile Photo caching** - Allow using Profile Photo images from the browser cache.\n- **Cover Photo caching** - Allow using Cover Photo images from the browser cache.\n- **Cover Photo size in directory** - Select the size of the Cover Photo thumbnail for the member directory.\n\n#### SQL queries\n\nUltimate Member uses the standard WP_Query and WP_User_Query classes to build database queries.\nQueries created this way are reliable and stable, but are not optimized for speed.\nThis slows down retrieving users in the member directory and posts in extensions that use custom post type.\nIt is recommended to enable SQL queries optimization to get posts and members faster.\n\n- **Speed up member directories** - *(optional)* Optimize the SQL query that retrieves users for the member directory.\n- **Speed up Activity** - *(optional)* Optimize the SQL query that retrieves posts for the [Social Activity](https://ultimatemember.com/extensions/social-activity/) extension.\n- **Speed up Groups** - *(optional)* Optimize the SQL query that retrieves posts for the [Groups](https://ultimatemember.com/extensions/groups/) extension.\n- **Speed up Notes** - *(optional)* Optimize the SQL query that retrieves notes for the [User Notes](https://ultimatemember.com/extensions/user-notes/) extension.\n- **Speed up Photos** - *(optional)* Optimize the SQL query that retrieves albums for the [User Photos](https://ultimatemember.com/extensions/user-photos/) extension.\n- **Speed up Reviews** - *(optional)* Optimize the SQL query that retrieves reviews for the [User Reviews](https://ultimatemember.com/extensions/user-reviews/) extension.\n\n## Support\n\nThis is a free extension created for the community. The Ultimate Member team does not provide support for this extension.\nOpen new [issue](https://github.com/umdevelopera/um-optimize/issues) if you are facing a problem or have a suggestion.\n\n**Give a star if you think this extension is useful. Thanks.**\n\n## Useful links\n\n[Ultimate Member core plugin info and download](https://wordpress.org/plugins/ultimate-member)\n\n[Documentation for Ultimate Member](https://docs.ultimatemember.com)\n\n[Official extensions for Ultimate Member](https://ultimatemember.com/extensions/)\n\n[Free extensions for Ultimate Member](https://docs.google.com/document/d/1wp5oLOyuh5OUtI9ogcPy8NL428rZ8PVTu_0R-BuKKp8/edit?usp=sharing)\n\n[Code snippets for Ultimate Member](https://docs.google.com/document/d/1_bikh4JYlSjjQa0bX1HDGznpLtI0ur_Ma3XQfld2CKk/edit?usp=sharing)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumdevelopera%2Fum-optimize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumdevelopera%2Fum-optimize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumdevelopera%2Fum-optimize/lists"}