WordPress.org

Support

Support » Plugins and Hacks » Request: load styles before theme css

Request: load styles before theme css

  • It would really be great if the css file for this plugin could be loaded using the register_styles, enqueue_styles, enqueue_scripts concept, so that it loads before the stylesheet of the theme. Or, in my case, child theme. That way I could change the styles without having to add stuff to ensure precedence.

    http://wordpress.org/plugins/author-avatars/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Bearne
    Participant

    @pbearne

    yes it should let check and sort

    It may have pre-date this in core and didn’t get updated

    Plugin Author Paul Bearne
    Participant

    @pbearne

    Hi

    This was now it is done (the code wasn’t as old as I feared)

    I did make one change to change when I loaded the css I moved it from int to wp_enqueue_scripts ln 20 in AuthorAvatarsShortcode.class.php

    I haven’t push this code to wordpress.org yet so if you want it git from https://github.com/pbearne/wp-author-avatars it will go with the next patch

    I hope this helps

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request: load styles before theme css’ is closed to new replies.