|
Posts Tagged ‘settings’
All over the internet you can find tutorials, help, samples on creating wordpress theme. Still, there are some topics that are not covered by many of them. I will try to focus on the solution of practical problems I had while creating Starscape theme. This first part will cover following problems and solutions:
And as always, Starscape theme contains all this, so you can check it out also. 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. 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:
I am currently working on the support forum for my theme(s) and plugins. I hope the forum will be ready in the next few days. As for the changes to the Starscape, here is the list of the features I am currently working on:
All suggestions about the new features for the theme you can sned using the contact form on this site (page About), or on a forum once it goes live. [singlepic=7,220,160,,right] My first Wordpress theme is now ready. My goal was to create simple and clean theme but in the same time a theme that can have more then a single layout like most of the Wordpress themes has. I liked the idea of K2 theme, but that is very complicated approach for me. Starscape theme has build in different styles (version 0.9 has 16 styles for 4 color schemes), adjustable sidebars (2 vertical sidebars and 1 horizontal) and changeable menues. All 3 sidebars can be on or off, and they have adjustable size, so you can use the control panel for the theme to set this things the way you like. This web site uses this theme, so you see how it looks like. So, visit the theme page, look at the screenshots and download the time, so you can try it for your self. I hope you like it. |