A good friend of mine emailed me today with a WordPress question: we have a url like /category/term1/ that we’re using to filter on stuff If I do get_query_var(‘category’) it will properly return ‘term1’ If we have the url like /category/term1+term2/ get_query_var(‘category’) still only returns ‘term1’… do you have any insight as to why? Thanks ... Read More
Here’s a cool little trick for adding widget areas that are unique to posts, but without cluttering up Appearance->Widgets in the admin. Instead, we utilize the Customizer, which is perfect for this sort of thing. First thing, we need to hook a function into init where we register our widget area.
I was fortunate to be able to attend the very first WordCamp US this past weekend. It was held in Philadelphia, which is a reasonable drive from where I live in North Jersey. It’s also usually hard for me to get away these days since I have a 17-month-old child, but luckily, my wife was fine with ... Read More
This past weekend was WordCamp NYC 2014, and I must say, it was a huge improvement from previous WordCamps in New York. It’s no secret that I’ve been a bit critical of New York WordCamps in the past. For the record, I’ve only been to WordCamps in two cities: New York and Boston. Until now, Boston was ... Read More