How can we improve WooThemes?

Enable WooFramework to select your child-themes alternative colors in WooOptions

WooThemes recommend to use child-themes to customize themes. Most of your themes offer to select your themes alternative color scheme in Theme Options.

You could create your own /style folder with alternative colors in the child-themes directory, however WooFramework will not recognize your custom stylesheets.

I guess it should be pretty simple to code this kind of check it into the woo_output_alt_stylesheet function in functions/admin-setup.php

This would make child-themes even more reasonable! Thanks guys!

18 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    JanJan shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    4 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Julian KingmanJulian Kingman commented  ·   ·  Flag as inappropriate

        This kind of makes sense, because I find the Theme options often compete with my child theme styles, it would be nice if they could work together, especially for the client, if they started poking around.

      • Tamara ZukTamara Zuk commented  ·   ·  Flag as inappropriate

        In includes/theme-options.php you can merge any child stylesheets into $alt_stylesheets array. Something like

        if ( is_child_theme() ) {
        $alt_stylesheet_path = get_stylesheet_directory() . '/styles/';
        if ( is_dir($alt_stylesheet_path) ) {
        if ($alt_stylesheet_dir = opendir($alt_stylesheet_path) ) {
        while ( ($alt_stylesheet_file = readdir($alt_stylesheet_dir)) !== false ) {
        if(stristr($alt_stylesheet_file, '.css') !== false) {
        $alt_stylesheets[] = $alt_stylesheet_file;
        }
        }
        }
        }
        }

      Feedback and Knowledge Base