Skip to content

Commit

Permalink
0.7.5 Release
Browse files Browse the repository at this point in the history
- Google Analytics Support Added
- Logo Support Added. If the logo is disabled, then the Title should be
activated.
- Color Scheme Feature Added
- User friendly Options Panel Added
- iFrame support Added
- Few Minor Bugs Fixed
- #27 fixed
- #23 fixed
- #9 implemented
- #5 fixed
  • Loading branch information
ahmedkaludi committed Aug 13, 2016
1 parent 6682524 commit 7139963
Show file tree
Hide file tree
Showing 301 changed files with 46,997 additions and 20 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ https://wordpress.org/plugins/accelerated-mobile-pages/

=== AMP - Accelerated Mobile Pages ===
Contributors: mohammed_kaludi, ahmedkaludi
Tags: accelerated mobile pages, amp, mobile, amp project, google amp, amp wp
Tags: amp, accelerated mobile pages, mobile, amp project, google amp, amp wp
Requires at least: 3.0
Tested up to: 4.5.3
Stable tag: 0.7.1
Stable tag: 0.7.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -22,12 +22,17 @@ Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on
**Features:**

* Automatically integrate AMP to your website
* Google Analytics Support
* User Friendly Theme Options Panel
* Unlimited Color Scheme
* Image Logo Upload
* Supports Posts and Pages
* Proper rel canonical tags which means that Google know the original page.
* Overlay Navigation Menu bar
* Social Sharing in the Single
* Sexy Design
* Separate WordPress Menu for AMP version
* Great Support & Active Development


**NOTE: Next Big Update of this plugin will be released on 7th September 2016.
Expand Down Expand Up @@ -120,4 +125,12 @@ Please check if you have "Pretty Permalinks" enabled. If not then activate it. F
= 0.7.1 =
* Bug #24 (Github) fixed
* Strip Style tags for faster & better validation
* Bug #21 (Github) fixed
* Bug #21 (Github) fixed

= 0.7.5 =
* Google Analytics Support Added
* Logo Support Added. If the logo is disabled, then the Title should be activated.
* Color Scheme Feature Added
* User friendly Options Panel Added
* iFrame support Added
* Few Minor Bugs Fixed
8 changes: 3 additions & 5 deletions accelerated-moblie-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@
Plugin Name: Accelerated Mobile Pages
Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
Description: Accelerated Mobile Pages for WordPress
Version: 0.7.1
Version: 0.7.5
Author: Ahmed Kaludi, Mohammed Kaludi
Author URI: http://AhmedKaludi.com/
License: GPL2
*/

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;

// Load the core class
require_once( dirname( __FILE__ ) . '/admin/ampwp-core.php' );


if ( class_exists( 'Ampwp_core' ) ) {
// New AmpWP object
$ampwp_core = new Ampwp_core;
Expand Down Expand Up @@ -56,4 +52,6 @@ function register_amp_menu() {
}
add_action( 'init', 'register_amp_menu' );
}
require_once( dirname( __FILE__ ) . '/options/admin-init.php' );
//require_once("options/admin-init.php");
?>
1 change: 0 additions & 1 deletion admin/ampwp-check.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;

if ( ! class_exists( 'AmpWP_check' ) ) {
/**
* Class that does all the checks to determine if we are dealing with a Mobile browser
Expand Down
1 change: 0 additions & 1 deletion admin/ampwp-core.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;

if ( ! class_exists( 'Ampwp_core' ) ) {
/**
* The core AmpWP class where the magic happens
Expand Down
33 changes: 33 additions & 0 deletions options/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Cust Redux Build Instructions

### NEVER modify anything in the redux-framework folder
Redux works because it's extensible by hooks. If you modify the core directory,
or attempt to add your own stuff within the core directory, any other version of
Redux WILL override your code. Never ever modify the ReduxCore, only extend it
via hooks and filters. ;)

#### ~/admin/options-init.php
Your options configuration.


#### ~/admin/tgm/tgm-init.php (If you opted to use it)
You can add additional plugins if desired.

#### Learn About Redux Extensions
https://docs.reduxframework.com/extensions/using-extensions/

#### ~/admin/redux-extensions/extensions
Place all extensions within this directory. An example would look like:

* ~admin
* redux-extensions
* extension
* metaboxes
* extension_metaboxes.php

#### ~/admin/redux-extensions/configs
Place any custom configs extensions, that should not be added to the standard
options-init.php file, within this folder. These will be auto-loaded.


### For further instructions or assistance, please visit http://docs.reduxframework.com
21 changes: 21 additions & 0 deletions options/admin-init.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

// Load the TGM init if it exists
if ( file_exists( dirname( __FILE__ ) . '/tgm/tgm-init.php' ) ) {
require_once dirname( __FILE__ ) . '/tgm/tgm-init.php';
}

// Load the embedded Redux Framework
if ( file_exists( dirname( __FILE__ ).'/redux-framework/framework.php' ) ) {
require_once dirname(__FILE__).'/redux-framework/framework.php';
}

// Load the theme/plugin options
if ( file_exists( dirname( __FILE__ ) . '/options-init.php' ) ) {
require_once dirname( __FILE__ ) . '/options-init.php';
}

// Load Redux extensions
if ( file_exists( dirname( __FILE__ ) . '/redux-extensions/extensions-init.php' ) ) {
require_once dirname( __FILE__ ) . '/redux-extensions/extensions-init.php';
}
Loading

0 comments on commit 7139963

Please sign in to comment.