Plugins Archives - Ryan Kienstra
By: Ryan Kienstra on: June 24, 2018 in: Plugins
When you’re developing a new feature, it sometimes helps to write a a WP-CLI script to create a test page. This helps with: Your development Code reviews QA Here are some examples where creating test pages with WP-CLI can help. Embed Test Page On the AMP plugin, we added support for native WordPress embeds and […]
Read more
By: Ryan Kienstra on: May 27, 2018 in: Communication, Plugins
WordPress.org plugin support topics are a good way to know how real people are using your plugin. They’re also a chance to win back people that have doubts. Here are some points that have helped me in responding to plugin support topics. Be Personal Thanks for letting me know about this. Using “me” and “I” […]
Read more
By: Ryan Kienstra on: December 23, 2014 in: Plugins, Programming
Starting a software project is exciting. But it’s good to uncover as many challenges as you can. Before you start. Here are my first steps in estimating WordPress development cost. Think of all possible challenges in your project, based on your use cases. For each one, ask: 1. What’s the challenge? 2. Can you solve it? 3. How hard is […]
Read more
By: Ryan Kienstra on: October 16, 2014 in: Plugins, Programming
Here is a script that I use to push my plugin files from the local development file to the wordpress.org plugin repository. Set your own variables at the top. Before committing, I like to check: The version numbers in main plugin file ( header and constants ) The stable tag in readme.txt ( Changelog and […]
Read more
By: Ryan Kienstra on: October 13, 2014 in: Plugins, Programming, Security
WordPress recommends adding this line to the top of every theme file to prevent direct access: <?php defined( 'ABSPATH' ) or die( 'No direct access!' ) ; ?> Adam Onishi’s book Pro WordPress Theme Development recommends adding this to the functions.php file: remove_action( 'wp_head', 'wp_generator' ) ; remove_action( 'wp_head', 'rsd_link' ) ; remove_action( 'wp_head', 'wlwmanifest_link' ) […]
Read more
By: Ryan Kienstra on: October 12, 2014 in: Plugins, Security
There are probably more threats to your site than you think. But some simple steps can make it safer. Limit Login Attempts Installing the WordPress plugin Limit Login Attempts is a great first step. The hosting company wpengine.com installs this in every site. Obscure Username When you’re setting up your site, try to make your […]
Read more