WordPress.org

Ready to get started?Download WordPress

Forums

Author Avatars List
Request: load styles before theme css (3 posts)

  1. Leslie P
    Member
    Posted 1 year ago #

    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/

  2. Paul Bearne
    Member
    Plugin Author

    Posted 1 year ago #

    yes it should let check and sort

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

  3. Paul Bearne
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.