In lots of these recipes, you will see the instructions to add some bunch of code to the “active theme’s functions.php file” or “a custom plugin”. How do you go about creating a custom plugin? Like this.
You will need to be able to FTP into your website. If you don’t know how, ask your host or Google it.
- Create a folder called pmpro-customizations in the wp-content/plugins folder of your site.
- Create a file called pmpro-customizations.php in the folder you just created.
Edit pmpro-customizations.php and paste this code into it:
<?php /* Plugin Name: PMPro Customizations Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-customizations/ Description: Customizations for Paid Memberships Pro Version: .1 Author: Stranger Studios Author URI: http://www.strangerstudios.com */
- Add the code for the recipe you are doing at the bottom of pmpro-customizations.php.
- Save it.
- Go to Plugins in your WP Dashboard and active the PMPro Customizations plugin.