Skip to content

Instantly share code, notes, and snippets.

@MohammedKaludi
Created December 23, 2016 11:58
Show Gist options
  • Save MohammedKaludi/31e577ecf37b327bf5048191793234b1 to your computer and use it in GitHub Desktop.
Save MohammedKaludi/31e577ecf37b327bf5048191793234b1 to your computer and use it in GitHub Desktop.
Custom banner extension: plugin header
<?php
/*
Plugin Name: AMP Custom Banner Extension
Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
Description: Extension made for AMP for WP to add a custom banner after the post content.
Version: 1.0
Author: Mohammed Kaludi
Author URI: http://ampforwp.com/
License: GPL2
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment