I’ve written a lot about the WordPress REST API for Torque, but one thing I have not covered is unit testing custom APIs. That is exactly what this article is. I used a PHP program run the code and compare the results to an expected value. If you want to learn more, I would recommend reading Pippin Williamson’s series on WordPress unit testing. It’s quite excellent and covers how to setup your local environment for testing and how to write tests. For example here is a very simple test: <?php function answer(){ return 42; } class Test_42 extends WP_UnitTestCase { […]
5 WordPress Trends to Look Out for in 2017
14 years after its initial release, WordPress continues to get better and better with age. With 2017 now here, we have new trends to look forward to. Although you may have already started noticing some of these (for example, video headers in the Twenty Seventeen theme), some are going to make their mark in the months to come. Our crystal ball has been working overtime to see what’s in store! In this post, we’ll uncover a number of trends to look out for in 2017. Let’s begin with a long-standing topic that’s now coming sharply into focus. 1. The Rise in the Number of Mobile-First Websites […]
Doc Pop’s News Drop: Wix update
Doc’s WordPress News Drop is a weekly report on the most pressing WordPress news. When the news drops, I will pick it up and deliver it right to you. Here’s a quick follow up to our WordPress Vs Wix episode from October. Since then, Wix has updated their mobile app to use an EMIT licensed code (in place of the previous WordPress code). Love WordPress news, but hate reading? This is Doc Pop’s News Drop. Back in October we talked about the time that Matt Mullenweg came out swinging at Wix.com, a WordPress competitor. “According to Matt’s post, Wix launched […]
5 Niche WordPress Events To Look Out For In 2017
Twenty-sixteen was a great year for WordCamps and WordPress meetups. According to Matt Mullenweg in his 2016 State of the Word, there were 115 total WordCamps and 3,193 meetups. That’s a lot of people coming together to celebrate WordPress. Apart from the traditional WordCamps, the year also saw a rise in niche conferences aimed at specific aspects of WordPress. Educators who use WordPress, eCommerce enthusiasts, marketers, and developers found their place at a variety of conferences. This year has even more niche conferences for users of all kinds to love. Here are six niche conferences you can’t miss this year. WP Campus When: […]
How to Optimize WordPress Videos for SEO
Video usage and popularity have increased substantially on the web lately. It’s not hard to understand why. After all, video helps simplify complicated topics, is highly popular with online users across the board, and when done correctly, improves conversion rates. Video is a powerful addition to anyone’s content marketing toolbox. Over 60% of users report that they’re more likely to purchase a product after watching a video about it. Video also helps build links — pages with video get on average three times the incoming links as straight-text pages do. If you’ve decided to incorporate video into your WordPress site, […]

4 Comments