WordPress: How to show a specific post or page

Jun 04, 2010 in Technology

I have a lot of fun playing with content management systems. Last week I wrote about some of the fun stuff I’m doing with MediaWiki. This time I’ll be looking at a specific task common to WordPress template creation: How to retrieve the contents of a specific post or page using the get_post() function.

My first attempts using get_post() returned empty values. After hours of searching and plugging away at the task, things started to click. I figured I should record this keep track of the solution for future reference, and to help out anyone else with the same problem.

Continue reading: WordPress: How to show a specific post or page

Oh to make that much in a year

Dec 18, 2008 in Personality

Hot on the heels of Trevor Linden’s jersey retirement ceremony, the Vancouver Canucks signed Mats Sundin for a reported $10mil/year (pro-rated for the mid-season start). You know, I’m so glad that when I sign a new contract, the newspapers aren’t obligated to report what the companies pay me. One day they just might pay me $10mil/year. And nobody would ever know!

Continue reading: Oh to make that much in a year

WHY I haven’t blogged

Dec 02, 2008 in Personality, Productivity, Technology

So I says to my wife, “you know, I’d really like to work as an independent contractor for awhile and really get to see the world.” The following day, my manager told me that they’d lost my contract as a technical writer. I wanted to say, “Would you like me to help you find it?” Instead I played it cool. “Great! Lots of time for blogging.” As I wrote my last full post on November 6, obviously I didn’t spend as much time blogging as I thought. What did I do instead? It couldn’t have been because I ran out of things to say.

Continue reading: WHY I haven’t blogged

Days like these

Jul 04, 2008 in Creativity, Productivity, Strategy, Technology

Some days it feels like I hit the ground running. Today it felt more like I lost my breath as I chased the ground as it ran off well ahead of me. I never did catch up; and you know, for the first time in my life, I felt like shutting down my computer, waving a white flag, and sitting on the beach sipping a triple venti soy peppermint macchiatto with extra caramel drizzle.

Continue reading: Days like these

Free translation fun for Friday

Jun 27, 2008 in Creativity, Philosophy, Strategy, Technology

Today I received an email from Aopen.com. I must have signed up for an account seven years ago when I registered my AK-73(pro)A motherboard. The problem with this email is that it’s all in Chinese. Even after all these years, I’d remember that I registered in English. I don’t write Chinese. Nor do I speak it, much to my grandmother’s chagrin (rest her soul). Plus, I couldn’t even guess as to where an “unsubscribe” link might be found, as there was nothing in the common sections of the email that even resembled one.

Continue reading: Free translation fun for Friday

Get to know what you’re good at

May 29, 2008 in Creativity, Personality, Strategy

Searching for a new career can be tough. I should know. I started out in my teens wanting to draw comic books for a living. In my early twenties I took restaurant and retail jobs to subsidize my new dream of becoming a rock musician. While the dream never died, it became evident that I had to stop working in wait of a dream, and find ways to live the dream while at work.

Continue reading: Get to know what you’re good at

tonychung.ca