Software Engineering in Web Development, Backend Services, and More

Tag: WordPress (Page 124 of 220)

Articles, tips, and resources for WordPress-based development.

Adding TinyMCE Dependencies in WordPress

If you’ve been following along with previous articles you know that over the last few days I’ve been working through a series on adding a TinyMCE button to WordPress.

Though this post isn’t exactly part of that series, it’s tangentially related and I thought it was something worth covering in case someone else stumbles across their problem in their work or if the code that shows up later in said series shows what’s up but doesn’t do a great job explaining it.

In short, when you have a JavaScript file that is a dependency on the core plugin, there’s another way of adding the dependency that does not include wp_enqueue_script.

Continue reading

Adding a TinyMCE Button to WordPress: The Plugin

If you’re interested in adding a TinyMCE button to WordPress, then this series of articles aims to do just that. In the first post of the series, I walked through some of the basic things that need to be done in order to get started with adding a custom button.

My very own copy TinyMCE Editor. Show spectacular.

My very own copy TinyMCE Editor. So spectacular.

I laid out the file organization, the basic plugin structure, some of the foundational JavaScript, and started working on the hooks that are necessary for adding a custom button.

As it stands right now, the functions responsible for adding a new button aren’t actually defined within the context of a class much less hooked into the plugin itself. So in this post, we’ll take a look at exactly how to do exactly that.

Continue reading

Adding a TinyMCE Button to WordPress

Over the years, it’s been really neat to see how the WordPress project has incorporated the TinyMCE editor into the software. That is, it’s one thing to include it into the core project, but it’s another thing to add features to it (and around it) that help improve the writing experience.

My very own copy TinyMCE Editor. Show spectacular.

My very own copy TinyMCE Editor. So spectacular.

But as developers, we’re often tasked with introducing another feature into the software. Sometimes this comes in the form of adding something like custom taxonomies or custom post types.

Other times, it comes in the form of having to introduce a new button to the TinyMCE editor. When you do that, you’re working simultaneously with the WordPress API and you’re working with the TinyMCE editor API.

Over the next few posts, I’m going to outline the process that I take whenever this is needed. Ultimately, this will aim to provide a foundation and set of steps that can be followed if you need to do the same thing, as well.

Continue reading

An Interview with Pagely on WordPress

Most of the technically-minded folks in WordPress are familiar with Pagely: They provide managed hosting for WordPress-based sites.

In addition to that service, they also publish a blog that highlights a number of different topics – anything from running case studies on WordPress SaaS products to covering the new features they are releasing to their customers.

Over the past few weeks, they’ve been running a series in which they highlight people who are involved in WordPress in some capacity and, as of yesterday, I had the honor to be featured on the blog.

Continue reading

Ask Not “What Can WordPress Do For Me?”

I love it when I see tweets like this show up in my timeline:

And it’s for multiple reasons, but I’ll get to those in a moment.

First, if you’re involved in WordPress in any capacity and you’re not following Nikhil, then he’s a solid recommendation. He’s representative of the type of developers and contributors that we need coming up to continue working on WordPress.

He’s smart, he gets things done, he shares his work, he’s constantly looking to learn, he’s constantly looking to help others, and he’s had the opportunity to intern at places like iThemes and Rocket Genius.

By the time he’s out of college, he’s going to have the education and experience to continue to do great things from the project (if he so chooses).

Though with all of that said, it doesn’t explain why I enjoy seeing tweets like this.

Continue reading

« Older posts Newer posts »

© 2026 Tom McFarlin

Theme by Anders NorenUp ↑