Git Product home page Git Product logo

admin-notice-helper's People

Contributors

iandunn avatar widoz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

admin-notice-helper's Issues

add support for composer

This is just an idea...
I know this helper is mean to be used with wordpress and wordpress do not support composer but there are some ways to integrate it like webroot-installer
There is also a mirror of the WordPress plugin and theme directories as a Composer repository wpackagist

So I wonder if you can add support for composer and make it more easy to add this helper to my wordpress projects.

In the mean time I am using a custom package repository

        {
            "type": "package",
            "package": {
                "name": "iandunn/admin-notice-helper",
                "version": "0.2",
                "dist": {
                    "url": "https://github.com/iandunn/admin-notice-helper/archive/0.2.zip",
                    "type": "zip"
                },
                "autoload": {
                    "classmap": ["/"]
                }
            }
        }

Ad dismissable notices

Fantatsic Idea, I just included it in a plugin. What I would like to see in the future would be some sort of dismissable notices, this would make a perfect addition.

I got rid of the file include to have a drop_in class like this:

echo '<div class="anh_message '.esc_attr( $class ).'">'; foreach ( $this->notices[ $type ] as $notice ) { echo '<p>'; echo wp_kses( $notice, wp_kses_allowed_html( 'post' ) ); echo '</p>'; } echo '</div>';
Thanks again for your work.,

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.