When using conditional tags in WordPress, if you hook in too early the conditional tags don’t work because WordPress hasn’t determined their values yet. The earliest hook for conditional tags Hook wp Example Hook Function to wp add_action( ‘wp’, ‘function_that_uses_is_front_page’ ); Examples of conditional tags is_home() main blog page is_front_page() front of the site is […]
WordPress 3.9 released yesterday and I’m excited to see my name as one of the contributors. Looking forward to contributing more to future releases. You can see more of my open source work at http://github.com/salcode
WordPress Framework Buy and learn to build with the WordPress Genesis Framework. When I started using the Genesis Framework my work improved tremendously, not only because it is a great framework but because it showed me the power of and got me using hooks and filters, which are the key to building in WordPress. I haven’t […]
I’m interested in doing some presentations at the Philly ‘burbs WordPress Meetup and have been brainstorming ideas. I’m sharing my list here and I’m certainly open to feedback or recommendations. My Web Development Milestones Over the years as a web developer, there has been certain changes or tools I’ve adopted that have had a dramatic […]
I’ve been using both Git and Sass for some time now. These two tools have had a huge positive impact on my development. The issue that arises when combining Git and Sass is when checking in compiled CSS, it is common to get conflicts with other contributors on the Git repository.
UPDATE: Google is removing author images from search results making this tip much less useful. As you can see, when you search “wordpress stop emails plugin” on Google, in addition to my Stop Emails WordPress Plugin on WordPress.org, you are treated to my smiling face. Feel free to try it yourself, https://www.google.com/search?q=wordpress+stop+emails+plugin Google Authorship A great […]
I’m excited to announce I’ve started my own WordPress development company, Iron Code Studio. In addition to my new development company, I will be continuing my role as Senior Developer at LaunchDM. Iron Code Studio specializes in custom WordPress Theme and Plugin development, specifically using the Studiopress Genesis Framework and the Bootstrap front-end framework. In […]
I came across an interesting issue today. In Firefox the YouTube oEmbed Can Not be Clicked This issue arose in Firefox 25.0 on a Mac when loading a YouTube oEmbed within an element using CSS transform: translate(). This seems to be a known bug. General Solution The general solution, as outlined on this Stack Overflow Thread, is […]
Update 2015-09-28 Thanks to Joan in the comments for pointing out the original code posted here was only relevant when using a Genesis Custom Loop. This updated solution applies to the default loop (and is not Genesis specific).