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

Solution

A Telescope

Improve Genesis Theme Search

Last updated on October 3, 2017 by Sal Ferrarello

Over on the Yoast SEO Blog there is a great post on How to Improve WordPress Search. It is definitely worth a read (I can wait if you want to read it right now). I’m a big fan of the Genesis framework (see Why I Use the Genesis Framework) and implementing some of these changes […]

Filed Under: Programming, Solution Tagged With: Genesis, search, WordPress Plugin

Technician sanitizing operating equipment

WordPress sanitize_title() in JavaScript

Last updated on October 20, 2022 by Sal Ferrarello

Update While this article details my exploration in recreating the WordPress sanitize_title() behavior in JavaScript, since it was originally written WordPress core has added cleanForSlug(), which is part of the npm package @wordpress/url. I recommend using cleanForSlug() over this code. I was working on a project where I needed the functionality provided by the WordPress […]

Filed Under: Computing, Programming, Solution Tagged With: JavaScript, WordPress, WordPress Plugin

Jigsaw Puzzle Pieces

CMB2 Dependency with Composer

Last updated on June 19, 2023 by Sal Ferrarello

Here is the short answer for how I installed CMB2 as a dependency with Composer for my plugin.

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

An unsolved Rubik's Cube

Solving a Rubik’s Cube

Last updated on May 1, 2023 by Sal Ferrarello

I’m a big fan of the Rubik’s cube and the mystery surrounding them. I can remember messing up a Rubik’s Cube and then handing it off to my grandfather who would take it home, solve it, and return it to me a few days later. How to Solve a Rubik’s Cube There are a few […]

Filed Under: Solution Tagged With: puzzle, Rubik's Cube, toys

A large pile of credit cards

Test Credit Cards

Last updated on April 17, 2018 by Sal Ferrarello

The following is a reference I’ve created for myself for test credit card numbers when dealing with different payment Gateways. Note: These test numbers only work when the transactions are submitted in Stripe’s testmode (or to the sandbox for Authorize.net). More information on: Authorize.net sandbox Stripe Test Mode Authorize.net Test Card Brand Number American Express […]

Filed Under: Dev Tips, Solution Tagged With: e-commerce

Life Saver Hanging on Wall

Why I Don’t Provide Support via Email

Last updated on January 25, 2017 by Sal Ferrarello

You’re probably reading this email because you contacted me with a support question regarding one of my open source projects. I’m glad to hear you are finding my project useful and I hope I can help you with your issue. However I don’t provide free support for these non-commercial projects via email. It is likely […]

Filed Under: Programming, Solution Tagged With: troubleshoot

PHPMailer Logo with Bug

WordPress PHPMailer Vulnerability

Last updated on January 3, 2017 by Sal Ferrarello

There is a vulnerability in the PHPMailer library that affects any version before the critical release of 5.2.18. This PHPMailer vulnerability has been publicly disclosed at legalhackers.com. The PHPMailer library version 5.2.14, a vulnerable version, is included in WordPress 4.7 (the latest version at the time of this writing). In other words, WordPress 4.7 and […]

Filed Under: Computing, Programming, Solution Tagged With: WordPress

Improve Git Log

Last updated on June 30, 2023 by Sal Ferrarello

By default the output of ‘git log’ is not nearly as useful as it could be. By creating a new command ‘git lg’ that uses some of the options available to ‘git log’, we create a much more useful command.

Filed Under: Computing, Programming, Solution Tagged With: Git, git alias, git log, gitconfig

Remove Paint Scrape from Car

Last updated on September 27, 2016 by Sal Ferrarello

Unfortunately, recently our garage was a little too narrow when pulling the car into it. The side panel scraped the wall and some of the paint scraped off the wall and transferred onto the car. Before Equipment WD-40 Paper Towels Magic Eraser Rag Soapy Water Car Wax & Towel Instructions Step 1: Remove the Paint […]

Filed Under: Solution Tagged With: lifehack, macgyver

Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings

Last updated on November 15, 2016 by Sal Ferrarello

You’ve probably arrived on this page because you updated to WordPress 4.6 and now all of the backend pages (those in /wp-admin) are showing an error similar to the following. Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings::__construct() must be an instance of stdClass, instance of WP_Post_Type given, called in /srv/www/genesis/htdocs/wp-content/themes/genesis/lib/admin/menu.php on line 122 and […]

Filed Under: Computing, Solution Tagged With: Genesis, WordPress

  • «Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 13
  • Go to page 14
  • Go to page 15
  • Go to page 16
  • Next Page»

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