WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Events Manager] css

[Resolved] [Plugin: Events Manager] css

  • lotgrafix

    @lotgrafix

    hi, i just want to give you a small tip for ur plugin if u like.

    it would maybe be cool for most web developers if there were a button to disable the css of the plugin.

    reason: 100% of wp themes has already their css, plugins css just interfere with themes structure and the users that are not so advanced in html or wp, prefers to uninstall the plugin because of that (i did that a lot of times myself when i was a newbie) and if that werent the case, any changes we do to the plugins css will be undone when we update, then we have to reconfigure sheet (or delete it like i do).

    http://wordpress.org/extend/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus

    @netweblogic

    I thought about this, but the CSS we use is pretty minimal, and pretty much necessary for things to look reasonable. We don’t use much if any styling like colors etc. and leave that to the themes.

    If you still want to disable the styles, you can do it this way and add it to your functions.php file.

    function my_style_dequeue(){
     dequeue_style('events-manager');
    }
    add_filter('init','my_style_dequeue', 100);
    lotgrafix

    @lotgrafix

    thanks!!!

    lotgrafix

    @lotgrafix

    oh, btw… code didnt work in first instance, its

    function my_style_dequeue(){
    wp_dequeue_style(‘events-manager’);
    }
    add_filter(‘init’,’my_style_dequeue’,100);

    wp was missing

    Plugin Author Marcus

    @netweblogic

    yes, good point, here it is again:

    function my_style_dequeue(){
    wp_dequeue_style(‘events-manager’);
    }
    add_filter(‘init’,’my_style_dequeue’, 100);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Events Manager] css’ is closed to new replies.