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

WordPress

A little boy pushing a large toy car.

WordPress and Forcing Major Updates

Last updated on August 22, 2019 by Sal Ferrarello

On August 7, 2019 a proposal was made on the WordPress Make Core website to Auto-Update Old Versions to 4.7, which is a long term plan that would start with automatically upgrading those on the minimum supported version of WordPress to the next version. This proposal has created a great deal of conversation and controversy.

Filed Under: Computing, Recommendations Tagged With: WordPress

Getting Started with CSS and WordPress

Last updated on August 13, 2019 by Sal Ferrarello

A great place to get started with web coding is CSS. CSS tells the web browser how to display the information on the page, for example the color, size, or font to use. WordPress makes it particularly easy to add your own CSS to your website.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Programming Tagged With: Customizer, WordPress

ACF database vs JSON Precedence

Last updated on July 17, 2019 by Sal Ferrarello

When an Advanced Custom Fields (ACF) field group is defined both in the database and using the local JSON feature, the settings in the local JSON file always take precedence (except in the case of viewing the definition in the WP Admin screen).

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft Tagged With: Advanced Custom Fields, WordPress

The difference between __() and _x() in WordPress

Last updated on May 30, 2019 by Sal Ferrarello

WordPress has two similar translation functions __() and _x(). The function _x() does the same thing as the function __() except the _x() function allows you to define a context for the translation (with the $context parameter). This is helpful when you have a string that could be two different words. For example there are two words that are spelled “tear” each with a separate meaning (and separate pronunciation). By including the context you could use both of these words and have them correctly translated based on their $context value.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Draft, Programming Tagged With: WordPress

WordPress Database Prefix

Last updated on April 29, 2019 by Sal Ferrarello

By default all of the WordPress database tables will start with the prefix “wp_” (e.g. wp_users, wp_posts, etc.). Because this is the default value, you’ll often hear the tables referred to (and written about) using the “wp_” prefix. Let’s look at how and why this prefix is modified.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Programming Tagged With: database, WordPress

Photograph of a spooky dark tunnel.

WordPress Database Tables

Last updated on April 26, 2019 by Sal Ferrarello

A list of the database tables (and the columns in those tables) used by a default WordPress installation. This is the companion blog post to my talk, “Introduction to the WordPress Database”.

Filed Under: Programming Tagged With: database, WordPress

term_taxonomy_id vs term_id

Last updated on April 24, 2019 by Sal Ferrarello

In the WordPress database table “wp_term_taxonomy”, each row almost always has the same value for the two columns ‘term_taxonomy_id’ and ‘term_id’. What is the difference between these two columns?

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Computing, Draft, Programming Tagged With: database, WordPress

Conditionally Add Bootstrap Table Responsive Class

Last updated on April 16, 2019 by Sal Ferrarello

While working on another post, I had some very large tables and I wanted to use Bootstrap Responsive Tables by adding the .table-responsive class but only in the situation where the table is too wide. This is the code I used.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Solution Tagged With: Bootstrap, Genesis, WordPress

How to Set Older WordPress Posts to Draft with WP CLI

Last updated on April 5, 2019 by Sal Ferrarello

In one of the slack channels I follow, the question came up on how to set WordPress posts older than a certain date to “draft” status using with WP CLI. I was surprised by how difficult I found this task and wanted to document my solution.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Solution Tagged With: WordPress, wp-cli

ACF Uncaught TypeError: Cannot read property ‘id’ of undefined

Last updated on April 8, 2019 by Sal Ferrarello

Recently I was working on a site using Advanced Custom Fields (ACF) and the field input boxes had stopped working. In the browser console, I saw the error “ACF Uncaught TypeError: Cannot read property ‘id’ of undefined”.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Draft, Solution Tagged With: ACF, Advanced Custom Fields, WordPress, WordPress Plugin

  • «Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Interim pages omitted …
  • Go to page 12
  • Next Page»

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