Archive for the ‘wordpress dev’ Category

Hiring

Wednesday, June 10th, 2009

I’ve never really hired someone before.  I’ve worked with people, perhaps I’ve even had some input on a job candidate, but I have never hired anyone before.  I’m not exactly hire now, but I am looking to sub contact out some of my web development work on a regular basis.  So I put up a craigslist ad to see what kind of people are out there and available.  In the Santa Fe area I dont think there is a huge selection of developers, but there might be some.  So far I have gotten 3 responses(The ad has been online for about 5hrs)  This should be an interesting adventure.  We’ll see how this turns out.

WordPress Page Titles Vs. Menu Text

Wednesday, March 4th, 2009

This came to my attention on Twitter yesterday thanks to @idesignstudios. The question is, how do you have a the link text and the page title different?  Perhaps the In the Menu it should say “About” but the Page title should say more, perhaps “Read All about our Company”.  You dont want the long title in the menu.  How can this be done in wordpress?

Selene (@idesignstudios)  found an answer to this here(cssglobe.com). The solution works, but it involves modifying core wordpress files.  Which I would strongly recommend avoiding.  Wordpress, as everyone knows, tends to release a lot of updates (Yes I have run into plenty of update fatigue myself). So dont make your update harder.  When you upgrade, all of the core files will be overwritten, and you will have to remember to apply the patched code again. Perhaps having to lookup the article again, find the right file, find the right line… Can you see that might be messy 6 months or a year after doing it the first time?

But I’m not here to complain.  In fact the code and idea on cssglobe.com handle the problem very well.  However let’s move that into a plugin so when we upgrade the code our changes wont be overwritten. Here is my plugin for just that: Page_Title_Changer.zip

Here is an example:

 With the plugin a metabox is added to the right hand side of the page edit/add admin screen, From there you can set the text for the page title (in the example: “Let us know what we can do for you”).  This is saved as metadata for the page, and a title filter handles choosing the correct title, by location.

I took 20mins to throw this together, so if you find something that doesnt work out as it should, send me an email, I’ll take a look.