Persistent Styles Plugin

Have you ever updated your theme by replacing, or simply overwriting your old theme files? Well, when we edit themes we tend to add many custom styles that are supra-theme. Maybe there are styles for a plugin (such as my Post Information Plugin) that you want there regardless of what theme you have selected. Well, I have the fix for you.

  1. Download the plugin
  2. Activate
  3. Then your styles under Presentation » Persistent Styles.

I should warn you that the style sheet will be printed after your primary sheet. I would advise on only adding non theme dependent styles, because it will throw off your CSS inheritance.

Have fun!

29 thoughts on “Persistent Styles Plugin

  1. Enid

    i don’t quite understand what to do with this. i’ve already made modifications to Sidebar.php, the Main Index Template, Single Page, and others. how do i use this?

    Reply
  2. Chris Poteet Post author

    @Enid: This plugin is not for those pages. Here’s a scenario. Say you have a CSS style for some item in your sidebar, and you want it to remain regardless of what theme you’re using. You used to have to find those styles in the theme CSS and transport them over. Now you can “set it and forget it,” because the style sheet will be used regardless of what theme you have. Make sense?

    Reply
  3. ovizii

    I am trying to implement this plugin with wpmu. that means some changes are needed, like:

    SORRY MY CODE GOT EDITED OUT HERE, I CAN MAIL YOU THE CHANGES

    some other stuff needs to be changed, I’ll mail you the whole thing when ready, but meanwhile I need to figure out how to automatically create the persistent.css file in each users director :-) (the path I gave above)

    AND I am curious if there are security issues involved? Could the user introduce php or javascrip or anything else that could be dangerous? How does the file get parsed?

    thx

    Reply
  4. Chris Poteet Post author

    Awesome! Please do send me whatever changes you come to. About automatically creating it…I’m not quite sure. Do you allow them in WPMU to edit the CSS?

    Drop me a line on the contact form, and we can work further on it.

    Reply
  5. Pingback: Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 11/6

  6. Pingback: BlogBroker » WordPress Plugin Releases for 11/6

  7. Pingback: わーどぷれすっ! » Persistent Styles

  8. Pingback: 最新(11月)wordpress插件汇总(plugin) | 第九城市

  9. Pingback: WordPress Plugins Database » Plugin Details » Persistent Styles

  10. Pingback: Wordpress Update RSS » Blog Archive » Persistent Styles

  11. Pingback: pcal.net » Switched to Wordpress

  12. Pingback: WordPress Plugin Releases - Blog Tipper - Come here for great tips

  13. Pingback: Hook » Blog Archive » 我的插件-Classics WP-Plugin for Novice![原创]

  14. Pingback: WordPress plugins I use and how one made my blog faster | Geekality

  15. Pingback: Plugins: 2/06/2011 | Bad Bad Girl

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>