Creating Shortcodes on WordPress
A shortcode is a string that will be replaced by dynamic content. Example: [video src="video-source.mp4"]. In this tutorial, we will create a "Hello World" shortcode. 1. Self-closing tag: [hello] 2.…
A shortcode is a string that will be replaced by dynamic content. Example: [video src="video-source.mp4"]. In this tutorial, we will create a "Hello World" shortcode. 1. Self-closing tag: [hello] 2.…
When publishing your plugin to the official WordPress repository, you HAVE to use SVN. As for September 2019, WordPress doesn't support GIT repos. Using SVN instead of GIT (as your…
Let's say you have a form with a ZIP Code field and want to automatically populate the state from it (without asking the user to fill it). 1. ZIP field:…
By default, notifications only work when submitting through the web interface. If you are submitting forms using the REST API, the notifications will be ignored. Solution: Add this code to…
In a previous article, I showed how to customize the product page. Now, let's custom our cart page. On this example let's transform this: Into this: The main thing in…
Let's say you want to have icons on your step descriptions: Gravity Forms doesn't support icons, but you can easily add them using nothing but pure CSS: Setting icon images:…
Unfortunately, it is difficult to change a WooCommece page as their HTML code is rendered programmatically. In other words, it is not as simple as opening an HTML file and…
Want to kill all sessions instantly? Force all users to log out? Have no time? Do this: This tutorial on video (29 seconds, no sound): https://youtu.be/7gvJH9wMBqU 1. Open wp-config.php and…
This tutorial on video (1 min, no sound): https://www.youtube.com/watch?v=Ld-eI0fpQ2M The recipe: sudo dpkg --add-architecture i386 wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main' sudo apt…
When a new user signs up to your WordPress site, an email notification is sent to the "admin address" specified on Settings > General > Email Address: This email address…