Programming Archives - Page 2 of 2 - Ryan Kienstra

SVN Script

WordPress Plugin SVN Script

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 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

Breadcrumb Icon

WordPress Breadcrumbs

By: Ryan Kienstra on: October 14, 2014  in: Programming

Breadcrumbs at the top of the page help readers see where they are, and where they can go. One problem is that functions that automatically echo breadcrumbs make a link for each of the pages. But some pages are only placeholders. For example, if you try to click “Plugins” at the top of this page, […] Read more

Git Push Image

WordPress Git Workflow

By: Ryan Kienstra on: October 14, 2014  in: Programming

WPEngine has a full git system that lets you test on a staging server before deploying. There won’t be any downtime, and you can test all changes on a full “mirror” site. You can push code to the staging server in seconds. After testing it, deploying to production takes one click and a 30 second […] Read more

Flat Icon Typewriter

Moving From Blogger To WordPress

By: Ryan Kienstra on: October 13, 2014  in: Programming

Blogger sites migrate to WordPress well. I recently moved a Blogger site to a WordPress self-hosted site. As you would expect from Google, the code for the posts was great. After importing it in WordPress, all of the formatting was the same as on Blogger. The images and videos looked the same. You may want […] Read more

WordPress Security (For Programmers)

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