WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] Feature Request: Load CSS Only on Login Page (3 posts)

  1. Dominic
    Member
    Posted 2 years ago #

    First off, thanks for a very useful plugin. My one concern is that the CSS for the plugin is loaded on every page of my site. Is there anyway it can be made to only load when it is needed (i.e. on the login page)? Thanks.

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 2 years ago #

    This is because the plugin doesn't know when you're using the widget, therefore it is always loaded. You can uncheck the option to load it automatically, and use a conditional statement to only load it on the Login page.

  3. Dominic
    Member
    Posted 2 years ago #

    Thanks for the very helpful explanation. I can't believe I didn't see that option to begin with. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic