Category results for: WordPress

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

Proper WordPress menus with Bootstrap 4

Bootstrap 4 has come a long way, but it doesn't fit inside of WordPress all that well.

One common struggle with WordPress is the integration of menus with different front-end frameworks like Bootstrap. Making them work out of the box is impossible and requires some goofing around. In this article, I will show you how to make some simple adjustments to your menu that will allow you to easily style them with…

Posted on , Development

Handle, The Child theme for Axe

Every Axeneeds a Handle

I created Axe (Which you can find here) to aid in my day to day workflow with WordPress, and once I had built enough sites using it. Refining the setup as I went, I was ready to make a child theme. Naturally, every Axe needs a Handle. One notable difference in flexibility is the use of…

Posted on , Development

Enabling Memcached in MAMP4

Make it Speedy!

I do all of my Laravel and WordPress locally using MAMP. I like to keep my development process as simple as possible and MAMP lets me do just that. But sometimes you need just a little bit more than what comes out of the box. Caching is an important part of that development cycle and…

Posted on , Development

Simple Cache buster for WordPress

Bust it by Design.

As with the Simple Cachebuster for Laravel I found myself needing a way to invalidate a WordPress sites assets. So as I did before, I opted to add a task to my gulpfile.js that will generate a file in the root of the site for me. /wp-cache-buster.php that simply contains a timestamp. The difference with…

Posted on , Development

Axe WordPress Starter Theme

Cut through the BS and get straight to work!

Axe is a simple bare bone WordPress starter theme structure. It’s a theme meant to be a starting point to get you set up and running as fast as possible. My workflow might not be very orthodox but I typically review the design, Setup my Custom post types using Custom Post Type UI and setup…

Posted on , Development

Problems connecting your WordPress site to Jetpack.

XML-RPC server accepts POST requests only

After setting up a fresh install of WordPress on my new Digital Ocean box with PHP 7.0 I had a few issues reconnecting my Jetpack accounts. I got the error XML-RPC server accepts POST requests only and after doing some research found out it’s caused by a missing PHP extension for XML that handles Dom…

Posted on , Development

Full control over WordPress menus.

Sometimes you just need 100% control over your WordPress menus.

Calling wp_nav_menu() directly has its place, but typically your walker function that might generate a Bootstrap compatible main menu might not be ideal for a footer, location selection, or sidebar link list. Using wp_get_nav_menu_items() will give us access to every part of the menu object. Title, Link, Class name, and window location. Don’t forget to…

Posted on , Development

Simple Cache buster for Laravel

Caching busting with Laravel is super simple. It comes with something called Mix ( or Elixer ) that handles front-end processing. Unfortunately, my front-end requirements have some specific needs that prevent me from taking advantage of Mix. The site uses Docker and is also behind a proxy cache so there wasn’t a simple way that…

Posted on , Development

Using WordPress with Lumen

Lumen, WordPress, Python, and Django. Oh My!

At work, I needed a fast and flexible way to present structured data that can be consumed by Python. This was done using WordPress leveraging Custom Post Types and Advanced Custom Fields. Simply put. WordPress is the admin interface. To present the data I chose to use Laravel 5.0 and It took about an hour…

Posted on , Archived

Implemented Bcrypt to Hash Stored Passwords

If it's worth doing, it's worth over doing.

I made a large improvement to the way we hash our user passwords on Tentacle CMS. Originally Tentacle was using the default method of hashing passwords used in Dingo, This was a SHA1 hash. Still decent but not really up to newer standards. When a login is processed the username and password are submitted and…