Web Code

Optimizing WordPress Image Scaling for a Better Performing Website

Discover the significance of precise image scaling in WordPress for improved web performance. Learn to create custom sizes and streamline the process with the Regenerate Thumbnails plugin for a seamless experience.

Web Code

JavaScript: Declaring Variables with “let” vs. “const”

In JavaScript, "let" declares a variable whose value can change, while "const" declares a variable that cannot be reassigned. Choose based on intended behavior and make code cleaner and more maintainable.

Web Code

CSS Variables vs Sass Variables

CSS and Sass are web page styling languages, with Sass being a preprocessor that extends CSS with advanced features like variables, nesting, and mixins for dynamic stylesheet organization and calculation.

Web Code

Run PHP Function When Updating WordPress ACF Options Page

I needed to run a custom PHP function that updates custom fields attached to users when an admin clicks "update" on a back-end options page. The way I did this was using the acf/save_post action.

Web Code

The Power of Custom Fields

Power up your WordPress site with custom fields. Custom fields allows you to easily add custom data to your posts, pages, users, and more!