Towards the end of the Bubble Blitz developement I started work on my first Wordpress theme. The making of it kind of stopped and started for quite a while since there were things I wanted to do that I couldn't.

The idea behind the theme was to create a very simple to customise theme for the novice blogger. One of the problems with Kubrick is that it's the default theme for Wordpress but it is not straight forward to edit; therefore many sites use the default layout and don't change anything. I wanted something that looked equally nice but could be changed easily so that there aren't hundreds of sites out there using a single theme that look identical. Obviously I don't expect there to be hundreds of sites using Regulus since it's never going to be the default theme, but I figured I would make things easy to change anyway.
Regulus Admin panel
The main new feature that isn't hugely common (and the reason it took a while to complete) is an admin panel built into the Wordpress admin system that let's you edit the layout of the site without actually changing any code. To do this I used the wonderful Wordpress Theme Toolkit, developed by Ozh, from Planet Ozh.
The admin panel let's you edit the content of the sidebar so that you can show and hide the things you want to see. You also have the option to change the header graphic, and edit the colour scheme of the site. These edits are hard coded into the site but if (when?) I create another theme I think I will attempt to make it even easier to change things so you can use any colour scheme or graphics that you chose. Obviously more advanced users can change the colours themselves, but they're not who this theme is aimed at (they're welcome to use it if they want though
).
Regulus Plugins
I also built in support for a number of plugins developed by other Wordpress developers. These plugins have been included in the core theme code so that no additional downloads are required. The plugins I used were:
- Wordpress Admin Bar 2 - by Matt Read (his website appears to be down at the moment but I'll leave this in case it comes back online)
- the_excerpt Reloaded - by Kaf Oseo
- Author Highlight - by Jonathan Leighton
These are all plugins I use here, on Binary Moon, and I really like them so figured I should include them as standard. I changed the plugin names so that if you already have any of them installed there should be no clashes.
How do you get it...?
The good stuff
Known Problems
The only bug I'm aware of is that in Internet Explorer (damn you IE) the label 'message' is listed twice when it should only appear once (it's only in the code once...). If anyone has any idea why this happens I'd love to hear from you.
Anything else?
Since this is my first Wordpress theme I'm pretty confident that there are things I have forgotten, or not done, so I will no doubt release a few updates in the next week or two. Let me know if there are any problems and I will do my best to fix them.
156 Responses to “Regulus – New Wordpress Theme released”
Good job Ben! Nice colour scheme and I like the use of the admin panel. I'm not fond of the building in of the plugins but apart from that, well done!
Thanks for the comments Phu
I included the plugins because I wanted it to be as easy as possible to use for everyone. It saves people from having to download, then upload, and then enable, the plugins themselves.
Updated the download to fix a couple of issues with margins in lists, and the comments (which are made with a list)
Ben, thank you very much. I'll use this for my other blog. Again, well done
Ben,
I test your Regulus theme on my WP 1.6 Alpha blog and break it.
I think is something on the Theme Toolkit.
And another error when show index:
Cannot redeclare writeabout() in (...) /regulus/functions.php:61
Oskar - thanks
bicherele - I'm not supporting alpha software. Once WP 1.6 is released I will look into it but until then I don't care. The writeabout() command is slightly more worrying but I suspect that's a 1.6 error as well. Thanks for trying it though - it is appreciated (despite how it might sound).
Nice theme indeed.
I only edited the sidebar.php to allow for a larger listing of monthly archives.
Miladus - thanks for the compliment. The reason I limited the archives was that I figured (and this is an assumption) that people who visit sites rarely use the monthly archive to find things. I don't have a clue when something was posted unless it was within the last few weeks. Categories and search are far more important so those are listed clearly. Maybe I should add an option in the admin panel that lets you either limit the list as I have it or display everything as you've done.
Amazing skin. Thumbs up!
Ivan - thanks a lot - makes me feel good to hear things like that
Everyone - I have made some more changes to the theme and updated it. To get the latest version just download it again from the same location. Changes include a randomized link list, an adjusted category listing (sub categories are displayed as such) and the ability to choose how the monthly archives are laid out.
Very nice theme! A couple of silly questions: do you plan to create a three-column theme out of it? If not (sorry for asking that!
), how can I "enlarge" the theme in order to minimize margins?
Mario - I've got no plans to make a 3 column version of it at this time. As for an enlarged version... you mean a version that scales with the browser window? That could be interesting, not sure how hard it would be. I'll look into it - the only problem I can see would be the header graphics not scaling/ fitting, I'd need to come up with an elegant solution to that I think.
Ben: Adding an option in the Admin Panel is an excellent idea, especially for blogs where the archives tend to be more important or at least attract more readers.
Another issues is what happens if you have a large number of Pages on a blog?
Hi there!
I just downloaded your theme and installed it!
It's beautiful!
I love how clean and sharp it is.
I have a question though?
What happens to the sub-pages? (parented pages)
Anything I put another another page I can't find. Or for some reason is just not showing up for me.
Can you help me out?
I'm running it on a test blog for now... but could you pop over to see what I mean... or you probably don't even need to look at it...
Thanks for the help in advance!
oops! LOL
My test blog is at:
http://www.littleovulation.net
Sorry about that.
*geez*
Is there a way to show "Last xx comments" like "Recent posts" ?
Miladus - I've added the toption to the admin panel now so you can do whatever you like
The lots of pages problem is something people will have to work around themselves. The way I have it at the moment is the same way k2 works so I don't think it's that bad.
La Bella - thank you very much
- Because of your comments I have just spent the last hour adding a sub pages menu to the left hand sidebar. If there are sub pages on the current page they will be listed there. Just download and reupload from the link above. To save editing all of your css again, look for the #sidebar #subpages in the style.css and switch.css files. You'll need to update the sidebar.php and the header.php files as well. Just redownload from the normal link.
Dener - I've never used any last comments plugins. I will think about adding it but I wouldn't have thought it was too difficult to do yourself either
oohhhh Ben, you RAWCK man!

I love it!
I love how they are listed on the side bar.
LOVE it!
*whoohoo* I'm so happy.
Really, thanks so much. A lady appreciates it.
Hey Ben! I'm back. LOL [again]
Ok... Now I'm with Dener here.
How can we add any other plugin to display on the sidebar? I'm getting confused as to what the default/basic code is to use.
I've tried infinte times already to add the recent commens plugin I have and no luck.
Would there be anway you can kind of guide me here as to what type of code I am to follow to make it display?
I hope you can help, if not, I understand.

A lot of work trying to fix other peoples' problems!
Btw, I have it running now on my main blog.
http://www.la-bella.net
Love it!
Ben, I really appreciate the work you have done. This is the first time I see the theme toolkit in action.
Two minor flaws that I've discovered:
The em-format is not visible in posts.
The footer doesn't show in the Safari browser.
La Bella - loving the pink theme - it looks great.
I would have thought adding the recent comments plugin was pretty easy. I know others have added it with success. If you give me a link to the plugin I'll take a look.
J - thanks
I always forget about the em's and strongs, I set the font globally at the top of every css file and it overwrites things. If I remember correctly all you need to do is add
#content em { font-style:italic; }to the style.css file. I may have got something wrong there though - I'm at work so can't test it.
I don't have a mac to test things with either I'm afraid. I'll have to hope someone else can work that one out for me
Many Thanks.
Superb job on this - I've installed over at http://www.mattrutherford.com and am starting to tidy up...I'll also need to get my flickr badge working again - but seriously - its a brilliant theme.
A couple of questions:
1. How do I use 'boxes' - they look excellent, but can't work out how to post into one...
2. Is there a way to 'omit' a page from the navbar -I sometimes work in draft there and don't show them off.
Matt - I'm not sure what you mean by 'boxes' could you explain more?
Also the ommiting pages from the nav bar, it's a good idea but I haven't got a clue how to do something like that. I will see if it's possible but can't promise anything.
Ben - in the regulus live preview (http://beta.binarymoon.co.uk/) - under the section titled 'Your CSS Here - H3 Heading'.
there are boxes...which are uber-cool! Are they part of the regulus implementation?
I'm also having trouble getting my pictures to look as they did before...but I know I'll get there, I'm learning every minute!
That box has nothing to do with Regulus. It's actually part of some sample code used to make sure themes have all the neccessary styles included.
The box with the dashed border is a div element with the styles built in. The code is...
<div style="border: 2px dashed blue; margin: 5px; padding: 8px; float: right; width: 30%; font-size: 85%;">The stuff you want to have in a box
</div>
Howdy everyone. Another new version is online. I've now added support for the very cool recent comments plugin from Krischan Jodies.
I've also changed the protected posts page so that you can't post comments without entering a password (doh - stupid mistake there).
awwwwww man!
Ok... LOL So... for the protected page post update, which file am I looking to update here.
I'd hate to lose all my css settings. :-S
And thanks alot for updating the theme to show recent comments.
You need to change comments.php - I only added line 7 so you shouldn't need to change anything else.
Awesome!

Thanks again... btw, I set my recent comments already.
I think it looks great. Simple is always better.
You know I can honestly say that you are the most "approachable" theme author I've come across. You have gone out of your way to help everyone out.
You don't get that very often. I gotta be honest and say I only ask for help when I need it. Not cause I am lazy and want someone to do it for me. I am glad you understand that.
Blessings*
gorgeous
if I hadn't been spending the last three days working on my own I'd take it in an instant
A very good theme! Excellent! Congratulations!!!!!!!
La Bella - I live to please
I'm sure I'll stop being helpful soon enough. You should make the most of it while you can!
Jesse & Matteo - thanks
I'm off on holiday for the weekend so will moderate all the new comments and reply to things when I get back on Monday. Have a good weekend everyone.
Nice theme but few things needs to be fixed.
1. Paragraph align in id content should be justify to make the text look good
2. The archive tab should be selected when you view any post. (Currently it selects home tab)
3. The theme should have archive page included (I tried to add myself with the super archive code but for some reason it did not work for me)
4. It would have been better if you would have made seperate file for post template i.e. single.php this helps when a user wants to place ads just below the post title...i.e. if the post is single
But in current theme you are using same title for both single and list, so user have to give php condition to place the ad there
5. It would have been cool if you would have different options in sidebar for home page and inside pages. i.e. display few things on home page and few in inside page.
I have modified the theme a lot to get it working according to my needs, you can check it here http://www.whoisdeep.com
It would have made my / anyone's job much easier if you had above things already present in your code
Btw let me know if you need the files I have modified..so it can save lot of your time to sit and write the stuff...
Regards,
Deep
I see wordpress release 2.0 beta already would working on that soon? Thanks
I like it. But just one niggle - with other themes I had my blogroll links seperated into catagories, and now they're all jumbled up. Is a way to catagorise them in Regulus?
There no compatible with the Wordpress 2.0 beta¿??¡
Thanks for the kind words everyone.
Regarding wordpress 2.0 - I wasn't even aware it existed. I won't be supporting it anytime soon since I don't use it. I'm sure if you're that far ahead of the game you are knowledgeable enough to fix it yourself anyway
Val - There's no way to sort blog roll links by category, I'll look into it though.
Deep - Thanks for the feedback. I'll answer them in order
1 - Justifying text is a matter of opinion. I don't like it so won't do it. It's an easy change to do yourself though.
2 & 3 - that's beyond the scope of a theme I think. You should make the archive things work yourself - especially since I wouldn't have used the archive system you're using.
4 - I hadn't considered that. I don't blog to make money. However I think the people who use adverts are generally clever enough to be able to add these things themselves (as you have done). I will consider this though as I can see other people thinking it might be useful.
5 - That's an interesting idea. I'm not sure how it would work though. I will certainly think about it.
As I said in my post this theme was designed to be easy for people with no technical knowledge to use and abuse. People like yourself who are obviously capable of changing these things wouldn't need something like the control panel since you can do it yourself. I appreciate the feedback though.
Ok - just seen the wordpress 2.0 beta. I will install it at home later but I suspect the problems will all be down to the theme system I'm using. I believe the new version of wordpress has it's own control panel system so I will simply switch from the system I'm using to the new one. There's no point doing this until something more official is announced though.
Thanks, Ben - I'll see if I can hack something for my blogroll problem. If it works, I'll send you the code.
Hi Ben - slightly OT question: how did you come up with the name 'Regulus'?
Val - I'm guessing you know what Regulus is (I saw the magazine you edit on your about page), and yes, it's the reason there is a star based header graphic.
I actually chose Regulus because of one of my more popular posts on this blog, which is all about Harry Potter.
I think any future themes I release will have star based names as well.
I've just had a quick look at the what you would need to change to get the link list working. The easiest thing would be to change
<h2><?php _e('Categories'); ?><ul>
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 0, 1, 1, 1, 0,'','','','',''); ?>
</ul>
to
<ul><?php get_links_list('id'); ?>
</ul>
in sidebar.php
So you won't be supporting Wordpress 2.0? I upgraded to it and really like this theme.
Thanks Ben! I'd have got that bit of code myself eventually, but I'm a PHP beginner and I'm terrifically busy this month.
Keep doing with the star names - did you know that Regulus was one of the four "Royal Stars" of the Babylonians and thought by them to have great importance in predicting the fate of kings and states??
Carl - Currently wordpress 2.0 is out of the question but obviously I want it to work for as many people as possible so I will be looking into it. I have now tested it in the wordpress beta and can see what the problem is... I just haven't worked out how to fix it
Val - I must admit I didn't know that much about the Regulus system. I guess the next themes will have to be named after the other Royal stars. I was going to go for Sirius next (Regulus brother in Harry Potter) - and am guessing that's one of the others?
No, the others are Aldebaran, Fomalhaut (sp?) and Antares. But, hey, this is your project - choose what names you want!
And the code works fine.
Ben, the only problem with the Wordpress 2.0 it's functions.php, if you put the functions.php content into the themetoolkit.php, the problem solve.
Sorry, with my english.
spyn_et - that sounds good. I'd worked out it was loading the functions twice but didn't even consider something like that. Far too straight forward for me
And your English is fine. I know not everyone speaks it as a first language.
Val - Ah, oh well. I'll still go with Sirius next but will use the nicer of the others in the future
- glad the code worked for you.
I just rolled this into WP.com but had to make a few changes:
* Search form has wrong target
* Template toolkit incompatible with WP 2.0 and the new functions.php system
* No screenshot.jpg
* Comments don't detect logged in users
* Header include invalid in 2.0
And a few other misc changes. I'd be happy to send you the code if you're interested.
So it's been fixed?