I was recently having a discussion with a fellow WordPresser on the topic of teaching and she raised a very good point.
I’ve noticed with people…that they forget what they didn’t know in the beginning.
This is not only a fantastic point (and something I have been guilty of), but it’s a bit of a problem for people who teach, especially in my field – programming. It’s incredibly important to have empathy for your students when you’re teaching them a difficult subject.
Continue reading Have Empathy When Teaching
It’s been a few days since the news broke of Alex King’s far-too-soon passing. There has been an incredible outpouring from a community he affected in such a deep way. I decided to wait a few days to write my thoughts for a few reasons, the main one being I’m not really sure what I could say that hasn’t already been said. I spoke with Alex a couple of times, once while I was interviewing with Crowd Favorite. The other was at Pressnomics 2.
Continue reading Alex King’s Advice
When creating a WordPress theme, it’s best practice to use
wp_enqueue_style for adding all stylesheets, including
style.css. At first glance, this can pose a challenge if you want to conditionally include CSS based on the browser (like IE-only styles, for example). Luckily, there is a quick way to do this in WordPress using
wp_enqueue_style( 'jlc_ie_styles',get_template_directory_uri() . 'css/ie-style.css', array(), '1.0.0' );
$wp_styles->add_data( 'jlc_ie_styles', 'conditional', 'IE' );
The code above calls on the
$wp-styles class to associate our IE-only stylesheet (by tag/name/slug) with a condition, the condition being “IE.” If you wanted IE 9 and below, you could do this:
$wp_styles->add_data( 'jlc_ie_styles', 'conditional', 'lte IE 9' );
This is a great (and best practice) way to conditionally call styles. You can see more examples with comments over in this gist by wpscholar.
Whew. It’s been a little too long since I’ve done one of these. With the semester starting things have gotten super busy for me!
This morning I was able to help a fellow Coalworker with an issue regarding WordPress that was solved by using
pre_get_posts (tutorial coming soon). This is significant for me because a year ago, I had no idea what that was.
September 15th was my 1st anniversary at Crowd Favorite and this job is definitely the reason I knew the solution so quickly. I’ve learned so much in the past year. Longer post on that to follow.
I was working on a problem last week in WordPress where the caption for an image was extending the whole width of the container, not staying the width of the image. This make sense – the image is inside the
.wp-caption container. So how to we fix it? Let me tell you!
Continue reading Make wp-caption the same (responsive) width as the Image
I still remember 9/11/01 really well. I was a teenager, I was taken out of class & brought to my mom’s job/my grammar school, and my friend Amy & I refreshed CNN.com constantly. I knew the world changed, but didn’t have the perspective to realize how.
That’s why what I remember most about 9/11 is the respect we had for each other in the days following. I miss that.
Today there’s so much animosity. Differing opinions = a lack of respect.
The lesson we should remember from 9/11/01 is that we can & should unite. We should all respect each other, because we are all the same.
For today’s 100 Words, I’d like to deflect to the Organizers of WordCamp US. It’s sure to be a great event with lots of amazing people, and the first one outside of San Fransisco. If you can come you definitely should. I know I’ll be there!
WordCamp US 2015, held December 4–6 in Philadelphia, Pennsylvania, has opened a first round of ticket sales. This three day event features 2 days of scheduled content and 1 contributor day. The cost is $40.
More details about speakers will be announced soon, as will information about the 2015 WordPress Community Summit.
Please join us for this inaugural WordCamp US event!
If you’ve purchased a power bank charger or USB outlet from Amazon, there’s a solid chance the devices came from Hisgadget Inc. They have quite an extensive catalog of products to make sure you’re always fully charged at home and on the go. I recently had the opportunity to play with two of those products: the Intocircuit Power Castle Dual USB Portable Charger & the iClever 50 Watt 6-Port USB Desktop Rapid Charger.
Continue reading Up Your Power Game with these Hisgadget Inc. Chargers