• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)
You are here: Home / Archives for WordPress Plugin

WordPress Plugin

Apothecary's balance photograph

Why I prefer CMB2 over ACF

Last updated on July 19, 2017 by Sal Ferrarello

When working in WordPress, it is common to extend the platform with Custom Fields that go beyond the default functionality. Two popular choices are Advanced Custom Fields (ACF) and CMB2. My Preference My personal preference is CMB2. At the same time, there are many developers I know and respect who prefer ACF and use it […]

Filed Under: Computing, Dev Tips, Programming, Recommendations Tagged With: WordPress, WordPress Plugin

Jigsaw Puzzle Pieces

CMB2 Dependency with Composer

Last updated on May 23, 2019 by Sal Ferrarello

Here is the short answer for how I installed CMB2 as a dependency with Composer for my plugin. { “require”: { “cmb2/cmb2”: “^2.2” }, “autoload” : { “files”: [ “vendor/cmb2/cmb2/init.php” ] }, “extra”: { “installer-paths”: { “vendor/cmb2/cmb2”: [“cmb2/cmb2”] } } } Details of composer.json Require The require section, tells Composer the package (and version) we […]

Filed Under: Dev Tips, Programming, Solution Tagged With: CMB2, WordPress, WordPress Plugin, WordPress Post Meta

A larger speech bubble with a smaller speech bubble inside it.

Modify Comment Parent WordPress Plugin

Last updated on May 17, 2017 by Sal Ferrarello

This WordPress plugin allows you to modify the comment parent for a given comment. Why Would One Need This? Sometimes when replying to a comment, I fail to reply and instead create a new comment. This prevents the comment thread from displaying properly. In the past, I’ve fixed this directly in the database. This plugin, […]

Filed Under: Programming Tagged With: comments, WordPress Plugin

Screenshot of Toolset Metabox Above WYSIWYG Editor

Move Toolset Metabox Above WYSIWYG Editor

Last updated on May 15, 2017 by Sal Ferrarello

I recently had a request to move a WordPress custom metabox created with the Toolset Types plugin above the WYSIWYG Editor (a.k.a. Visual Editor). While this seems like a simple request, as so often happens in programming this was more complex than expected. The Solution The solution is to check the global variable $wp_meta_boxes early […]

Filed Under: Programming Tagged With: Toolset Types, WordPress, WordPress Plugin

Yoast SEO Eliminate Notifications

Last updated on April 26, 2016 by Sal Ferrarello

I am a huge fan of the WordPress plugin Yoast SEO, however I’m not a big fan of the notifications it includes. Leveraging the power of WordPress filters, we can suppress these messages. The following information is based on Yoast SEO 3.2.3 and may not be accurate for other versions. The Notifications to Eliminate There […]

Filed Under: Programming Tagged With: WordPress, WordPress Filter, WordPress Plugin

SemVer for WordPress Plugins

Last updated on November 30, 2015 by Sal Ferrarello

I’m a big fan of Semantic Versioning, where each version is made up of three numbers: major version minor version patch (a.k.a. bug fix) version I’ve found there are some nuances when maintaining a WordPress plugin and maintaining SemVer for it. Here are some notes to help. Major Version Increment Anytime the plugin makes breaking […]

Filed Under: Programming Tagged With: WordPress, WordPress Plugin

Increase “Tested up to” Value for WordPress Plugin

Last updated on January 28, 2022 by Sal Ferrarello

For the purpose of this exercise, I’m going to update the Tested up to value for my Stop Emails plugin, without creating a new release. Get Your Subversion Repository URL This URL is available on the Developers tab of your plugin on wordpress.org in the Subversion Repository link. In my case, the url is http://plugins.svn.wordpress.org/stop-emails/. […]

Filed Under: Programming Tagged With: svn, WordPress, WordPress Plugin

Loading a Private WordPress Plugin with Composer

Last updated on February 4, 2017 by Sal Ferrarello

Previously, I described my process in loading WordPress.org plugins via composer, however, a number of plugins I use are private plugins (either because they are commercial plugins I’ve purchased or internal plugins I’ve written). One can use composer to load these plugins by doing two things: Create a repository for the plugin (this can be […]

Filed Under: Dev Tips, Programming Tagged With: composer, WordPress, WordPress Plugin

Composer WordPress.org Plugins

Last updated on March 10, 2017 by Sal Ferrarello

I’ve recently been introduced to managing WordPress.org plugins via Composer. This makes it more convenient when excluding plugins from your working repository. Composer is capable of doing far more than managing plugins but at this point, that is the extent of how I’m using it. This allows me to exclude my plugins via .gitignore yet […]

Filed Under: Dev Tips, Programming Tagged With: composer, WordPress, WordPress Plugin

Elephant Representing WordPress Large Data Set

WordPress Ajax to Avoid Timeouts

Last updated on October 29, 2014 by Sal Ferrarello

I’ve created my Iron Ajax plugin to help me deal with processing large data sets in WordPress, . This is a tool for developers, it does not provide any value to end-users until additional code is hooked into this plugin. WordPress Timeouts When working with large datasets in WordPress, timeouts are often an issue that […]

Filed Under: Programming Tagged With: ajax, WordPress, WordPress Plugin

  • «Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Next Page»

Copyright © 2023 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in