Presentation I’ll be presenting at the April 7, 2014 Philly Burbs WordPress Meetup on Bare Minimum Git. A walk-through on how to get you and your team up and running with Git using a minimal workflow. This is an interactive talk so please bring your laptop. Summary Using Git has been an invaluable addition to my […]
WordPress
WordPress Presentations
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 […]
Google Authorship on WordPress.org
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 […]
Iron Code Studio WordPress Development
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 […]
WordPress YouTube oEmbed Not Working on Firefox
Warning: DOMDocument::loadHTML(): Tag template invalid in Entity, line: 12 in /home/customer/www/salferrarello.com/public_html/wp-content/plugins/gistpress/includes/class-gistpress.php on line 466
Warning: DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 14 in /home/customer/www/salferrarello.com/public_html/wp-content/plugins/gistpress/includes/class-gistpress.php on line 466
Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 15 in /home/customer/www/salferrarello.com/public_html/wp-content/plugins/gistpress/includes/class-gistpress.php on line 466
Warning: DOMDocument::loadHTML(): Tag template invalid in Entity, line: 29 in /home/customer/www/salferrarello.com/public_html/wp-content/plugins/gistpress/includes/class-gistpress.php on line 466
Warning: DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 31 in /home/customer/www/salferrarello.com/public_html/wp-content/plugins/gistpress/includes/class-gistpress.php on line 466
Warning: DOMDocument::loadHTML(): Tag path invalid in Entity, line: 32 in /home/customer/www/salferrarello.com/public_html/wp-content/plugins/gistpress/includes/class-gistpress.php on line 466
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 […]
WordPress Genesis Loop Only Display Sticky Posts
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).
wp_insert_user() with “no role for this site”
My goal was to use wp_insert_user() to create a user with “no role for this site”. For some notes on “no role for this site” see http://wordpress.org/support/topic/what-exactly-is-no-role-for-this-site-do#post-2177545 When using $new_user = wp_insert_user( $userdata ); omitting the role parameter in the $userdata uses the default role set. If you want “no role for this site”, set the […]
Quick Cache requires PHP v5.3
WordPress Quick Cache Plugin There is a new version of the WordPress Quick Cache plugin available. Higher Minimum Requirements This new version requires PHP 5.3+ This is a higher requirement than WordPress itself, which requires a minimum of PHP 5.2.4 (http://wordpress.org/about/requirements/). Sometimes Newer is Not Better If you are running on a server with sub PHP […]
get_next_post() Not Working in WordPress
Why is get_next_post() Not Working in WordPress We’ve got a WordPress instance setup with lots of posts being created as Drafts. Then using the Bulk Actions, we change the status of the posts to Published. Everything seems great until it becomes evident the get_next_post() and get_previous_post() functions are not returning anything. Why Isn’t this Working It turns out […]
searchform.php not working in WordPress 3.6
This problem arises from a difference in how WordPress 3.5.2 and 3.6 handle the case where there is both a searchform.php template AND a filter on the hook get_search_form. In WordPress 3.5.2 in the presence of a searchform.php template, any filters on the hook get_search_form were ignored. With the upgrade to 3.6, filters on get_search_form are now […]