diff --git a/src/class/class-sqweb-build-script.php b/src/class/class-sqweb-build-script.php index e65b497..8d66eb6 100644 --- a/src/class/class-sqweb-build-script.php +++ b/src/class/class-sqweb-build-script.php @@ -76,7 +76,7 @@ public function generate() { )); $output = '' . PHP_EOL; - $output .= ''; + $output .= ''; echo $output; } diff --git a/src/config.php b/src/config.php index e850db5..1659067 100644 --- a/src/config.php +++ b/src/config.php @@ -22,4 +22,4 @@ function sqw_site_url() { // Self-Explanatory define( 'SQW_ENDPOINT', 'https://api.multipass.net/' ); define( 'DEBUG_MODE', 0 ); -define( 'SQW_VERSION', '2.8.7' ); +define( 'SQW_VERSION', '2.8.8' ); diff --git a/src/readme.txt b/src/readme.txt index 8d4bd31..11aea8d 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -3,7 +3,7 @@ Contributors: plavaux, nverdonc, bastienbotella, matdarr Tags: paywall, subscription, adblock, analytics, support Requires at least: 3.6 Tested up to: 4.9.4 -Stable tag: 2.8.7 +Stable tag: 2.8.8 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.en.html @@ -154,6 +154,9 @@ You can keep your current adverting setup. We're compatible with AdSense, Double == Changelog == += v2.8.8 = +* Implemented a shortcode to display the "Support us" message + = v2.8.7 = * Fixed iframe sometimes not appearing diff --git a/src/shortcode-function.php b/src/shortcode-function.php index db527fe..5b656c0 100644 --- a/src/shortcode-function.php +++ b/src/shortcode-function.php @@ -29,6 +29,12 @@ function sqweb_add_filter_short_code( $atts = array(), $content = null, $tag = ' } } +function sqweb_support_button_short_code( $atts = array(), $content = null, $tag = '' ) { + echo sqw_support_button_html(); +} + +add_shortcode( 'sqweb_support_us', 'sqweb_support_button_short_code' ); + add_shortcode( 'sqweb_button', 'sqweb_button_short_code' ); add_shortcode( 'sqweb_add_filter', 'sqweb_add_filter_short_code' ); diff --git a/src/sqweb.php b/src/sqweb.php index 592b490..8e75dfb 100644 --- a/src/sqweb.php +++ b/src/sqweb.php @@ -3,7 +3,7 @@ Plugin Name: Multipass Plugin URI: https://www.multipass.net/ Description: Earn money with user subscriptions instead of advertising. Set up a simple universal subscription on your site with just a few clicks. Includes adblock detection and targeting. -Version: 2.8.7 +Version: 2.8.8 Author: Multipass Author URI: https://www.multipass.net Text Domain: sqweb