Tom McFarlin

Software Engineering in WordPress, PHP, and Backend Development

Page 58 of 428

Adding Custom WordPress Plugin Links

If you’ve ever built a custom plugin for yourself or for someone else, then you’ve likely done something with the WordPress plugin links even if it’s just providing author information a URL to the homepage for the plugin.

And you know what I’m talking about: These are the links that appear below the name of the plugin.

WordPress Custom Plugin Links

According to the code reference, this information is:

The plugin’s metadata, including the version, author, author URI, and plugin URI.

Occasionally, though, you may find that you want to add or modify the links. That is, you can add your own custom links to appear in the list below.

Continue reading

Shorter Blog Posts, Revisited

A little over three years ago, I wrote a post about starting to write shorter blog posts. And in that particular posts, I made two comments that I think are still relevant but that I’ve gotten away from doing.

First, I wrote:

Because the truth is with the amount of information coming from other blogs, Twitter, and whatever other social networks and news sources you read, odds are that this site is one that can also be easily marked as read or thrown into Pocket oblivion never to be read again.

And I also wrote:

Secondly, it’ll aim to be more to the point than anything else. The idea being that you can load up the article, read through it quickly, save whatever information you’d like (or not), and then move on to whatever’s in your queue.

I don’t know if old habits die hard or if I’ve simply gotten away from it and back to writing longer form writing because that’s how I tend to write.

Shorter Blog Posts: Revisited

But I don’t want all of my posts to be that way.

Continue reading

WordPress Taxonomies: Terms, Parents, Children

Programmatically creating taxonomies seems to be a point that comes up now and again for those who are building solutions for others on WordPress.

Taxonomies themselves can even be a little confusing; however, I’ve found that the following usually helps to solidify the concept a bit:

Hierarchical taxonomies are analogous to categories; non-hierarchical taxonomies are analogous to tags.

But still, let’s say that you’re creating a solution for someone such that you need to import information as a post and apply a taxonomy to it. Further, perhaps you want to apply a parent taxonomy to the post, as well.

How can we do that?

Continue reading

WordPress Widgets: Refactoring, Part 10

As far as the WordPress Widget Boilerplate refactoring goes, we’re at a good place. A lot of work has been done such that introducing new classes, features, and functionality should be much easier.

And not only that: It should be easier to follow.

Thanks the work in the last post, we have a lot of work to build off of – namely, an basic administrative interface.

WordPress Widget: UI Improved

Finally, the last post said:

Over the next few articles, this is going to continue to evolve but, as you can see, we’re making sure that we have a single base class of functionality for talking with WordPress and a class specifically for rendering the administrative form.

And that’s where we’re going to pick up in this article. Specifically, we’re going to look at sanitizing and serializing the data as well as retrieving the data saved in the widget.

Continue reading

Episode 2 – It’s a Foundation

Though I still consider this whole podcasting thing an experiment, and likely will continue to do so for a while, I’m excited to have the notes ready for the second episode.

Episode 2 - It's a Foundation

Depending on where you subscribe, you may already have listened to it or have it queued up. But I’ve got the show notes for the episode in this post.

And for those who are still curious the answers are:

  • Yes, it will be your new favorite podcast
  • Yes, this episode is longer than the first,
  • Yes, I still throw a mention to Matt,
  • And yes, I have a more structured format.

I don’t know how much more I could’ve put into what’s just the second episode, but you can be the judge.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑