WordPress.org

Ready to get started?Download WordPress

Forums

Flexible Frontend Login
[resolved] Placement of custom CSS file in child theme folder? (4 posts)

  1. tzdk
    Member
    Posted 1 year ago #

    Looks good this plugin but I do not think it suppport placing ffl-style.css in a child theme, not yet :)

    http://codex.wordpress.org/Function_Reference/get_bloginfo

    Within child themes, both get_bloginfo('template_url') and get_template() will return the parent theme directory. Consider using get_template_directory_uri() instead (for the parent template directory) or get_stylesheet_directory_uri() (for the child template directory).

    so not a big deal to add in styling.php if suggestion make sense.

    http://wordpress.org/extend/plugins/flexible-frontend-login/

  2. palatino
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you tzdk. I didn't think of child themes. I will add a function that checks both - template and theme directory. I will let you know when that is done.

  3. palatino
    Member
    Plugin Author

    Posted 1 year ago #

    @tdzk I released a fixed version (0.97.3) which checks for custom stylesheets first in child theme directory, then in template directory. If nothing is found the plugin's default will be loaded.

  4. tzdk
    Member
    Posted 1 year ago #

    Works, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic