How can you show or hide an input field based on a select value in a HTML form? That’s easy with jQuery. Let’s say you have a form where the user can select a district: and if their district is not in the list, the form shows a field to add a new district (note: […]
There are more ways to protect your entire WordPress site, but if you want to make the site accessible only to registered users then you should apply the WordPress login form to any page before it gets loaded. While there are plugins to do this, password protecting the entire site is done easily by coding […]
On a Ubuntu 16.04 server running MySQL 5.7.7 or higher, the default Plesk backup might show a database warning: plesk (Errcode: 24 – Too many open files) when using LOCK TABLES. This is quite easy to fix. Login to the server via SSH and perform the following operations: create a folder mysql.service.d in /etc/systemd/system/ #mkdir […]
If you need or want to manage your own VPS on a dedicated server and you are in Europe, Hetzner has some very good prices on dedicated servers. To access the VPS from the World you need to purchase a supplemental IP address that it’s going to be connected via a MAC address to your […]
If you got to the point where you have already installed the SSL certificate, changes the links in the database (here is a complete tutorial about migrating WordPress to https) and WordPress is still not redirecting everything to https (or you need to redirect the old links to the new https links for google), you […]
JSON API allows you to retrieve and manipulate WordPress content using HTTP requests. To make things easier to understand, using the JSON API you can use the content (inserted the usual way via the WordPress dashboard) in external applications and interfaces (for example in Phonegap). While the JSON API plugin helps extracting the regular content […]
While adding a meta field and a meta value to a post it’s fairly easy and can even be done from the usual Add post screen, what if you posted few hundred posts and you realize you would need a meta field to be added to all these posts?
If you are using WordPress for anything else than a simple blog, you might need at some point to export database records to CSV. In this tutorial I will show how you can export records to CSV, not just plain tables, but anything you can extract using Mysql and wp_query.
If you are new to WordPress development, creating a form in WordPress then using the filled in values to do things in your theme or plugin might be tricky. The good news is that using a form in the WordPress code is very easy and doesn’t require a plugin.
If you are here, you probably got a warning from the Google Search Console regarding your site being penalized for not being secured with an SSL certificate.