[theme-reviewers] Theme preview on wordpress.org
Fruitfulcode
fruitfulcode at gmail.com
Fri Nov 8 16:38:21 UTC 2013
Otto,
Thanks, yes I am agree with you, this code is quick fix.
> function fruitful_get_responsive_style () {
> $theme_options = fruitful_ret_options("fruitful_theme_options");
> if (isset($theme_options['responsive']) && $theme_options['responsive'] == 'on' ) {
> wp_enqueue_style('main-style', get_stylesheet_uri());
> } else {
> wp_enqueue_style('main-style', get_stylesheet_directory_uri()
> .'/fixed-style.css');
> }
> }
> add_action('wp_enqueue_scripts', 'fruitful_get_responsive_style', 20);
Please don't remove theme from directory, because problem appear only for http://wp-themes.com/fruitful/
In regular WordPress use and installation I don't know how to faced with this problem.
So what the procedure?
Upload new version to theme directory with only this changes?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20131108/33ca7156/attachment.html>
More information about the theme-reviewers
mailing list