{"id":18743260,"url":"https://github.com/anthonybudd/fade","last_synced_at":"2025-04-12T21:32:15.483Z","repository":{"id":130731633,"uuid":"78127837","full_name":"anthonybudd/Fade","owner":"anthonybudd","description":"A simple WordPress plugin for remotely disabling wordpress sites that does not require login details","archived":false,"fork":false,"pushed_at":"2017-02-12T22:00:46.000Z","size":2,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T15:47:59.327Z","etag":null,"topics":["php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthonybudd.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-01-05T16:08:29.000Z","updated_at":"2022-10-21T10:53:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"9279f776-f2f7-4cd7-a8f5-b9e6d770a420","html_url":"https://github.com/anthonybudd/Fade","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybudd%2FFade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybudd%2FFade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybudd%2FFade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonybudd%2FFade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonybudd","download_url":"https://codeload.github.com/anthonybudd/Fade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248635955,"owners_count":21137341,"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":["php","wordpress"],"created_at":"2024-11-07T16:10:48.456Z","updated_at":"2025-04-12T21:32:15.477Z","avatar_url":"https://github.com/anthonybudd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fade\n\nA simple WordPress plugin for remotely disabling wordpress sites that does not require login details.\nRead [this Medium post](https://medium.com/@AnthonyBudd/how-to-get-your-freelance-clients-to-pay-58b3c0d0e91e#.19tmpclug)\n\n## Setup\nEither drop the plugin folder into the mu-plugins directory or require the class and call the static method Fade::boot() anywhere in your theme's PHP files. You could also put the plugin in your plugins directory but this is not recommended.\n```php\n// functions.php\n\u003c?php\n    require 'fade.php';\n    add_action('init', ['Fade', 'boot']);\n````\nThe first time you refresh the website after adding the plugin it will generate a random key and show it on your screen, keep this key for later. You will only be shown it once.\n\nOnce enabled you can control the opacity by url by navigating to the website and adding the following GET parameters:\nfade: ‘on’ or ‘off’ - This enables or disables the fade\nopacity: decimal value between 1 and 0 — This will be the css opacity value\nkey: the key that was shown earlier.\n\n## Examples\nSet opacity to 0.95: http://example.com/?fade=on\u0026opacity=0.95\u0026key=e8P3vgHy6w\n\nSet opacity to 0.5: http://example.com/?fade=on\u0026opacity=0.5\u0026key=e8P3vgHy6w\n\nDisable the plugin: http://example.com/?fade=off\u0026key=e8P3vgHy6w\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonybudd%2Ffade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonybudd%2Ffade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonybudd%2Ffade/lists"}