Making WordPress page headings different from the menu items

By Tim Priebe on May 17, 2010 at 7:48 am in Development,Technical

PHP and WordPressJust a quick WordPress tip this time for theme developers, or people who just want to customize a WordPress theme they’ve purchased.

Sometimes there are reasons to make a menu item slightly different from the title of the actual page. Perhaps your menu space is limited, but you have plenty of room in the content area. A typical example is using “FAQ” in the menu, but then the page heading actually shows “Frequently Asked Questions.”

A great way to accomplish this is the Custom Fields in WordPress, combined with a bit of theme customization.

Normally, you would insert the title of a page like this:

<?php the_title(); ?>

Instead, you can create a custom field. We’ll call it “custompagetitle” for this example. On the FAQ page, you would enter ‘FAQ” as the title of the page, then a custom field called “custompagetitle” and enter “Frequently Asked Questions” there. Then, instead of the previously mentioned code, insert this code:

<?php

// See if there's a custom field custompagetitle,
// and if so, use it as the page's title

$realtitles = get_post_custom_values('custompagetitle');

if (is_array($realtitles)) {

$realtitle = implode($realtitles);

}

if ($realtitle)

echo $realtitle;

else

the_title();

?>

Not only does this code use your custom heading, but if there is no custom heading, it will default to the actual page title.

2009 non-profit website winners

By Emily Spirek on February 17, 2010 at 11:22 am in General

In 2009, we decided to give away a free custom website to a different non-profit group every month. We selected from a group applicants, all from the Edmond and Oklahoma City area.

We were so blessed to work with all of these organizations, and it was undoubtedly a rewarding experience. Thanks to all of the non-profit winners, and we hope your new websites have aided towards the success of your organizations!

Please check out the sites below and learn about what these people are doing for the community.

2009 Winners:

January:

screenshot-emm

http://edmondmobilemeals.org/

February:

screen-shot-2010-02-16-at-102116-am

http://www.dsok.net/

March:

screen-shot-2010-02-16-at-102135-am
http://oklahomawomenscoalition.com/

April:

screen-shot-2010-02-16-at-104417-am

http://teenempower.org

May:

screen-shot-2010-02-16-at-102201-am
http://www.vipofok.com/

June:

screen-shot-2010-02-16-at-102216-am

http://www.edmondlacrosse.com/

July:

screen-shot-2010-02-16-at-102258-am

http://www.edmondkids.org/

August:

screen-shot-2010-02-16-at-113130-am
(pending publication)

September:

N/A
(Unfortunately, the non-profit we selected for September
did not have the time available to develop a site with us)

October:

screen-shot-2010-02-16-at-102315-am

http://www.chosenokc.org/

November:

Wayman Tisdale Foundation

(pending – awaiting confirmation)

December:

Oklahoma Foundation for the Disabled

(pending – awaiting confirmation)

Update: More detailed entries about each non-profit are soon to come!