• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Draft Posts
  • Speaking
  • Connect
    Twitter GitHub
You are here: Home / Archives for Dev Tips

Dev Tips

Tree with Lots of Branches Growing Out of It

Introduction to Post Meta

Last updated on October 19, 2018 by Sal Ferrarello

Extending WordPress Posts By default, WordPress posts include a Title and the Content. If we want to store additional information with a post, we need to store it somewhere. In this example, I want to look at adding a Subtitle to a post. I’ve presented this topic at conferences and the slides for my Introduction […]

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

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

Multiple fork utensils arranged neatly

Contributing on GitHub

Last updated on May 4, 2017 by Sal Ferrarello

When I first started contributing to projects on GitHub, I had a difficult time with keeping my work and the original project in sync. Eventually, I found a way that works for me. Step 1: Fork the Repository I do this with the GitHub fork button. As an example, if I wanted to contribute to […]

Filed Under: Dev Tips Tagged With: Git

A runner at the starting line

Genesis Starter Theme

Last updated on April 18, 2017 by Sal Ferrarello

As a WordPress developer, when I’m building a WordPress theme my strong preference is to build on the Genesis Framework. I’ve written about Why the Genesis Framework is Great. Pre-Made Genesis Child Themes The Genesis Framework is a parent theme that needs a child theme to go with it (Genesis does the heavy lifting and […]

Filed Under: Dev Tips, Programming, Recommendations Tagged With: Genesis, WordPress Theme

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

Text Editor Picture with WordPress Logo

WordPress Development Editor

Last updated on February 8, 2017 by Sal Ferrarello

Recently, the question came up about a good editor for WordPress development. The Editor You Know is the Best Editor WordPress development does not require any specific editor. If you already have an editor you know and like, I suggest sticking with it. If your editor is extensible through plugins or configuration, I would look […]

Filed Under: Dev Tips, Programming Tagged With: vim, WordPress

Man with Eyes Covered

.gitignore for WordPress

Last updated on August 8, 2018 by Sal Ferrarello

Originally when I started using Git with my WordPress projects, I checked in all the files (WordPress core, plugins, themes, and even uploads). Over time I’ve found that to be less than ideal. My preferred .gitignore file appears below and it ignores everything by default. This allows me to whitelist only those plugins and themes […]

Filed Under: Dev Tips, Programming Tagged With: Git, WordPress

Bowl of M&Ms

Why Capitalize the P in WordPress?

Last updated on January 6, 2017 by Sal Ferrarello

In the WordPress community, I’ve found there is an over-emphasis on capitalizing the P in WordPress, to the point where there is a function in WordPress to correct the lower-case p (see capital_P_dangit() ). While all this fuss over the size of “P” may seem pedantic and silly to you, it is still worth taking […]

Filed Under: Dev Tips, marketing Tagged With: WordPress

Responsive Images with srcset

Last updated on March 25, 2017 by Sal Ferrarello

When loading an image, historically I loaded the largest size of the image that would be used. e.g. example.jpg is an 1170px wide image for large screens. On small screens this big image is loaded but scaled down to display properly. The important thing to note here is even if the image is only displaying […]

Filed Under: Computing, Dev Tips, Programming Tagged With: website

QR Code Best Practices

Last updated on September 19, 2016 by Sal Ferrarello

As a web developer, this article is going to focus on the use of a QR code (Quick Response Code) to point to a website URL. The first step in properly implementing your QR code, which points to a website URL, is to ask yourself, “Does this need a QR code?” Hint: the answer is […]

Filed Under: Dev Tips Tagged With: QR, redirects

  • «Previous Page
  • Page 1
  • …
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Next Page»

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