Latest Posts
-
Homebrew Competition 2019
Beer in the streets raises $103k for local charities. 11×17. https://lititz.beer
-
Hiding Specific Terms When Creating or Editing Posts
The WordPress block editor uses the REST API to manipulate all information in the post object, so hiding terms from the category, tags, or a custom taxonomy meta box can…
-
Pressure Washing in Lancaster, PA
Business cards for a local pressure washing business, Clean & Co. LLC
-
Tasting Room & Bottle Shop
I made this last year for the Stoll & Wolfe distillery in Lititz, PA.
-
Why Elementor Disobeys is_admin()
I was surprised to learn that when editing a page using Elementor‘s page builder, is_admin() returns false. The reason for this is that Elementor is loading the page in an…
-
Using register_setting() and the REST API
Here is a comment I just requested be added to the bottom of the register_setting() page. If you plan to use your setting in the REST API, use both the rest_api_init and admin_init hooks…
-
The Events Calendar List Widget Replacement
I wrote a plugin to customize the Events List widget that ships with Modern Tribe’s The Events Calendar Pro plugin. The widget has an option to hide completely when there…
-
Editing Terms & Term Meta with the WordPress REST API
Here are some JavaScript snippets to manipulate WP_Term objects in WordPress using the REST API and the Backbone JavaScript client library. Insert a term Delete a term This next example…
-
WordCamp Lancaster 2019
I am the lead organizer for WordCamp Lancaster for the first time in 2019, and that means I was allowed to design this logo for the event. Thanks be to…
-
What is $posted_data passed to Contact Form 7’s wpcf7_posted_data hook
For a ContactForm7 form that has this source: <div class=”wpcf7-lead-widget”>[text* contact-name maxlength:50 placeholder “Your Name (required)”] [email* email maxlength:50 placeholder “Email (required)”] [text phone maxlength:15 placeholder “Phone”] [vehicle_form_field] [textarea comments…
-
Mudbugs Hockey Jersey Patches
New shoulder patches for my hockey team’s 2018 rebrand
-
Convert alphabetical Google Sheet column names to numbers
Lately, I’ve been working with large Google spreadsheets that have many columns. When you write QUERY statements to pull data from one sheet into another, you have to use Col1,…