Forums

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

  1. dominicp
    Member
    Posted 6 months 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
    Posted 6 months 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. dominicp
    Member
    Posted 6 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic