Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Bump to version 1.6.0
Browse files Browse the repository at this point in the history
1. Add support for BOOST Program pages
  • Loading branch information
Aaron Huisinga committed May 20, 2017
1 parent 525154f commit 27b08a9
Show file tree
Hide file tree
Showing 5 changed files with 397 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## Introduction

Custom info pages for Platform ad campaigns (currently supports the HIP, Patriot, PATH, PSD, and First Responders Programs).
Custom info pages for Platform ad campaigns (currently supports the HIP, Patriot, PATH, PSD, BOOST, and First Responders Programs).
4 changes: 4 additions & 0 deletions classes/class-program-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ public function enqueue_scripts()
'Patriot Program',
'PATH Program',
'HEROES Program',
'BOOST Program',
'First Responders Program'
])) {
wp_register_style($this->token, esc_url($this->assets_url . 'css/hip-page.css'), [], PROGRAM_PAGE_PLUGIN_VERSION);
Expand Down Expand Up @@ -407,6 +408,7 @@ public function get_custom_fields_settings($meta_box)
'patriot' => 'Patriot Program',
'path' => 'PATH Program',
'heroes' => 'HEROES Program',
'boost' => 'BOOST Program',
'responders' => 'First Responders Program'
],
'section' => 'info'
Expand Down Expand Up @@ -650,6 +652,8 @@ public function page_templates()
include($this->template_path . 'psd-page.php');
} else if ($program == 'First Responders Program') {
include($this->template_path . 'first-responders-page.php');
} else if ($program == 'BOOST Program') {
include($this->template_path . 'boost-page.php');
}
exit;
}
Expand Down
4 changes: 2 additions & 2 deletions program-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/*
* Plugin Name: Program Page
* Version: 1.5.5
* Version: 1.6.0
* Plugin URI: http://www.coldturkeygroup.com/
* Description: Custom info pages for Platform ad campaigns
* Author: Cold Turkey Group
Expand All @@ -23,7 +23,7 @@
define( 'PROGRAM_PAGE_PLUGIN_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );

if ( ! defined( 'PROGRAM_PAGE_PLUGIN_VERSION' ) )
define( 'PROGRAM_PAGE_PLUGIN_VERSION', '1.5.5' );
define( 'PROGRAM_PAGE_PLUGIN_VERSION', '1.6.0' );

require_once( 'classes/class-program-page.php' );

Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Contributors: Aaron Huisinga
Tags: real estate, platform, days on market
Requires at least: 3.5
Tested up to: 4.6
Stable tag: 1.5.5
Stable tag: 1.6.0

Custom info pages for Platform ad campaigns (currently supports the HIP, Patriot, PATH, HEROES, and First Responder Programs).
Custom info pages for Platform ad campaigns (currently supports the HIP, Patriot, PATH, HEROES, BOOST, and First Responder Programs).

== Description ==

Custom info pages for Platform ad campaigns (currently supports the HIP, Patriot, PATH, HEROES, and First Responder Programs).
Custom info pages for Platform ad campaigns (currently supports the HIP, Patriot, PATH, HEROES, BOOST, and First Responder Programs).

== Installation ==

Expand Down
Loading

0 comments on commit 27b08a9

Please sign in to comment.