-
Recent Posts
-

Recent Tweets
Follow @jonathansampsonRecent Comments
- Rakesh Juyal on Crushing Code and Shaving Chars
- Jonathan Sampson on Crushing Code and Shaving Chars
- Eli Perelman on Crushing Code and Shaving Chars
- Jonathan Sampson on “Windows 8 is too hard to turn off”
- Zimzat on “Windows 8 is too hard to turn off”
Archives
- April 2012 (3)
- March 2012 (1)
- February 2012 (1)
- October 2011 (1)
- June 2011 (2)
- May 2011 (1)
- January 2011 (6)
Tags
appendChild Autoload Bug business CodeIgniter Connection container_class CSS custom Database DOMDocument DOMElement DOMNode Error filters htaccess images interview JavaScript jeff atwood jQuery kohana menus menu_class mvc MySQL operators php posts prependChild Review stackoverflow styling ternary usability Version views wamp webdev windows Windows 8 Windows8 WordPress wp_nav_menu wp_page_menu
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 appendChild, DOMDocument, DOMElement, DOMNode, prependChild, WordPress, wp_nav_menu
|
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 container_class, menus, menu_class, styling, WordPress, wp_nav_menu, wp_page_menu
|
Leave a comment