• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Tanner Record

Tanner Record

WordPress Plugin Developer

  • Home
  • Contact

Is Too Many Plugins Harmful For a WordPress Site?

February 4, 2023

Recently I’ve been thinking a lot about plugins and how they can be as simple or as complex as you want. If you need to change one specific aspect about your WordPress’ theme, you might create a single file with a handful of lines in it. There are also plugins that create an entire application […]

Filed Under: WordPress

How to Rebase Git Branch Onto Another Parent Branch

December 9, 2022

We had a long running feature that I originally branched off of for a new feature. When I finished, I realized I needed it before our long running feature would be done. Since it didn’t have any code changes that were dependent on our big feature, I thought it would be easy to just rebase […]

Filed Under: TIL (Today I Learned)

Selective SQL Exports with WP-CLI

February 23, 2022

Sometimes you need to perform a selective SQL export of rows in a database table. Recently, I found out that you can pass extra arguments to the mysqldump command through wp-cli. Taking a closer look at the wp-cli documentation shows that you can use –<field>=<value> to narrow your query. For example, you can use the […]

Filed Under: TIL (Today I Learned), WordPress Tagged With: MySQL, mysqldump, wordpress, wp-cli

Custom Post Type Naming

February 1, 2022

Today I was working on a new version of a site when I noticed that I had changed how I named a custom post type. It triggered me into figuring out the best practices for naming custom post types. After some quick research from a couple of sites, I came to a conclusion. Custom Post […]

Filed Under: WordPress

Software Versioning and WordPress

January 25, 2022

Version 5.8.3 identified by major, minor, and patch

There are several ways software maintains version numbers, but in WordPress, plugins & core typically follow Semantic Versioning. This is where 3 different numbers explain the current version of software: Semantic versioning has very detailed rules when changing each of those 3 numbers. MAJOR – Non-backwards Compatible API Changes This number should change any time […]

Filed Under: WordPress

No Language Options for Site Language in WordPress

December 23, 2021

TL;DR – Languages can only be downloaded via Settings > General > Site Language when DISALLOW_FILE_EDITS and DISALLOW_FILE_MODS are set to false One day I was trying to write up a development plan for implementing multilingual support for a client. They had an interest in also making the WordPress admin multilingual as well, so I […]

Filed Under: TIL (Today I Learned)

How to Use Custom Fields In WordPress

September 17, 2021

One of the best ways to store and display additional information on your site is to use WordPress’s post meta through custom fields. WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as metadata. WordPress.org Codex This metadata, otherwise known as “post meta”, is […]

Filed Under: WordPress

Micro Plugins In WordPress

September 10, 2021

I have been thinking about the concept of micro plugins for a while now. A few months ago, I was having a discussion with some folks from my local WordPress meetup group and we got on the topic of the best way to handle modifying a theme’s functions.php file. When we really started digging into […]

Filed Under: WordPress

Using VS Code to Improve Your Git Commits

February 27, 2021

The other day I had a great discussion with a few of my coworkers about improving our Git Commits. After some back and forth, and discussing Sal Ferrarello’s rules for git commits, I decided to create a git commit template that would open up in my editor each time I used git commit in my […]

Filed Under: Uncategorized

Get Only Public Post Types In WordPress

January 29, 2021

Recently I had a situation where I needed to determine if a post type was not one of WordPress’ core types. WordPress has several base post types: Post (Post Type: ‘post’) Page (Post Type: ‘page’) Attachment (Post Type: ‘attachment’) Revision (Post Type: ‘revision’) Navigation menu (Post Type: ‘nav_menu_item’) For example, let’s say that we need […]

Filed Under: Uncategorized

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Primary Sidebar

  • Facebook
  • GitHub
  • Instagram
  • Twitter

Recent Posts

  • Is Too Many Plugins Harmful For a WordPress Site?
  • How to Rebase Git Branch Onto Another Parent Branch
  • Selective SQL Exports with WP-CLI

Copyright © 2023 Tanner Record