Blog

Articles about WordPress

Display the top level category in WordPress

By Tim Priebe | July 16, 2009

The is just a quick WordPress code snippet for those WordPress programmers or code dabblers out there. Recently we needed a page in WordPress to display the top parent page title rather than the current page’s title as the heading on the page. Here’s the code we used to accomplish that: <? $currPost = $post;…