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 […]
How to redirect all WordPress links to HTTPS via .htaccess
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 […]
Extending WordPress JSON API with custom controllers
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 […]
Add a meta field to all posts in a category
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?
How to export CSV from WordPress
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.
Creating forms and using filled values in WordPress
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.
How to migrate WordPress to https
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.
Moving a WordPress site from a folder to the root
Sometimes you need to move a WordPress site from a folder to the root. Why would you move a WordPress site from a folder to the root? Well, in some cases, WordPress has been installed into a folder, and the root was redirected to that folder via htaccess. Google doesn’t like empty roots… So for […]
How to copy a WordPress site to a local computer
Sometimes you might need to copy a live WordPress site from the server to your local Windows PC to do some tweaking for a client. In this tutorial I will show all the necessary steps to copy the WordPress installation and make notes on things that might go bad along the way. I assume you […]
How to remove the read more link in posts
There are cases where you want just a section of the content to appear on the home or category page and that people should click on a link to read the rest of the article. The default WordPress behavior is that if you insert the “read more tag” into the content it will split the […]