Category: Basics
-
Create a plugin file for custom functions
Often it is recommended to put custom functions into your theme’s functions.php file; and while that can work quite well, what if you change themes? Or what if you are on a multi-site installation and have a number of custom functions you want to use across sites that use different themes? This article will discuss…
-
Using Code Snippets from the Site
When copying code snippets from the site, it is important to copy clean code. This article discusses where to put it, how to copy it, how to read comments and where to make modifications. There are also some best practices to follow.
-
Do not modify plugin files
This is an important best practice – never, ever modify plugin files directly. Rule 1: there is never a good reason to do this. Rule 2: refer to rule 1.
-
Create a Child Theme
One of the basic elements of WordPress best practices is to use a Child Theme. This allows you to make customizations to your theme without worrying about losing those changes when the theme author releases an update. It’s simple to set up and should be a standard practice when setting up a new site. This…
-
What is the “more” tag?
What is the “more” tag? A significant amount of content regarding WP-Members setup involves something called the “more” tag. This tag, which has been around since the beginning of WordPress, essentially does the job of creating an excerpt out of the content. But what does it look like and how do you use it?