Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 60 of 427)

Migrating From Bitbucket to GitHub: The Complete Guide

When it comes to Bitbucket and GitHub, each offers their advantages and disadvantages. I’ve used them both and like them each for different reasons.

Migrating From Bitbucket to GitHub: Bitbucket

But I prefer GitHub for a few more reasons than Bitbucket (the least of which is not that my organization was hosted there). And I like to have everything, more or less, under the same service.

Migrating From Bitbucket to GitHub: GitHub

I’ve spent some time over the past week migrating from Bitbucket to GitHub. I currently maintain two personal accounts:

  • one for myself,
  • one for Pressware.

I’ve opted to downgrade my organization account to a personal account to save money and because I’m more or a less a company of one who occasionally has collaborators.

Various guides online leave something to be desired when it comes to walking through how to go about migrating from Bitbucket to Github, so I thought I’d share my experience for doing that.

Continue reading

Tags Without Links 1.4.0

A few years ago (as in about five years ago), I released a simple plugin called Tags Without Links. You can read the initial post, too.

In the post, I mention:

In a few recent client projects, I’ve had the need to display WordPress tags without links. Sure, this is relatively easy to do with a foreach loop, but I got tired of writing the same code.

Last week, when I signed into GitHub, I noticed that others were still forking this plugin. And since so much time has passed, there’s still utility in this plugin, and since my development style has changed so much, I opted to refactor the plugin.

Tags Without Links 1.4.0

So the latest version of Tags Without Links is available, but this post will also describe some of the changes I’ve made (for those who are interested in such).

Continue reading

WordPress Widgets: Refactoring, Part 5

In the previous post, we created a Registry that is going to be used to store all of the various classes responsible for giving our widget its functionality.

To do this, there’s going to be a variety of other classes introduced, but before going there, we need to add the Registry to the plugin’s bootstrap (let alone create a bootstrap for the plugin).

Specifically, here’s where we left off:

As mentioned earlier in the post, we need to add this to the bootstrap of the plugin. To do this, though, we need to define our own filter so that we can easily pass the registry around the rest of the plugin (when the time comes to do that).

So in this post, we’re going to focus on doing exactly that.

Continue reading

Adding a Plugin Settings Link

Whenever you’re building a plugin that introduces a submenu, and you’re using the proper APIs, you’re going to be creating an administration page (whether or not it has settings).

When doing this, though, you can also introduce a plugin settings link. These are the links that appear under the name of the plugin from in the plugin dashboard.

Plugin Settings Link

If your plugin introduces its submenu item, then it likely introduces its own settings page. And if you’re looking to associate this page with your plugin settings link, it’s really easy to do.

Continue reading

Easier Excerpts 1.9.0 (with Gutenberg Support)

It’s been almost three years since I released the first version of Easier Excerpts. It remains one of my simplest plugins (with Scheduled Post Shortcut being the other); however, it’s one that I dogfood the most.

Now that WordPress 5.0 is out (and, at the time of this writing, WordPress 5.0.2), Gutenberg is out, as well. And with the new editor comes a new way to write excerpts.

So, before the holiday break, I pushed an update to Easier Excerpts that has support for both editors.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑