GithubHelp home page GithubHelp logo

sejas / playground-plugin-admin-notice Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 329 KB

Basic plugin example to display a notice inside WordPress admin

Home Page: https://sejas.es/playground/admin-notice

PHP 100.00%
wordpress wordpress-plugin wordpress-playground

playground-plugin-admin-notice's Introduction

Playground Plugin Admin Notice

Basic example demonstrating how to display an admin notice inside the WordPress Playground.

This repository includes the plugin source code, the plugin ZIP file, the default blueprint.json, and the blueprint-override-message.json for overriding the default message.

Screenshot

How to use

This repository is designed for using the raw GitHub URLs to load both the plugin and the blueprint into the WordPress Playground.

WordPress Playground URLs

Override notice message using site options

Blueprint for displaying a custom message

{
  "landingPage": "/wp-admin/",
  "steps": [
    {
      "step": "setSiteOptions",
      "options": {
        "playground_admin_notice": "This is a custom message."
      }
    },
    {
      "step": "installPlugin",
      "pluginZipFile": {
        "resource": "url",
        "url": "https://raw.githubusercontent.com/sejas/playground-plugin-admin-notice/main/playground-plugin-admin-notice.zip"
      }
    },
    {
      "step": "login",
      "username": "admin",
      "password": "password"
    }
  ]
}

How to contribute

Please feel welcome to open an issue or submit a pull request if you have any suggestions for improvements or modifications.

playground-plugin-admin-notice's People

Contributors

alexapeduzzi avatar sejas avatar

Watchers

 avatar

Forkers

alexapeduzzi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.