WordPress Code Snippets, tips and tutorials

Introducing WPCodeBox 2.0 Beta 2.0

A new and improved editing experience, and a ton of new features for writing and managing your WordPress Code Snippets.

Read More
Introducing WPCodey, the first WordPress Code Snippets Assistant

Do you spend hours figuring out the perfect code snippet for your WordPress website? Are you tired of searching endless forums, documentation, and tutorials to find the solution? If so, then WPCodey is here to help.

Read More
WordPress function naming convention, what "get" and "the" mean in WordPress function names

What "get" and "the" mean in a WordPress function.

Read More
Introducing WPCodeBin, a better way to share WordPress Code Snippets

WPCodeBin is a free service for sharing WordPress Code Snippets on social media, without having to paste code in comments or posts.

Read More
A short guide on how to switch from jQuery to Vanilla JS in WordPress

In this article, I explain why jQuery is no longer needed in WordPress. And most of the things that were done using a framework can now be done using plain JavaScript.

Read More
How to write a Custom Oxygen Component using a Code Snippet

In this article I will show you how to write a custom Oxygen Component using a Code Snippet in WordPress.

Read More
Write WordPress Code Snippets with fewer bugs: PHP Anonymous Functions

In this article, I want to show you how to reduce the number of bugs in your code snippets by using PHP Anonymous functions when adding WordPress actions or filters. 

Read More
New Video: How to run SQL Queries in WordPress using WPCodeBox

In this video, I show you how to run SQL Queries using snippets that run manually in WPCodeBox. To exemplify this, I use a few examples from Jeff Starr's new book about SQL in WordPress.

Read More
Top 5 WPCodeBox features that help you write better WordPress Code Snippets faster

Writing WordPress code snippets can be a tedious process. The WPCodeBox plugin is here to help you do it with ease!

Read More
How to write your own WordPress code snippet: Clear WPRocket cache when saving a page

In this blog post, I am going to show you how to write you own WordPress Code snippet from scratch from some basic building blocks.

Read More
7 Tips to write better WordPress Code Snippets

Tips on how to write better and cleaner WordPress code snippets, and WordPress code in general.

Read More
Disable admin password reset notifications using a WordPress Code Snippet

A WordPress code snippet to disable admin password reset notifications, and how you can add it to WordPress.

Read More
Top 5 mistakes when adding Code Snippets to your WordPress site

The most common errors that WordPress developers make when writing snippets of code are listed below. These errors will not stop your WordPress site from working if you use WPCodeBox, but you can avoid them by following these simple tips. Missing the PHP open tag WordPress code snippets are small pieces of PHP scripts. And, […]

Read More
Introducing the WPCodeBox Condition Builder

The WPCodeBox condition builder makes it even easier to control when WordPress Code Snippets are executed.

Read More
SCSS WordPress Code Snippets Now Supported in WPCodeBox

Since version 1.1.6, WPCodeBox supports SASS and SCSS code snippets. As a result, you will be able to add and compile SCSS code to your WordPress site without requiring any extra build steps or additional plugins.

Read More
5 useful WordPress Code Snippets on the WPCodeBox repository

A WordPress code snippet is a small bit of code that has been designed to be copied and pasted, usually into a plugin or theme. They can be very useful for speeding up development time and making sure we're using the same logic over and over again. They allow us to bypass the repetitive process […]

Read More
How WPCodeBox saves you hours when working with WordPress Code Snippets

WordPress code snippets are extremely useful to customize your WordPress site. WPCodeBox saves you hours when adding Code Snippets to WordPress.

Read More
The easiest way to add Google Tag Manager to WordPress

The easiest way to add Google Tag Manager to your WordPress site.

Read More
Installing Plugins and Themes in WordPress Without Using FTP Access

A blog post about how to install plugins and themes in WordPress without providing FTP Access.

Read More
Building a WordPress Plugin in ReactJS: My Experience

In this blog post, I'll tell you about my experience of writing a WordPress plugin in ReactJS. I hope that by reading this you will be able to decide if it's something for you or not. If so, then keep reading!

Read More
Clear orphaned post meta using WPCodeBox

How to clear out all the annoying orphaned WordPress post meta that’s slowing down your site.

Read More
How to get the PHP, WordPress, and plugins versions using WPCodeBox

When debugging a piece of code or contacting support about a plugin, it's helpful to provide some minimum data about the stack you are running. This info includes the PHP version, WP version, and even what plugins and at which versions you have them installed. Getting this info is super easy using WPCodeBox, it being […]

Read More
The real reason you shouldn't add code to your WordPress theme's functions.php file

Adding code to your WordPress theme's functions.php file can indeed cause a lot of headaches. But the real reason why you should keep your code organized is the Single Responsibility Principle. Robert C. Marting coined the term concerning Object Oriented Programming. But, since then, it has evolved, and it's applicable to all programming paradigms, even […]

Read More
Why you shouldn't add code to functions.php

Many WordPress articles and tutorials suggest you should add pieces of code to your theme's functions.php files. While this might make sense on its face, it can have quite a few disadvantages: Once you start adding code to functions.php, there is no easy way to organize it. You can try to delimit code snippets with […]

Read More
Copyright © 2022 WPCodeBox SRL. All other trademarks are the property of their respective owners
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram