Software Engineering in WordPress, PHP, and Backend Development

Tag: WordPress (Page 129 of 219)

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

WordPress Menu Pages and “Cheatin’ Uh?”

When working with WordPress menu page permissions, you there’s a chance that you’ll eventually come across the “Cheatin’ uh?” message.

Cheatin uh

In short, this particular message shows up whenever a user of a certain role with a certain set of capabilities is trying to do something that they aren’t permitted to do. For example, say that you have an Editor who is trying to save options on a page created by the Settings API.

Technically speaking, this should be straightforward:

  1. Create the options menu (via, say, add_menu_page)
  2. Populate the page using the Settings API
  3. Allow the user to save the information

When defining add_menu_page, you have to specify a capability for which the user has the ability to save the options. Luckily, the Codex has a page that makes it really easy to know what capabilities are available to each role.

But what happens when you’ve defined a capability for a menu page and you’re still getting an error message when trying to save the data?

Continue reading

Resources For The WordPress Theme Customizer

With the recent change to WordPress.org requiring themes to use the WordPress Theme Customizer in their work, WordPress designers and developers have been talking about it and discussing it for several weeks now.

And rightly so: Many of us are fans of the customizer, many are not, some fall in between, and some wish that there was a compromise.

As far as I’m concerned, that’s fine (though maybe I’m biased because I tend to be a fan of the Customizer), but whatever the case, this doesn’t change the fact that there’s a lot of education that needs to happen around how to use the API – which isn’t terribly difficult (in comparison, to say, the Settings API) – and how to make the transition over to it.

Continue reading

Using SiteGround For WordPress Hosting

As if this is actually news to anyone, one of the number one choices that have to be made when hosting a website is where to actually host the site. And there’s no shortage of hosts from which to choose.

For beginners, it’s easy to look for cheap hosting, for more advanced users, it’s easy to look at managed hosting, dedicated hosting, VPS hosting, and for some businesses, it’s even best to look for reseller hosting.

Regardless where you fall, hosting is one of the most critical components that comes with running your own website – especially as it starts to grow beyond a basic blog and/or a basic site.

Over the years, I’ve experienced a number of different hosts – some great, some not so great – and I’ve usually blogged about a number of them. But as this site has continued to grow and as Pressware has continued to grow as well as head into a different direction, I opted to change hosts sometime ago.

Continue reading

A ThemeFuse Theme Giveaway

Comments are closed. The winner has been selected and contacted. Thanks to all who participated!

Back in December, the team at ThemeFuse was kind enough to offer a giveaway and have offered to do the same again this month.

ThemeFuse Theme Giveaway

Since I try to take advantage of certain opportunities that help benefit those of you who are budding and/or experienced WordPress bloggers, designers, developers, and so on, I thought that it would be a good idea to go ahead and take them up on a second offer.

Continue reading

Using The WordPress Admin is All Wrong

I could completely be in the minority in what I’m about to say, but when I see phrases such as “The WordPress Admin,” I cringe a little.

Maybe I’m being a bit legalistic, but hear me out: All throughout the backend of WordPress, we see the phrase “Dashboard.” In fact, it’s the first menu item that we see.

Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑