Posted on , WordPress

How to display draft posts in the blog loop

The other day I realized that I had a lot of posts sitting in draft mode, but I wanted to have a look and see what the Blog loop looked like. Obviously viewing the draft post isn’t a big deal. I began to wonder if it was possible to display draft posts in the blog…

Posted on , Development

How to make WordPress play nice behind Flexible SSL

Flexible SSL is more than a fancy word. It’s an alternative to the more complicated and sometimes expensive method of adding a secure HTTPS connection to your site. Having a secure website isn’t just good for authentication, data integrity, or encryption. It is also something that Google will factor in when ranking your site. It…

Posted on , General

Simple OSX and MAMP development platform.

Like it or not, MAMP is an excellent tool for local development. If you work on multiple sites or projects at the same time across different frameworks and or CMS’s then MAMP will make your life simple. This MAMP development setup is what I have used for years while working on many freelance projects, personal…

Posted on , WordPress

Caching – “Because It’s Faster, Of Course”

Never blindly trust that a caching solution will help make your site faster

Previously I wrote about Effective caching with WordPress and how I ended up improving the site speed by nearly 400%. I wanted to talk more about how you should never blindly trust that a caching solution will help make your site faster. The basic concept of caching is to save the server time by keeping…

Posted on , Content

Quickly add the Facebook Messenger Customer Chat Plugin to your site.

Facebook Messenger plugin allows for cross-platform communication.

The Facebook messenger chat plugin for websites is a great way of communicating with your audience and providing customer service. This will also tie into your Facebook page insights. Install the Facebook SDK Install the Facebook Javascript SDK and include the code just after the opening <body> tag. Find your App ID by visiting the…

Posted on , Development

Debugging with PHPStorm and Xdebug

See what's under the hood.

Setup If you haven’t configured MAMP to use Xdebug yet then you can do so by reading this quick article. In addition, add the following just under zend_extension. It should be noted that Xdebug should not be on your production server and enabling the remote_connect_back flag is also not recommended for publicly accessible staging servers…

Posted on , Development

MAMP and Zend Xdebug

This is more of a simple note to self. But after setting up a fresh computer, all of those fuzzy little bits about getting MAMMP to work perfectly slip my mind. The one thing that can be a little confusing with MAMP is the multiple config locations. For example, I am running PHP 7.1.8 and…

Posted on , Development

Effective caching with WordPress

You can only throw so much money at a problem before you are forced to fix it.

Effective caching with WordPress is not always a straightforward as it should be. WordPress has had the same architecture for many years, but it’s a large undertaking to revamp it. It means losing compatibility with hundreds of thousands of plugins and themes. Because of this WordPress runs a bit slower and needs some finer attention…

Posted on , WordPress

WordPress is working on a block editor called Gutenberg!

I have a long and tumultuous relationship with WordPress. All the way back to version 0.7. Then, updates were not nearly as reliable. But WordPress has grown a lot since then. Well, at least everything except the content editor. Sure, we have a better media manager, Post Meta, Post Formats, Revisions, and all kinds of…

Posted on , Trouble Shooting

Laravel 5.5 issue on PHP 7.0

How to install Laravel 5.5 with PHP 7.0

This is more of a note to myself, But a while back when Laravel announced that it would have minimum support for PHP 7.0 I thought nothing of it. My server was running Ubuntu 16.04 so I had PHP 7.0 Fast forward and Laravel 5.5 is out and ready for the masses. A few updates…

Posted on , Development

Image rotation is not supported by your web host.

When you build your own Web Server you are bound to run into little issues. In my case, they always seem to be WordPress related… Previously I had an issue connecting JetPack to WordPress.com, you can read about that here. Recently I attached a Featured Image on a blog post and went to rotate the…

Posted on , Frontend

Bootstrap centered nav menus

I have used the CSS Frameowker Bootstrap now since version 2. Bootstrap 4, as I’m sure you know, is nearing maturity and it was time to rebuild my theme using Bootstrap 4. I wanted to maintain a justified and centred navigation menu. This was easier to do than I had thought. I build my menus…

Posted on , Frontend

Getting Popper.js to work properly with Codekit.

Seems like everything is harder than it needs to be. Using Bootstrap 4 requires Popper.js for things like Tool Tips and Dropdown menus to work. Bootstraps own site is less than helpful when it comes to building your own code, to be fair they are still in Beta. But Popper’s own site is maybe less…