Everything WordPress

Below are a few sections of my best advice as a WordPress developer since the beginning of WordPress. This post will be evolving over-time. There are no affiliate links and no choices are biased.      The best WordPress Theme   Divi I’ve used...

How to uncheck a radio button

You may run into a rare case of needing to unselect a radio button. Here’s how you can do this in javascript. let allTheRadios = document.getElementsByName(‘thenameyougavetheradiobuttons’); let currentRadio; for(x = 0; x < allTheRadios.length;...

Generating highcharts-ready data from mysql

You have data, you want to chart it in highcharts. Good choice, now what’s the best way to do that? I like to create a json generating file that gets called by a javascript function. Here’s an example. $get_var = filter_input(INPUT_GET,’var’);...