Archive for ‘May, 2008’

Create settings page for Wordpress theme

datePosted on 12:51, May 31st, 2008 by MillaN

Not many Wordpress themes have additional settings page where blog admins can adjust some of the themes settings. One of the reasons for this is hard to find examples describing in details what you need to do, although documentation has some basic info about that. Also, most themes don’t need such settings page, or is too hard to implement theme design that could be flexible to change like this.
[singlepic=27,210,200,,right]

Most themes can be customized by editing php and css files, but this can be a problem for most users, who use blog as tool, and don’t know much about web design. For them it would be much more convenient to have simple page in their admin panel and selection of options to tweak.

This article will show you step by step how to create options page for your theme, how to save settings and how to use them in your theme. Mine Starscape theme will be used as a reference in some points, so you might also want to download it and check for yourself what can you do with settings page.

Just to be clear, I am not going to create nothing fancy here, I will keep the code simple, so you can see what’s going on. If you want more details you can always take a look at Starscape theme code.

Requirements:

For this to work, you need to know:

  1. How to create regular Wordpress theme
  2. How to work with PHP classes

Read the rest of this entry »

Starscape Orion 1.1.0

datePosted on 08:37, May 27th, 2008 by MillaN

[singlepic=25,300,240,,right]

After almost two weeks of work, new version of Starscape is now available with a lot of new features and a lot of changes. This blog is running on new version of theme for the last few dyas, and now is also updated to the latest, code name Orion. All future major updates of Starscape will have constellation code names.

If you were using some of the old versions, update should go without the problem, but the theme will revert to default settings, because a lot of things are different, and old options will not work.

Read the rest of this entry »

IE6 (Endless) Problems

datePosted on 08:02, May 23rd, 2008 by MillaN

I have spent few days adding new features to Starscape, and I managed to make theme work in Safari, Opera, Firefox and IE7. But now I am trying to sort things out with IE6 and a lot of things are still the problem. This blog now runs on latest internal beta version of Starscape 1.10. As you can see there are a lot of new features, soon to be available for public use.

There are two main problems with IE6: PNG and Box Model.

Read the rest of this entry »

HTML And CSS Validation

datePosted on 08:16, May 22nd, 2008 by MillaN

Last few days I was working on fixing a lot of HTML and CSS used by the theme, and I have managed to make the theme completly XHTML 1.0 Transitional valid and also CSS level 2.1 valid. Latest public version of Starscape (1.0.2) is not valid, there are few bugs in there, but the modified code for this blog is. Next version 1.1.0 is 100% valid. But this is not always enough.

Read the rest of this entry »

Upcoming improvements for Starscape

datePosted on 17:07, May 17th, 2008 by MillaN

I am working on the number of improvements for the next Starscape version (1.1.0). Some people were asking about some of the features, and here is what you can expect from this new version:

  • Independant settings for Date Button
  • Google search for sidebar
  • Improved search positioning in the sidebar
  • Now XHTML and CSS valid
  • Image logo in the header instead of the Blog title
  • New tabbed control panel

Read the rest of this entry »

Recent Posts

Random Posts

  • Starscape Theme May 5, 2008

    [singlepic=7,220,160,,right] My first Wordpress theme is now ready. My goal was to create simple and...

  • Starscape Orion 1.1.0 May 27, 2008

    [singlepic=25,300,240,,right] After almost two weeks of work, new version of Starscape is now available with...

  • Starscape Scorpius 1.5.1 Update August 20, 2008

    Few hours after I released 1.5.0, I have notices few problems. So, here is...

  • Starscape 1.0.1 Update May 14, 2008

    As promised, here is the new version of the theme with some new features...

  • Starscape 1.0.2 Update May 15, 2008

    Just a quick update with only one new feature: New: Date buttons for posts and...

Advertisments