Working on Blueberry 2.0
I have been working on Blueberry 2.0 today. So far I have only checked a few things off my to do list however. The CSS has been completely rewritten, I find it much easier to navigate. The theme now changes color by changing the class on the body tag, so no extra style tag in the head now. As I write this post I will be testing out the shortcode for alternating themes on certain pages.
If the shortcode is working, this page will be using the raspberry theme.
Update: I forgot that shortcodes get processed when the_post() is called, which is well after the body tag’s class has already been set. I have a theme template tag that will change the theme on page templates, blueberry_alt_theme($theme). For example, my email spam protection generator page will always be the raspberry theme, regardless of what the rest of the site is.
Update 2: I do not think that there is a way that a shortcode can be used to change the theme based on when the theme action hook is called and the shortcodes action hook is called. At least there is a template tag for use on a page template.
Update 3: (10/27/08 6:17pm) At this point the front end of the theme is pretty much done. There are some archive page updates I am going to make to the CSS. The toolbox is operational. The toolbox is new to the Blueberry theme. At the moment is has for links, Add Post, Add Pages, Quick Edit, and Edit this. Everything is pretty self explanatory, perhaps except Quick Edit. This is not to be confused with the Quick Edit link in the WP Admin. This quick edit creates an overlayed “thick box” that you can make and save edits to posts or pages. I am currently using this feature right now to append this to this page. Sometime during the week I should be adding the custom theme creator and an Alert management feature. I will also be implementing a “remember me” (most likely tonight). Remember me will set a cookie when you log in, so that if you have logged into the site before, it will prompt you to log in. This feature will be able to be disabled in the admin if its not wanted. Thats all for now.
Stumble Upon
Del.icio.us
Buzz
