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: WordPress
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… ]
Custom Sort Backend Posts In WordPress
There were probably instances where you wished you could custom sort posts in WordPress. There are a few very good plugins out there that accomplish this task. This brief tutorial will show you how to apply the sorting function to the All Post Screen itself, bypassing the need to create a submenu or settings page. [ Read More… ]
WordPress Menu Walker Class for Foundation 5
I’ve been using Foundation for the past few years. Nearly all of my custom WordPress themes have been built on Foundation. However, it’s not without it’s minor faults. In this instance, the fault could be split in half, starting with WordPress’s default wp_page_menu menu function. If you’re developing a theme for a client, this isn’t [ Read More… ]