@stevefox1072 You need to read up on the standard procedures of WordPress. You are missing some key elements that would clear this stuff up for you, but those elements are beyond the scope of what we can cover in a basic guide for our plugin. These are just WordPress developer basics.
You should never customize a plugin’s core code directly. Instead, you need to use hooks that are provided by the plugin to do your customization. The standard place for placing hooks is in your theme’s functions.php file. You are not modifying your theme by doing this. You are simply extending functionality for your site, which is exactly how WordPress works and makes it such a powerful system.
Note that you should be working with a Child Theme as well, so the functions.php would actually go in your child theme, and the fall-back system in WordPress makes this all work beautifully. Again, this is a standard procedure.
If you don’t want to do this through your child theme’s functions.php file, then what you can do is create your own basic plugin file and add the same code there that would you put into the functions.php file. For this you just need to follow the standard procedures for writing a basic WordPress plugin. So you basically just create your plugin file with the proper comments at the top, and then drop in your hooks/functions accordingly.
Again, child themes, functions.php, and plugins are all general WordPress developer things that we can’t possibly be expected to include every piece of documentation of ours. If we did include such content it would be an entirely separate tutorial / document, and there are so many of those already out there that we really don’t need to reinvent the wheel.
Hopefully that helps you understand what’s going on here. If you need more direct help please submit an order for premium support. Then you can schedule a time with me, and I can work with you to get this all setup the way you need.
-
This reply was modified 6 years, 1 month ago by angelleye.
-
This reply was modified 6 years, 1 month ago by angelleye.