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

Tanner Record

WordPress Plugin Developer

  • Home
  • Contact
You are here: Home / Archives for TIL (Today I Learned)

TIL (Today I Learned)

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

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)

Transforms Can Be Used to Invert Elements

September 25, 2020

Earlier this week I was working on styling a website and trying to keep a component as customizable as possible. Within it, I needed the ability to reverse an icon with CSS only and I found out that using transform: scale(-1) will automatically flip the element you use it on. You can also specify the […]

Filed Under: TIL (Today I Learned)

Learn SCSS From The Source

January 24, 2020

When I’m trying to style something using a Mobile First approach, I tend to under-think my SCSS. I don’t know if I just get lazy sometimes or I just get tired of what I’m working on; It doesn’t always leave me with the best styles. The code may get the job done, but it’s convoluted […]

Filed Under: TIL (Today I Learned)

Primary Sidebar

  • Facebook
  • GitHub
  • Instagram
  • Twitter

Recent Posts

  • How to Rebase Git Branch Onto Another Parent Branch
  • Selective SQL Exports with WP-CLI
  • Custom Post Type Naming

Copyright © 2023 Tanner Record