• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Archives for Basics

Basics

Using a Code Snippets Plugin

Chad Butler · Jun 10, 2024 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

For users not comfortable with adding code snippets by other means, a code snippets plugin manager can be a great tool. Actually, it can be a great tool for other users, too.

One of the most commonly used code snippets plugins is the aptly named “Code Snippets“. The plugin allows you to add custom code snippets as well as manage the code snippets you have added.

Some of the features include:

  • Ability to activate/deactivate code snippets
  • Ability to set code snippets to run only once (useful for utility scripts that manage user or post data)
  • Screening of code snippet syntax so that an invalid code snippet does not crash the site.

You can get the plugin through the WordPress plugin panel by searching for “Code Snippets” or download it from wordpress.org: Code Snippets – WordPress plugin | WordPress.org

How to Connect to SSH

Chad Butler · Feb 3, 2022 ·

SSH is a protocol for secure remote login and other secure network services over an insecure network. Most hosts provide SSH access with your hosting plan. SSH access allows you to log into a command prompt, perform common administrative tasks, and execute commands just as if you were sitting at the server itself. You can run additional tools such as Git, Composer, WP-CLI, etc.

Usually, your host will have information on how to connect to your site through SSH access. A general overview is provided below, but specifics may vary from host to host.

Continue Reading →

Using WP-CLI to migrate/copy your site

Chad Butler · Sep 26, 2019 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

When working with a development site for testing, a common question is how to migrate.  What is a quick way to copy a site to a development copy and vice versa?

For me, I often use WP-CLI for this purpose.  WP-CLI is the Command Line Interface for WordPress.  It allows you to manage your WP site completely from the command line.  It is very powerful and very fast.  No waiting for page loads in admin panels when using WP-CLI.

When I started using WP-CLI, you had to install it yourself, which could be somewhat intimidating for someone who doesn’t normally work with command line tools. But today, many hosts include this as already installed and ready for your use.  You only need to know how to connect via SSH (Secure SHell).  Personally, I use PuTTY, but you can use whatever tool suits you.

Here are the steps that I use to make a development copy of my live site:  

Continue Reading →

Remember Login Details

Chad Butler · Aug 12, 2019 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

This article will discuss some elements of the login form that sometimes confuse users (and admins).  Some of these concepts are not necessarily specific to WP-Members (or even WordPress) while some are, and some overlap.  Continue Reading →

Why you should NOT use do_shortcode()

Chad Butler · Jan 28, 2019 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

DO NOT use do_shortcode() to run a shortcode!

If you have to ask yourself “why?” when reading that, then this post is for you!  

Continue Reading →
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Go to Next Page »

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy