30
Jun
Today i spent some time trying to figure how to get existing (and also used) tags from wordpress and using in admin panel as a combo box, for my brand new theme Wordnewz.
The return of get_tags() function was some kind of array but, because of my skills (not) in PHP i spend WAY too much time to go figure what to do. The initial result of get_tags() function is:
Array
(
[0] => stdClass Object
(
[term_id] => 28
[name] => Featured
[slug] => featured
[term_group] => 0
[term_taxonomy_id] => 29
[taxonomy] => post_tag
[description] =>
[parent] => 0
[count] => 6
)
)
And i only needed [name] and [slug]. Ofcourse, like a smart guy that i am, i pointed my browser on wordpress codex where i found… NOTHING. Nothing about this function… Great. Let’s try various stuff and google it for any ideas. And i found a PHP function get_object_vars for easy conversion. After this, all was GREAT. I use it like this:
1
2
3
4
5
| $allTags = get_tags();
foreach($allTags as $thisTags) {
$thisTag = get_object_vars($thisTags);
echo '<option value="'.$thisTag['slug'].'">'.$thisTag['name'].'</option>\n';
} |
And it WORKS like a charm. I posted this thing because i didn’t found too much references for stdClass Object or get_tags() Wordpress function.
27
Jun
After last two wordpress themes that i released in last weeks was a success (i expected to have less feedback than i had), i was thinking to make another theme. This time will be a free-premium theme. What it mean this? The theme will be launched as a free theme and will have some features available only if you pay (almost anything from site will be customizable from admin panel).
Anyway, it’s a theme great for using in a news site, fixed width, two sidebars, using custom fields and various plugins.
Here is a preview of current progress:

I think will be done by the end of this week, when i will release both free and premium version of the theme.
Stay tuned for more.
23
Jun
Yesterday i was pretty bored: weekend, alone, and all bad things and i say to make another free wordpress theme. I opened Photoshop and i start to draw. You can see the results on the next screenshot or here.

Some of the main features:
- Widgetizable;
- Xhtml 1.1 / CSS 2.1 Valid;
- 2 columns;
- trackbacks and pingbacks are separated from comments;
- and more things that you can discover if you try this great and free wordpress theme
You can download the teme HERE.
But wait! There is more nice things to come! More free wordpres theme to come and if you want a premium theme, don’t wait and contact me.
12
Jun
After jQuery 1.2.6 and jQuery UI 1.5, I expected that some other frameworks release a new version (script.aculo.us, moo, and so on). For now, only Moo launched the final release (1.2) of their cool library. I don’t know what to say about the library (I didn’t try it yet), but this version of site is much, much nicer.
Even if I’m a jQuery addicted, I saw that MooTools have smoother animation, but their documentaion is weird (or maybe is just me, I don’t know). Anyway, in the last half year, I told myself to try Moo, but every time I give up. Maybe I will try it sometime.
8
Jun
Finally!
I finished my first free wordpress theme. What it make it so special? Well… The theme is with two and with three column: if you don’t have widgets on a sidebar, that sidebar is hidden and content is stretched. Nice, huh?
Anyway, you can download the theme with a single CLICK. If you (don’t) like it or if you have a problem, let me know.
Enjoy
Edit:
For now i can’t put a functional demo. But you can see the screenshot i put it yesterday here.