If you do any changes or modifications in our core AMPforWP plugin then once you update our plugin then all your custom changes which you have made will be removed and its highly not recommended to create custom changes in the core plugin but if you want to make it as update proof then you need to follow these steps.
Step 1: To create a custom plugin, create a folder and then create a single file with one line of content. Navigate to the wp-content/plugin folder, and create a new folder named “ampcustomplugin“. Inside this new folder, create a file named “ampcustomplugin.php“. Open the file in a text editor, and paste the following information in it.
/* Plugin Name: AMP Custom Plugin Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/ Description: a plugin to create ampcustomplugin and spread joy Version: 1.0 Author: Mohammed Kaludi Author URI: http://ampforwp.com/ License: GPL2 */
Step 2: Once you save this file Custom plugin will be created on WordPress dashboard -> plugin page now click “Activate” link like below the screenshot.

Step 3: Open that file and with the help of our filter and hooks you can modify almost everything which you need and to get the complete list of all our hooks/filters Click Here
Case 1: If you want to add banner in the below of the content then follow this article.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.