Yep, I’m still slowly adding more features to Minnie, and the last feature added was the comment form. It’s the most complex feature so far, and I had lots of fun working on it and learned quite a lot.
From Evan Hahn’s post:
:wq, but write only when changes have been made.
So you have a fancy plugin that’s doing something awesome on a WordPress admin page. The plugin needs some CSS and/or JS to work so you enqueue them in the
admin_enqueue_scripts hook. All good™. Continue reading “Enqueue scripts & styles responsibly”
There are times when we need to get menu items as a big multidimensional array so we can do some processing before finally displaying them. We can’t simply use
wp_get_nav_menu_items() because it returns a flat array. The solution for this is pretty simple: use a custom walker. Continue reading “Get menu items as multidimensional array”
So you implemented Jetpack’s Infinite Scroll feature in your theme, but you don’t want it in a particular page, say a category archive page. Here’s the code you need to add to your theme’s
Continue reading “Conditionally disable Jetpack’s Infinite Scroll”