I recently finished a WordPress project that needed a “podcast” custom post type. The post type required restricted use to one user role, however, I noticed that the custom post type was available to all user roles. I then changed the capability_type argument to “podcast”, and the custom post type disappeared completely. It dawned on me that [ Read More… ]
Category: Past Tutorials
These tutorials are most likely deprecated and will no longer be updated.
The folllowing tutorial is based off my recent experience setting up a LEMP stack on an Ubuntu installation hosted by Digital Ocean. Setting up a Multi-Site SSL isn’t difficult. The “gotchas” is in your server block’s .conf file. Before we get to that part, set up your Digital Ocean Droplet before installing WordPress with the following [ Read More… ]
Foundation 6 Menu Walker Class for WordPress
It’s about that time again. New menu walkers for the new and improved Foundation 6. Last year I posted a menu walker class for Foundation 5, but this year I’m dropping 2, one for the Top Bar and another for the Drill Menu. You’ll notice these Walker classes are streamlined, only using one method. Fall Back [ Read More… ]
Send Push Notifications with WordPress
Why send push notifications with WordPress you ask? The WP REST API will soon become part of the WordPress core, and you may want to someday integrate your WordPress site with an iOS app. To be clear, this tutorial will cover how to get selected WordPress data to the Parse.com service. We will not be covering [ Read More… ]
Swift: View WordPress Posts Natively In iOS
NOTE: Xcode 7 and Swift 2.0 was used for this tutorial × In a previous tutorial I covered how to display single WordPress posts in a UIWebView. This particular tutorial is in response to a question I received, asking is it possible to display WordPress posts natively in iOS instead of using a UIWebView. The quick [ Read More… ]
Swift: View a WordPress Post in your iOS App
The following tutorial is a continuation of the Create a WordPress Latest Posts iOS app in Swift tutorial. Now that you know how to generate a basic table displaying your recent WordPress posts, how do we actually see each individual post when a table cell is selected? The Approach There are a few ways to approach [ Read More… ]
Swift: Login to WordPress from your iOS App
This tutorial will cover a basic approach to logging into your WordPress site from your iOS using Swift. First, I’m going to start in Xcode by setting up our most basic of login app. Check out the OAuth2 version of this tutorial Create your project What we’re using in this tutorial: Xcode 7.2 Swift 2.1 Alamofire 3.1.4 SwiftyJSON 2.3.2 [ Read More… ]
Quick Tip: Javascript Equivalents to jQuery
If you’re a developer, your initial knee jerk reaction to the “Javascript Equivalents to jQuery” title is, “Hey #$%! it’s the other way around!” And of course, you are correct. But many of us started with jQuery first. While I’m not one of those, I did find myself relying more and more on jQuery. Now [ Read More… ]
Bulls Eye Centering with Flexbox
In a previous quick tip I showed you how to center elements with the transform attribute. Today we’ll try it with Flexbox. Please refer to MDN’s definition of Flexbox. Now let’s get started with basic centering… I did say “Bulls Eye”, didn’t I? .container { display: -webkit-flex; /* Safari */ display: flex; width: 100%; height: [ Read More… ]
Vertical Align Sass Mixins
Vertically and horizontally center relative positioned elements @mixin vertical-align { position: relative; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); margin: auto; } Vertically and horizontally center absolute positioned elements @mixin absolute_vertical_align() { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: [ Read More… ]