How to duplicate posts, pages or custom post type items in WordPress

There are many cases in which you might need to create an identical copy of a post, page or custom post type on your WordPress site. You might need to work on the redesign of a page without messing up the original, check out edits on a post that is already being worked on by another editor, allow a client to make their own changes on a post and preview theme without affecting the live version, and so on. For this you need a reliable tool to help you clone any post item quickly and easily. Luckily there is one.

Read More

How to add SVG support to WordPress media uploader

WordPress allows the users to upload many file formats via its built in media uploader. Among them one can find the most popular image file formats, .jpg, .jpeg, .png, .gif and .ico. As you might have noticed SVG files are not among the ones allowed. In today’s article we’ll learn more about SVG and then we’ll add support for them in WordPress’ media uploader.

Read More

How To Hide The Default WordPress Login URL

Continuing with our WordPress security theme, in this guide we’ll find out how we can further prevent unauthorized login attempts by hiding the default WordPress login URL. This introduces a big obstacle to attackers who by default target wp-login.php or wp-admin/, you can’t attack what’s not there, right? How are we going to do that? You guessed it, there’s a plugin for it.

Read More

How to limit login attempts on your WordPress site

If you have read any WordPress security hardening related article, you know that you need to somehow limit the number of login attempts a certain IP can make before it gets locked out, this is done to prevent malicious actors by gaining access to your site via brute force attacks. Due to WordPress’ popularity as a site building platform, attacks on it are pretty common. Luckily it’s pretty easy to protect your site from them and, of course, there’s a plugin for this!

Read More

How To Optimize, Repair or Backup Your WordPress Database

In today’s short tutorial we’ll have a look at how to take care and backup our site’s database. This way we can make sure that our site runs optimally and prevent unexpected data loss.

What is the database?

According to Wikipedia a database is an organised collection of data, generally stored and accessed electronically from a computer system. This means that the WordPress database is the place where all our site’s generated data lives, posts, pages, users, comments and more, everything is stored in it. For more information about the WordPress database you can have a look at this WPBeginner glossary entry, and for an in depth look at the default tables and their relations you can check out the database description in the codex.

From all the above we can easily figure out that the database is pretty important for the well-being of our site, any corruption can result to irreversible loss of data and accumulation of clutter might make queries, and by extension our site, slower. Below we’ll find out how we can backup, optimize and repair our database, to prevent these issues.

To help us with these tasks we will be using the WP-DBManager plugin which is available for free in the WordPress plugin repository.

Read More

How to add a watermark to your images

If you are a photographer or any other sort of visual artist you are most likely concerned by the fact that your work can be very easily copied from your site and used elsewhere without your permission. This might cost you both directly  if you sell your work online, and indirectly by losing potential clients by not getting proper credit for your work.

Due to the nature websites work it’s very hard to properly protect your work from being copied without permission. One of the most effective ways of preventing people from taking your images are watermarks, these generally make pictures unsuitable to display, especially in commercial settings, but even if someone ends up taking the image, you’ll get proper credit through the watermark. Today we’ll take a look at a plugin that helps you easily add watermarks to any image you upload on your WordPress site.

Read More

Add Facebook Comments to your WordPress site

Facebook is by far the most popular social network on the planet, almost everyone you know is on it. You can capitalize on this by adding Facebook comments to your WordPress site.

Adding Facebook comments to your WordPress site allows everyone with an account to join in the discussion below your posts, or to start one if none is going on. People won’t have to go through the process of creating yet another account on another site just to leave a comment, they’ll be using an account they already have.

It’s not just the ease of your readers though, there are some major benefits for the site owner. First, there’s less spam because anonymity is scarce on Facebook, and second it has  a potential of reaching a great audience because users can choose to post their comment on their Facebook feed just by checking a box, so the comment will be seen by their friends and followers as well, instead of just by your site’s reader, it’s a pretty sweet deal.

Today we’ll take a look at a plugin that replaces WordPress’ default commenting system with Facebook comments, and on top of that it only loads Facebook comments when a user clicks a button so it won’t impact the site’s performance much.

Read More

Fine tune user permissions in WordPress with the Members plugin

We have previously discussed how WordPress handles what a user can and can’t do, you can read all about it here. In short WordPress categorizes the users in six roles and assigns to each one a selection from the 60 default capabilities, each capability allows for a certain action and, naturally, the more capabilities a user has, the more they can do on the site.

Today we’re going to take a look at yet another plugin that can help you fiddle with the default capabilities assigned to each role, or even create new roles for your site.

Read More

Modify image sizes using Simple Image Sizes

WordPress comes with a few preset image sizes for images to be cropped to, the thumbnail, the medium and the large ones. Of course these basic image sizes are not enough for themes, so their developers tend to add many more custom image sizes to better creates the desired layouts on their themes. What if you need more image sizes than the ones that come with your theme? Luckily there is a plugin for that.

Read More

Add custom fields to your WooCommerce checkout page

The WooCommerce checkout page comes with most of the required fields to allow you to get all the required information in order to dispatch an order to a client. What if something is missing? You might need a couple of extra fields, a checkbox, a drop-down or another text input field, how can you get them? You can always add new fields programmatically as described in WooCommerce’s documentation here, but there is an easier way by using a plugin.

Read More