Category: Development

  • YouTube Embed: One of the Best WordPress Video Player Plugins to Try in 2023

    YouTube Embed: One of the Best WordPress Video Player Plugins to Try in 2023

    WordPress theme company, Astra, have reviewed video player WordPress plugins and consider my very own YouTube Embed to be one of the best.

    And, to be fair, it was a tough crowd. Whereas YouTube Embed is specifically just for YouTube videos and then only using the capabilities of Google’s own API, the rest of the list were not such constrained, often providing their-own bespoke players for any kind of video.

    Never-the-less to be regarded amongst the others, many of which are commercial offerings, was an honour. Indeed, their favourite was listed at position 1, but they don’t make it clear if their “Top 10” is in order. If it is, my plugin is number 3, which makes even better. And, the top 2 are both commercial, paid-only options. Whatever the case here, they had little negative to say other than the fact that the plugin makes use of shortcodes.

    If you’re looking for a powerful method of embedding your YouTube videos in WordPress, you know where to look!

  • How to add PHPCS checking to Visual Studio Code

    How to add PHPCS checking to Visual Studio Code

    If you’re rocking VS Code and would like to automate PHPCS checking from within the editor, look no further.

    Not installed PHPCS yet? Check out my guide first. Once that’s done, thankfully, the process to do this is quite simple…

    (more…)
  • Installing PHPCS on MacOS

    Installing PHPCS on MacOS

    If you’re developing for WordPress then, in my opinion, use of PHPCS to help validate your code is critical.

    However, anyone can develop without necessarily being a whizz with the command line (and I include myself in that bracket). So, having just gone through a PHPCS install with a freshly-baked MacBook, I thought I’d share the process. If only for me the next time I do it.

    (more…)
  • Enemy of the (business) people

    Enemy of the (business) people

    Positions such as yours take [away] even the slightest incentive for plugin creators to create great plugins for free

    This was feedback given to me in the WordPress.org forums after I left poor feedback for a plugin. I’ll write about the specifics of this separately, but essentially a plugin was doing some particularly nasty advertising practices which, I believe, are against the guidelines. It’s also been reported to the Plugin Review team so I’ll leave it up to them to be the final arbiter.

    But, yes, the developer didn’t take the review well.

    (more…)
  • WordPress function to check if a minimum set of requirements are met

    WordPress function to check if a minimum set of requirements are met

    Combining a couple of older functions, adding in some further automation and generally bringing them to a higher code quality, I’ve now created a new WordPress function for checking minimum requirements for a plugin.

    The idea is, you add this to your plugin and, when run, it ensures that certain checks are passed. If not, a message is displayed and the plugin is deactivated.

    (more…)