Tag Archives: wp_nav_menu

prependChild on DOMElement in PHP, Sort of.

This evening I wanted to add a new LI onto a WordPress navigation programmatically. After considering a few different options, I decided I wanted to use PHP’s DOMDocument, and use this as an opportunity to more familiarize myself with its … Continue reading

Posted in PHP, WordPress | Tagged , , , , , , | Leave a comment

Unexpected Results While Styling WordPress Menus

Today I sat down to convert a static theme consisting of nothing more than HTML and CSS into a WordPress theme, complete with calls to functions like wp_nav_menu() for the construction of the menu’s. For this particular theme I began … Continue reading

Posted in Uncategorized, WordPress | Tagged , , , , , , | Leave a comment