top
Aug 10, 2008
1 Comments
 


I upgraded from 2.5.1 to 2.6 last month. It is a good version and better than previous one. They fixed the Custom field problem and I am happy.

I discovered some new bugs in this version. Where are page template drop down in WordPress 2.6? Ya, the page template section is missing. I couldn’t find it whenever i try to create new page with custom template. Weird @-@

So, i just play with the wp-admin dir and try search the problem. What make this thing happen?
I figured out the edit-page-form.php in 2.6 is not the same as the 2.5. They add some new function to it.

The new 2.6 :

2.5

*click for bigger image

<?php if ( 0 != count( get_page_templates() ) ) {  ?>

If it not equal to zero(the number of page template in you theme dir), it will automatically appear. But the page template drop-down still not there . What i can see is they add function. It is totally different.

Solution :
I made some modification to edit-page-form.php by adding some value.

  1. Go to wp-admin dir. search for edit-page-form.php
  2. Open it with text editor.
  3. Go to line 265. replace 0 with greater value like 110.
  4. Save it.

Refresh post page. The Page Template drop down should automatically appear now.

Aug 4, 2008
No Comments
 

Sunrise. What a beautiful morning. Clock 0646am right now, still have one more hour to go. I mean class routine will start at 0800 till 1500. I still don’t sleep. Imsonia? I guess.

How I spent my last weekend? I did some work and play with css and php. Watching some movies like You don’t mess with zohan and my fav series Top Gear. I love that even i stayed at home alone without my mates.

Status : 1 wordpress ready to release, 1 in development.

I am out.

Before that enjoy some of these videos. Hand-picked vimeo dot com.

Trust me, only cool vids here. no shit!

1. What Matters to You // Me?


What Matters to You // Me? from Jr.canest on Vimeo.

2. Sleeping Beauty - City lights / Music video


Sleeping Beauty - City lights / Music video from Benjamin Taft on Vimeo.

3. Fireplay


Fireplays from Jon Thomas on Vimeo.

Continue reading »

Jul 29, 2008
2 Comments
 

I love Textmate but its only available for Mac Os X.   : (    That is the problem for user like me use Windows as main OS. By the way, i tried to search a powerful text editor to replace notepad and dreamweaver.

I found 2 softwares that almost simillar to textmate. not 100% but yeah.

1. Intype - intype.info

Current release - 0.3.x. Sitll alpha.

Free

2. E-texteditor - e-texteditor.com

Current release - 1.0.24

Trial for 30 days. Full version $34.95

Quick review

Interface

Function and Preference. - I prefer E.

setting

Bundle - E offer more. But you don’t have to worry about xhtml and css. Both included.

setting

Speed - intype load faster than E. I feel intype more lighter than E. E-text editor takes some time to load.

Theme - E-text editor gives more preset theme and more option to edit the text color, bg color, gutter and more… while intype just like 17 preset themes and it is not editable.

So which one is the best?

If you dont want to invest some money. Just use intype. It is good enough to handle css, xhtml, js or php. Else just buy E. Its worth i guess.

Jul 21, 2008
4 Comments
 

First, i would like to thank Wpcandy & Liquidicity for release a great wp help sheet that help improve my productivity. You can download the .pdf from here 592kb

I like the sheet but it is in .pdf file. The thing is i don’t like the format. It’s big in size and difficult to copy and paste the code. So i decide to transform the whole thing to .html file. Yeah! Light and smaller size, guess what? 10kb.

What is WP Help sheet?
It is just a file with all common code that most wordpress developer use in wp.

Why we need?
Huh? It save time btw. You don’t have to search Google or open theme file just to search one code. Increase productivity

View : Wp Help Sheet

Download : Wp Help Sheet

Just print and paste it on the wall beside the screen. Have a nice day.

Jul 13, 2008
3 Comments
 

Been thinking or wondering how they did custom social button? In this article i will show how to create custom social bookmark button with working link.

Anyway, it is pretty easy if you understand the wordpress template tag. #.

The idea

The Code

1. Digg submit url

2. Post permalink

Digg submit url + Post permalink(1+2)

To make a working submit button or link, just add some simple code.

The code you should include somewhere in index.php or single.php

Other social bookmarking sites

del.icio.us

blinklist

ma.gnolia

StumbleUpon

Technorati

Twitter

Note: this is site submit url + post permalink code.

Result


Turn a link into a cool button with some cool css.

Examples


wefunction


Psdtuts


webdesignerwall

Don’t forget to

Digg! this post.

Good luck!

Jun 28, 2008
3 Comments
 

I noticed safari render the font smoother than Firefox when i did the browser compatibility check for upcoming theme.

I use Windows XP with latest Firefox 3 and Safari 3.1.1.

Here’s what it look in the browser.

Font family : Arial sans-serif 11px.

I prefer Arial in Firefox. It is more readable. Safari smooth engine makes the letter weight increase and decrease the letter spacing. Firefox win.

Font family : Georgia serif 18px.

Safari text rendering is smooth compare to firefox (too sharp and looks like crap.) Safari win

Conclusion

If Steve Job never learn about typography. Mac never get multiple type faces*. That what he said in his Commencement address at Stanford in 2005. That’s one of the best speech i ever heard.

*PS : at 4.38 “Windows just copy the mac” < Owned