• brihanrohan

    (@brihanrohan)


    This plugin is not working for me. I have installed it into my wordpress 2.8.6 blog and pasted in the code from sample funtion.php, modifying just the theme url and the style sheet filename:

    get_bloginfo('themes/dark_splash').'/style.css';

    and adding/modifying the classes in the array.

    However, whenever I go to a post, or save a draft, or try to activate/deactivate a plugin, I get sent to an error page with the following message:

    Warning: Cannot modify header information – headers already sent by (output started at [edit:myblog url]/wp-content/themes/dark splash/functions.php:122) in [edit:my blog url]/wp-includes/pluggable.php on line 865

Viewing 2 replies - 1 through 2 (of 2 total)
  • “template_url” is not something that should be replace, it is an actual variable name. So try changing:

    get_bloginfo(‘themes/dark_splash’).’/style.css’;

    To:

    get_bloginfo(‘template_url’).’/style.css’;

    When actually executed, this will be translated into “themes/dark_splash/style.css”

    This template_url issue threw me as well. Documentation could be clearer. Got the plugin to work within the visual editor but my custom styles do not display when viewed on my blog page. I am using the default theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Class Selector]’ is closed to new replies.