Page Title Widget

Working on a site recently I ran across something that I thought should have been simple but wasn’t: I wanted to display the page title for the current page in a sidebar. There were several page plugins I might have used but I though this would be a great place to write my own, so I did.

This plugin was modeled heavily on Justin Tadlock’s “My Snippets” plugin. Whenever I had a question or wanted to see something that worked I went to his code first. He’s written a book on plugin development that I hope to get soon.

 

Leave a Reply