Latest News from WPStudio

Page Template Bug in WordPress 4.9

When the latest version of WordPress (4.9) was released, it also contained a strange little bug that was introduced with some of the modifications to the internal “file editor” in WordPress. This bug caused page templates to either not display properly in the Page Edit screen or to not update until the default WordPress cache was cleared (60 minutes).  But there is a quick fix you can place into your theme’s functions.php file that will automatically clear the cache of the theme so you don’t have to wait for the cache to clear or raise your theme’s version number.

add_filter( 'init', 'wps_fix_page_template_cache_bug' );
function wps_fix_page_template_cache_bug(){
    $theme_root = dirname(__DIR__);
    $stylesheet = basename(__DIR__);
    $theme = wp_get_theme( $stylesheet, $theme_root );
    $theme_ver = $theme["Version"];
    $cache_hash = md5( $theme_root . '/' . $stylesheet);
    $label = sanitize_key( 'files_' . $cache_hash . '-' . $theme_ver );
    $transient_key = substr( $label, 0, 29 ) . md5( $label );
    delete_transient( $transient_key );

Thanks to the WordPress community for sharing variations of this fix.  Note: This bug will be fixed in an upcoming version of WordPress, so once that is fixed, you’ll be able to remove this code from your active theme’s functions.php file.

Note, this is not the exciting 2.0 release with mobile-first and Grid CSS integration. This update creates an easier way of handling custom post type templates and more.

Updated meta information about theme to validate the text-domain

Updated meta information to include links to the GPLv2 license.

Added additional Screen Reader Text styling for better accessibility

Updated the loops.php file to better handle custom templates for custom post types. The changes to the conditional logic allowed me to eliminate two additional checks. SPEED!!!!!!! woop.

Renamed the /templates/content-single.php -> /templates/content-post.php

For more information check out the updated documentation (

WPStudio’s 2nd WordPress Developer Camp

On November 27th – December 1st, will be hosting its second WordPress Developer Camp (online). This WordPress Dev Camp is an exclusive and in-depth WordPress training experience geared towards helping attendees take their WordPress skills to the next level. The only way to reserve your spot in this week-long event is to join the WPStudio Community.

This online developer camp is exactly the jump start anyone building and designing WordPress sites for clients needs to boost their productivity, skill level, and earning potential. The live, interactive, learning experiences offer a unique chance to learn in real-time while asking questions as if you were attending an in-person event.

The interactive sessions will take place every day at 11:00 am (Eastern Time) and go for three hours. The entire dev camp will last for 15 hours and includes an extensive handout/book (160 pages and counting), full replays, interactive community chat, and a Q&A system to make sure no question goes unanswered.

  • Monday – November 27th – 11:00 am – 2:00 pm
    Focus – Setting up a secure and rock solid WordPress installation. Learn how to automate many aspects of WordPress development.
  • Tuesday – November 28th – 11:00 am – 2:00 pm
    Focus – Harnessing the power of WordPress themes to customize and build EXACTLY the site your client desires.
  • Wednesday – November 29th – 11:00 am – 2:00 pm
    Focus – Extend WordPress using code and plugins to customize the experience and capabilities of WordPress.
  • Thursday – November 30th – 11:00 am – 2:00 pm
    Focus – Unlock the process (there are no secrets) to quality SEO (search engine optimization) along with optimizing the speed of your site.
  • Friday – December 1st – 11:00 am – 2:00 pm
    Focus – The future of WordPress and what it means for you as a developer who supports clients.

Remember, the only way to gain access to this unique training opportunity is to join the WPStudio Community and not only gain access to the 2nd WordPress Dev Camp but also access to the 100+ hours of training, over ten plugins and themes, and access to the community.

Read More

Danger Zone Weekend Coming October 20-21, 2017

I’m excited to announce a special (and free) event here at taking place on October 20-21, 2017. The inaugural WordPress Danger Zone event will take place over the course of five live webinar sessions. You can signup for the event below.

What do you do when something goes horribly wrong with your WordPress site? Can you prevent disasters from striking WordPress? How do you recover when everything goes wrong on your client’s WordPress websites? All of these questions and more will be answered during the WordPress Danger Zone weekend starting on October 20th. It can be frustrating and be aggravating when you start seeing your WordPress sites swerving into the danger zone. Join the WPStudio community for this free WordPress training weekend.

Read More

Code Studio (v1.1.3) released with a re-designed conditional logic meta box.

Update Posted on : August 6, 2017

Voce Theme (v1.9.9) updated with new filters along with additional code comments to help those wanting to override core theme functions.

Update Posted on : August 4, 2017

WordPress 4.8.1 Released

WordPress 4.8.1 was released today and contains 29 maintenance fixes and enhancements. The biggest feature most people will notice is the fixes to the Rich Text Widget (visual editor) and the introduction to a pure HTML Widget that will handle HTML in the widget and users won’t have to worry about the Visual/Text tab switching back-and-forth and losing any custom formatting.

Read More