In this guide, we’ll show you how to use Elementor for WordPress. This website builder is another way to create pages and posts in WordPress using a visual-based editor. If you find the default Gutenberg or Classic WordPress editors too limited or difficult to use, this may be a good alternative for you to try. Read More >
Search Results for:
How to Install the Matomo Analytics WordPress Plugin
Matomo Analytics, formerly Piwik Analytics, is one of the most popular Google Analytics alternatives available today. The open source web analytics suite has a long list of features and over 50 plugins available to customize user interaction and tracking and for your marketing and privacy needs. The recommended shell_exec PHP function cannot be enabled on Read More >
How to Manage WooCommerce Orders and Customers
Viewing and managing a WooCommerce order along different phases of the buying process is an important function in your overall management. In this guide you’ll learn about how to manage individual orders, how to view previous orders, and you’ll further learn how to set up manual orders. And after the orders have been fulfilled, you’ll Read More >
WordPress is the most popular website platform largely due to its expandability and ease-of-use. No matter your skill level, you can quickly launch a website with rich functionality using the addition of WordPress plugins.
But what are WordPress plugins and how do you use plugins in WordPress?
The open-source nature of WordPress allows for the complete customization and scalability of your website. However, not all users can or want to add custom code to their WordPress site. With plugins you can easily customize your website, adding complex functionality and interactive elements, without the fuss of code.
What Are WordPress Plugins?
WordPress Plugins are third-party pieces of software you are able to search for and install via your WordPress dashboard. Plugins are developed to improve performance or add additional functionality to your website that is not included in the standard installation of WordPress.
For example, you can install security, caching and SEO plugins to help protect, speed up, and optimize your site for your users. You can install form plugins to capture end-user information or a gallery plugin to create a better layout for your images.
Below we’ll outline essential plugins to help optimize your website management and end user experience.
Getting Started with WordPress Plugins
Learn how to install a plugin, as well as the best plugins for any WordPress beginner:
Essential WordPress Plugins
There are thousands of WordPress plugins available, but only a few are essential for the successful upkeep of your website. Here are some of our recommendations:
WordPress Plugins for Advanced Tasks
WordPress plugins are also great for adding complex functionality to your website. With plugins you can add an online store, one-click login, and more:
Latest WordPress Plugins Articles
- How to Backup WordPress to Dropbox
- The Best WordPress Backup Plugins
- Use UpdraftPlus to Send WordPress Backups to Your Email
- How to Backup WordPress with FTP and UpdraftPlus
- Customizing Your Under Construction WordPress Page
- How to Install Google Analytics for WordPress by MonsterInsights
- How to Switch Users in WordPress Without Logging Out
- Helpful WordPress Plugins for Caching, Security, and SEO
- How to Install the WordPress Importer Plugin
- Setting WordPress SEO Title and Description with All in One SEO Pack
- How to Set up Google Analytics in All in One SEO Pack
- How to Optimize and Compress Images in WordPress
- How to Copy a WordPress Page or Post
- NGINX Helper Plugin For WordPress
- How to Scan your WordPress site for Malware with iThemes Security
If you need a new home for your WordPress site, look no further than InMotion’s WordPress Hosting solutions for secure, optimized, budget-friendly servers.
Fast & Easy Transfers Free SSLs Hack Protection Affordable
How to Use the WordPress Advanced Database Cleaner
The WordPress Advanced Database Cleaner plugin is an easy way to remove unnecessary content and data that is taking up space in your database tables. Over time your WordPress website collects data such as trashed comments, old Post revisions, and spam. This can fill in your database tables and build up over time, eventually causing Read More >
Setting Up Payment Gateways and Shipping for WooCommerce
A key part of your WooCommerce store is its ability to accept money from your customers. In order to do this, a payment gateway must set up that allows for the payment to be processed. After payment, if your customer is not picking the product up from you or having the product personally delivered, then Read More >
How To Install and Serve Gitweb on NGINX in Debian
Gitweb is the free and easy alternative to GitHub for anyone looking for a simple way to view and share git repositories online. You don’t get all the attractive features like easy HTTP cloning, actions, and metrics, but you get a minimalist web front end for displaying your git repositories; and for many use cases Read More >
How to Identify Intensive Plugins in WordPress with P3
Note: As of 10/13/22 this plugin is no longer available. If you are having trouble with plugins our WordPress Troubleshooting guide can help narrow down the cause. We also recommend our guide on How to Stress Test Your Website which also goes over the top 3 load testing tools. The P3 (Plugin Performance Profiler) tool Read More >
A Beginner’s Guide to WPGraphQL
Creating queries to interact with data in the backend of WordPress can be difficult without using a few tools. One of the more recent plugins that can be added for this purpose is the plugin called WPGraphQL. With this plugin, you can create queries using the GraphQL syntax that has become a developer favorite in Read More >
How to Use the WordPress Business Directory Plugin
The WordPress Business Directory plugin adds a new level of interaction to your WordPress site. Create your own customized site for ratings and reviews where visitors can add their own feedback. Make a directory for a local club, or private listing of local businesses for your employees to use. These are just some of the Read More >
5 Common Reseller Hosting Issues You Can Avoid
Like any business, reseller web hosting requires that you have some knowledge of the product that you are selling. You should understand your customer’s expectations and provide both business and technical proficiency that will help earn your customers’ (or potential customers) trust. The following is a list of common reseller hosting issues that customers have Read More >
Redux – Gutenberg Blocks Library for WordPress
If you’re looking for a way to increase the options that Gutenberg blocks offers, then look no further than Redux – Gutenberg Blocks Library & Framework. With over a million installs and thousands of possible sections and templates, you may be overwhelmed with the creative possibilities that you are given for your WordPress site. We Read More >
Ansible IT automation software allows you to manage software deployments to remote servers with human-readable configuration files. InMotion Hosting recommends several ways to use Ansible.
For small deployments, we recommend our free Ansible Control Node. This is a bare bones Linux container completely separate from the servers it will manage. The Ansible Control Node is included with your first purchase of our Cloud Server or Bare Metal Dedicated Server.
For larger deployments, such as a Private Cloud to run multiple Cloud or Bare Metal servers, we recommend setting up a dedicated Cloud Server or using a virtual machine (VM) in your Private Cloud as your Ansible Deployment Server. This is a more advanced scenario for System Administrators. Get started with our guide to Install Ansible on a Linux Server.
For free Ansible support, please ask a question in our Community Support Center. For paid support, please contact our Managed Hosting team.
For bug reports and related issues, please let us know on our InMotion Github page.
Ansible Control Node Quick Start
Ansible Beginner Topics
InMotion Hosting Ansible Catalog
Explore all Ansible Articles
How to Update the WHOIS Data for your Domain
In this guide, we will show you how to update the WHOIS data for your domain in the Account Management Panel (AMP). When a domain is registered, it is required by ICANN to have accurate contact information listed in the WHOIS record. This allows the public to view the information regarding the owner of a Read More >
How to Use WP Super Cache
WP Super Cache can help optimize your WordPress site to load faster and use fewer server resources. This provides a better experience for visitors to your site and can help your search engine optimization (SEO) efforts. Follow along and we’ll explain how WP Super Cache works and how you can use it to improve your Read More >
How to Use Bootstrap in WordPress
Using Bootstrap in WordPress can give you many opportunities to create pages, posts, or even a theme with some very distinctive features. Bootstrap is a framework that will allow you to create responsive websites that will work with a variety of devices and screen sizes. You can also use it to extend the functionality of Read More >
How to Install a Private Search Engine with Searx on Debian
If you’ve ever complained about big search engines like Google and Bing logging your search activity and profiting from it, you’ve probably been greeted with the same sarcastic reply: “Ha, then why don’t you just create your own search engine?” The joke behind that reply is that it would be impractical to try to have Read More >
How to Install WordPress Plugins
One of the best things about WordPress is the ability to add features using WordPress Plugins. WordPress comes with a lot of tools to build a website, but expanding it with plugins can help customize your site to fit your needs. Use plugins to add custom forms, widgets, search engine optimization (SEO) tools, or even Read More >
Changing File Permissions in cPanel
In this tutorial, we will show you how to change file permissions in cPanel. Each file and directory (folder) in your account has permissions that control who can read, write, and execute that file. When files are created, default permissions are assigned. Most users won’t need to change permissions, but there are times when an Read More >
In this article, and further tutorials in this series, you will learn about the Git version control system and how it is used for managing source code and text files for a wide variety of applications.
More than conceptual, this article will provide you with a 1-2-3 getting started cheat sheet for running with Git right away.
What is Git?
Git is an open source cross-platform version control system. Every project involving various text files will have a revision history, and Git helps you keep track of it.
You will often hear that Git is a distributed version control system. But what does that mean?
The program provides a suite of commands that help you track changes made to source code over time as well as well as deploy code to local and remote repositories. Git is “distributed” in the sense that there need not be one central repository for source code, but individual users may “clone” the project into their workstations and have all the content they need to do their job. When they’re done, they can submit their work to a shared remote repository so other people can see what they did.
It’s easy to think of Git version control as a journal containing the detailed history of your project.
Those journal entries are kept in the repository. Once you have added files to the staging index, you want to let Git know when to record those changes into the journal. In the Git world, this is called a “commit.”
You can think of it as making a commitment to record the changes you made in your working directory to the permanently recorded history. Once changes have been committed, they go into the repository. And you can later revisit any point of history in the repository. Each “commit” is marked with a unique identifier.
Plus, Git requires that you provide a “commit message” providing some background detail on what this commit consists of. This way, Git forces you to keep your project details, upgrades, bug fixes, and features very well documented.
Git, Hosted and Self-hosted
There are many popular hosting platforms available for Git, such as Github and Bitbucket.
Many of these platforms offer special features and addons built around the base functionality of Git.
Free and Open Source
Git is free and open source software, so you can host your own Git server if you want to. It also works with just about every operating system.
Some hosted services offer a self-hosted variant. GitLab offers a lot of the features you would see in GitHub but with an optional self-hosted package you could install on a private server.
However, if you are interested in managing your own Git repositories on a private server, this is the tutorial series for you.
Where to Start With Git
There is so much you can do with Git version control and file management that we have chosen to limit this tutorial to the bare essentials.
This means even though there is much more information available about this program, you will be up and running quickly with everything you need to get started using Git right away.
Whether you choose to use a third party Git hosting platform in the future, or if you prefer to manage your own repositories, in this tutorial, you will learn how to build and manage your repositories from the ground up using command line tools you already have available on your computer. We are going to learn how to initiate a repository and track files, commit changes, tag and sign commits, and how to push changes and deploy files.
Command Line or GUI
When first learning how to use Git, you have a choice between using the command line version and a graphical user interface (GUI) version.
In this article, we presume you are interesting in learning the command line variant. There are certain benefits in using the command line version of Git including:
- Wide support across various platforms
- Commands stay the same no matter where you are
- Allows for scripting and aliasing (to run favorite commands faster)
- Helps to solidify the conceptual framework behind Git
But if for any reason you choose to use a GUI, there are many popular open source option including:
- Git Kraken
- Magit (for emacs)
- Git Extensions
- GitHub Desktop
- Sourcetree
The Git Three-tier Architecture
While working with Git you will often hear about the working directory, the staging index, and the repository. These concepts are important to grasp from the very beginning in order to get a proper footing in using Git.
The working directory is where everything starts. This is where you do your work. Files that you are working with are located in the working directory on your computer. Likewise, other users will have clones of the project in their working directories.
The staging index is where you add the files you want to track. Tracking files means that Git is watching them for changes in this special staging area. When you add files to the staging index, you are telling Git, “Please include this file in the list of files associated with this project and keep note of all changes made to it.”
You should now see the full progression before you: files start in the working directory, they are added to the staging index, and then they are committed to the repository. As you can see above, files can also be “checked out” from the repository, but this is an advanced topic that will be covered later.
Git in Practice: A Complete Beginner’s Guide
This section will introduce the uninitiated beginner to all the immediate Git fundamentals needed to start work right away. This is a crash course in Git for beginners.
Did you know? You can use your cloud server hosting as a private Git server.
Before getting started, you will just need to install Git. If you’ve already complete the installation then you are ready to begin.
The Working Directory
The working directory is the main directory for the project files. As you’re learning more about Git you’ll often hear or read mention of the working directory. It’s basically the directory (or, folder) that contains the files for your project.
The working directory can be altered by Git. For example, you could load previous versions of the project or integrate others’ code from another branch of the project, and your working directory will change. This means you must be careful not to accidentally overwrite files in your working directory.
In order to start using your working directory, all you have to do is create a directory and start adding your files to it.
In the next section, you will find out how to instruct the Git program to start watching this directory for changes.
Initialize Repository
Before you begin your work you’ll need to “initialize” Git in your working directory, with this command:
git init
This command initializes Git functionality in your working directory. But what does that mean? Git initialization accomplishes the following:
- Sets up a .git directory in your working directory
- This “hidden” directory keeps track of the files and special reference markers needed by the Git program
- As you get more advanced in Git, you can use some of the items in this directory to achieve advanced effects, but not yet
- Opens up your project for Git tracking
- Allows you to start running Git commands
Upon initialization, your Git project is officially up and running. Now you need to let Git know which files to start tracking.
The Staging Index
Like the working directory, the staging index is a fundamental concept in Git that you must learn and commit to memory.
You can think of the staging index as a sort of list that tells Git which files (or modifications to files) you want to commit to the repository.
You use the staging index by invoking the git add command, for example:
git add <name-of-file>
Or…
git add file1.php
In the diagram below, suppose three files have been created in the working directory. Notice:
- The first file has already been tracked by Git and was modified
- The second file is new to Git but was just added, indicating that it’s a new file for Git to start tracking
- The third file has not been added to the staging index, so Git is not aware of it
This means that even if a file has been previously added to Git for tracking, it must be added to the staging index again every time it is modified, otherwise the changes will not be committed to the repository.
The Repository
Once you have added the files, and modifications to files, to the staging index, it’s time to create a commit for those changes to add them to the repository.
The repository is the official, logged, and—sometimes—tagged destination for your project files in one state.
You can think of the repository as the place where all the records of the various states of your project are kept. Each note, or mark, is termed a “commit,” because it is basically a commitment to the permanent record of the project. This means if you’re working on something like a software project, the program should be in a solid working condition or at least a somewhat working state when a commit is made.
Git requires that all commits be made with a log entry to briefly notate the nature of the commit.
Some example commit messages might be:
- “Fixed bug on login screen”
- “Updated emphasis font”
- “Added phone number entry to form fields”
In order to start a commit, run this command:
git commit
This command, as is, will open your default text editor for writing in your commit message.
To skip over the text editor, use the -m option and put your commit message in quotes, like so:
git commit -m "Fixed bug on login screen"
And, accomplishing more with one command, you can add the -a option to simultaneously add all file modifications to staging index before committing:
git commit -am "Fixed bug on login screen"
The latter command demonstrates how the command line Git variant lets you use various options to chain commands together, thus saving a little time.
Branches
Finally, as you are now ready to embark on your journey in discovering the magic of Git, you need to learn about how branches work.
Branches allow for unlimited iteration of your project files. For example, if you want to test a new feature or bit of code, you can create a separate “branch” of the project.
By default, every Git project has a master branch, or “upstream” branch that is meant to reference the final/complete version of your project.
By creating branches you can make unlimited changes to your project, and commit them, without affecting the master copy.
When working with branches you can always switch back to the master branch—or other branches to “checkout” the files or modifications in that branch.
However, one caveat of branches is that you can only “checkout” other branches from a clean state. Which means if you have uncommitted changes in your current branch you cannot checkout other branches. But if you’re unready to commit those changes on your current branch, you can stash them aside for later.
In order to see what branch you’re currently on, you can run the git branch command by itself:
git branch
If you haven’t created any alternative branches yet, you will see a listing for the “master” branch, which you’re on by default.
To create a new branch you can run git branch followed by the name of the branch you want to create, like so:
git branch <name-of-branch>
Now when you run git branch you’ll see “master” and the new branch listed. Master will still be selected as your active branch.
In order to “checkout” a different branch, run the git checkout command followed by the name of the branch you want to check out.
git checkout <name-of-branch>
You can check to make sure you’re on the new branch by running git branch again to see that the new branch is selected/highlighted. (It’s always good to check your work.)
Now, notice, if you make changes to the files on this branch, you will not be able to switch back over to the “master” branch unless you commit your changes or stash them.
To stash your changes, run git stash.
git stash
When you return to the new branch, you can unstash, or “pop,” your changes. (Actually, you can pop changes on any branch. See the full guide on git stash to learn more.)
Those are the very basics of Git. From there, you can master the entire program because you have grounded yourself in the fundamentals. If you have any issues, or unexpected errors, leave a comment below and the InMotion community team will try to help out.
Explore more Git-related content here: