[Subscribe]

Archive for the ‘Blogging’ Category

Edit sidebar content as a page in Wordpress

I recently came across a situation where I needed to display the contents of a page in a Wordpress sidebar.  Essentially, my client needed an easy way to edit a sidebar that appeared on multiple pages.  Editing a Text widget wasn’t an option: they needed the flexibility of editing a page.

It took a few tries/revisions to find the best way to do this, so I thought I’d share my solution.  All I did was create a page with a specific slug (”sidebarpage”) and echo its content.  I used it in a sidebar widget, but you could use this anywhere in your Wordpress Theme if you’d like to have an additional editable area.

<?php
     $sidebarpage = new WP_Query(“pagename=sidebarpage”);
     while($sidebarpage->have_posts()) : $sidebarpage->the_post();
          the_content();
     endwhile;
?>

Be sure that you’re creating a seperate WP_Query object ($sidebarpage in this example) — otherwise you’ll modify the query on the page itself, and your sidebar content will show up in the main body of your posts/pages as well!

The down-side of having this content stored in a page is that the page will appear in page listings, so be sure to exclude it if these are used in your theme.

by Colin Temple
on August 11, 2008
in Blogging, Wordpress
tagged as , ,

5 Comments

Things to Do

 

Web Bubble Burst 2.0?

Note: This is my second and last post imported from my old blog at colintemple.com. After this, it’ll be all-new content. (Wow, I’d better start writing!)

Everyone’s really excited about Web 2.0. Still. That in itself isn’t a problem: there’s lots to be excited about. All this Web 2.0 stuff — social media, network building, picture posting, wiki writing, Twitter tweeting and all the other things bloggers do while high on AJAX — is making the Web into a much more collaborative, open and accessible medium. That was pretty much the point of the Web from the get-go, so kudos to them for the job well done.

But, talk has been growing over the past year about the future of this utopia we’re all building together — or at least, its business future. The analysts say the tides may be turning yet again: that Web 2.0 is forming a bulge of a bubble that’s about to burst at the seams.

And they’re probably right. If you look around, it’s pretty obvious that there’s a lot of noise going on. Of course, we’ve had Facebook, YouTube, MySpace, Digg, Flickr and the great big blogosphere for a while now. But every day it seems I’m learning about some new Web 2.0 app and how it’s the best thing for me since sliced turkey. There are way too many social media sites out there, and I’m afraid that sitting in the middle of this with my Web Marketer and Web Developer hats on has gotten me awfully dizzy.

And while wearing those hats — yes, I wear actual hats — I’m often browsing freelancer sites looking for fun and exciting projects to work on. Without fail, there are daily postings from investors looking to build the next MySpace, Digg or i-silver-bullet. If not, they at least want a new Facebook app that will create the viral marketing their business always needed to get off the ground.

After the 2000 dot-com burst, this kind of if you build it they will come smack in the face of rationality came to a grinding halt, and the executives who didn’t smarten up were politely asked to die in a hole somewhere. Now, it seems like the coffers are opening up again to buy a piece of Web 2.0 pie.

Of course so many “Web 2.0″ companies are living off of traffic and ad revenue alone — but what about those using the Web to sell something tangible? My friends over at Sitebrand paint a brighter picture for those involved in online retail, where the Web may actually be the safer bet as the U.S. economy slows down.

Meanwhile, the clients I work with have all increased their online marketing spending over the past year or two — but every single one of them has become obsessed with their web metrics. Conversion rates, cost-per-lead and ROI are on the tops of their minds, and rightly so.

So it seems that at least some people have learned from the first dot-com burst, which is great because they’ll need to use that kind of sense again to search for new marketing tactics when the bubble bursts and Internet users worldwide simultaneously fall into comas.

I guess what I’m trying to say in all of this is “smarten up, Internet”, because if everything goes to hell again the Web won’t be any more fun and I’ll have to get a new job.

 

Work, Web, Play

I work on quite a few blogs, but usually behind the scenes.  The blogs I’ve owned up until now have all been hobbies.  Not that I haven’t made a few bucks off of them, but they haven’t exactly been related to my field.

Which presents a problem.  My personal blog has no focus, but I do come across plenty of ideas that I’d like to share and discuss.  And I need to record some of the things I’m doing, if only for my own memory.

So my previous blog, colintemple.com, is movng here.  The “Work, Web, Play” theme is coming with it, but I’ll be focusing on my work in the world of web marketing.  I’ll be sharing some ideas and successes, useful things I find, and challenges I come across (and hopefully resolve).

So, I’ll start with an introduction.  My name is Colin Temple and I’m a web marketer in Ottawa, Canada.  I’m self-employed: I left my full-time job last fall to kick my business into high gear.  I’m now working with businesses around the world on their marketing through my company, XAdvance.  I live in the suburbs with my wonderful wife and our severely annoying cat.

Leave a comment and link to your blog so I can hear your story, too.

by Colin Temple
on July 18, 2008
in Blogging
tagged as , ,

3 Comments

Things to Do