If you have a VPS (Virtual Private Server) installed on a main server via KVM you might need at some point to increase the HDD size of the VPS. To do this there are 2 steps: Increase the KVM VSP image size Increasing the usable space for the Linux VPS For this tutorial we are […]
Category: Wordpress tutorials
Using GIT to do versioning on your code or sharing work with your colleagues might sound scary. You have to understand how and where your code goes and you have to do it via command line… Just scary.
What if you need to display the grandchildren categories from a known category? In this tutorial I will show you one way to browse through categories with get_categories and list the names of the grandchildren categories on a page.
Printing PDF from the database content in WordPress is relatively easy with the help of the help of mpdf library, but you will need ssh access to the server to install it via composer. You should create HTML code as for a normal web page and the mpdf library will turn everything in PDF.
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 […]