Category Archives: Website development

WordPress breadcrumb navigation PHP code

Here’s some really simple PHP code to generate breadcrumb navigation in WordPress. It only supports navigation down two levels – i.e. you have a page that defines a section of a site, and then child pages within the section. It … Continue reading

Posted in Website development | Tagged , | Leave a comment

WordPress PHP code for sidebar with dynamic content determined by current page

Here is some really simple PHP code that I wrote for a client’s WordPress site. They wanted to have a sidebar that pulled different content depending upon the section of the website. Their site has some “category” pages, with child … Continue reading

Posted in Website development | Tagged , , | Leave a comment

PHP code for WordPress side menu

I’ve been developing a website for a client who wanted a dynamic side menu. The site is structured, with top level menu items acting as the parent page of second level items. So for example “About Us” is a main … Continue reading

Posted in Website development | Tagged , , | Leave a comment