Version Description
- prepared for repeating content ad injections in Pro
- minor backend fixes
Download this release
Release Info
Developer | webzunft |
Plugin | Advanced Ads |
Version | 1.8.27 |
Comparing to | |
See all releases |
Code changes from version 1.8.26 to 1.8.27
- admin/assets/css/admin.css +4 -1
- admin/views/ad-info.php +2 -2
- admin/views/placements.php +1 -0
- advanced-ads.php +3 -3
- readme.txt +9 -2
admin/assets/css/admin.css
CHANGED
@@ -378,4 +378,7 @@ tr:hover .on-hover { display: block; }
|
|
378 |
/* Pro Pitch List */
|
379 |
.advads-pro-pitch { max-width: 500px; float: left; padding: 1em; margin-right: 1em; line-height: 2em; font-size: 14px; text-transform: capitalize; }
|
380 |
.advads-pro-pitch .dashicons { line-height: 1.4em; }
|
381 |
-
#advads-tracking-pitch .advads-pro-pitch { float: none; }
|
|
|
|
|
|
378 |
/* Pro Pitch List */
|
379 |
.advads-pro-pitch { max-width: 500px; float: left; padding: 1em; margin-right: 1em; line-height: 2em; font-size: 14px; text-transform: capitalize; }
|
380 |
.advads-pro-pitch .dashicons { line-height: 1.4em; }
|
381 |
+
#advads-tracking-pitch .advads-pro-pitch { float: none; }
|
382 |
+
|
383 |
+
/* manual link without underline (e.g., when icon is used )*/
|
384 |
+
a.advads-manual-icon { text-decoration: none; }
|
admin/views/ad-info.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<div id="advads-ad-info">
|
2 |
<span><?php printf( __( 'Ad Id: %s', 'advanced-ads' ), "<strong>$post->ID</strong>" ); ?></span>
|
3 |
<label><span><?php _e( 'shortcode', 'advanced-ads' ); ?></span>
|
4 |
-
<pre><input type="text" onclick="this.select();" value='[the_ad id="<?php echo $post->ID; ?>"]'/></pre></label>
|
5 |
<label><span><?php _e( 'theme function', 'advanced-ads' ); ?></span>
|
6 |
-
<pre><input type="text" onclick="this.select();" value="<?php the_ad(<?php echo $post->ID; ?>); ?>"/></pre></label>
|
7 |
<span><?php printf( __( 'Find more display options in the <a href="%s" target="_blank">manual</a>.', 'advanced-ads' ), ADVADS_URL . 'manual/display-ads/#utm_source=advanced-ads&utm_medium=link&utm_campaign=edit' ); ?></span>
|
8 |
</div>
|
9 |
<div id="advads-ad-description">
|
1 |
<div id="advads-ad-info">
|
2 |
<span><?php printf( __( 'Ad Id: %s', 'advanced-ads' ), "<strong>$post->ID</strong>" ); ?></span>
|
3 |
<label><span><?php _e( 'shortcode', 'advanced-ads' ); ?></span>
|
4 |
+
<pre><input type="text" onclick="this.select();" value='[the_ad id="<?php echo $post->ID; ?>"]' readonly="readonly"/></pre></label>
|
5 |
<label><span><?php _e( 'theme function', 'advanced-ads' ); ?></span>
|
6 |
+
<pre><input type="text" onclick="this.select();" value="<?php the_ad(<?php echo $post->ID; ?>); ?>" readonly="readonly"/></pre></label>
|
7 |
<span><?php printf( __( 'Find more display options in the <a href="%s" target="_blank">manual</a>.', 'advanced-ads' ), ADVADS_URL . 'manual/display-ads/#utm_source=advanced-ads&utm_medium=link&utm_campaign=edit' ); ?></span>
|
8 |
</div>
|
9 |
<div id="advads-ad-description">
|
admin/views/placements.php
CHANGED
@@ -88,6 +88,7 @@
|
|
88 |
|
89 |
ob_start();
|
90 |
include ADVADS_BASE_PATH . 'admin/views/placements-content-index.php';
|
|
|
91 |
$option_content = ob_get_clean();
|
92 |
|
93 |
Advanced_Ads_Admin_Options::render_option(
|
88 |
|
89 |
ob_start();
|
90 |
include ADVADS_BASE_PATH . 'admin/views/placements-content-index.php';
|
91 |
+
do_action( 'advanced-ads-placement-post-content-position', $_placement_slug, $_placement );
|
92 |
$option_content = ob_get_clean();
|
93 |
|
94 |
Advanced_Ads_Admin_Options::render_option(
|
advanced-ads.php
CHANGED
@@ -5,14 +5,14 @@
|
|
5 |
* @package Advanced_Ads
|
6 |
* @author Thomas Maier <thomas.maier@webgilde.com>
|
7 |
* @license GPL-2.0+
|
8 |
-
* @link https://
|
9 |
* @copyright 2013-2018 Thomas Maier, webgilde GmbH
|
10 |
*
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: https://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
-
* Version: 1.8.
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: https://wpadvancedads.com
|
18 |
* Text Domain: advanced-ads
|
@@ -39,7 +39,7 @@ define( 'ADVADS_BASE_DIR', dirname( ADVADS_BASE ) ); // directory of the plugin
|
|
39 |
// general and global slug, e.g. to store options in WP, textdomain
|
40 |
define( 'ADVADS_SLUG', 'advanced-ads' );
|
41 |
define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
|
42 |
-
define( 'ADVADS_VERSION', '1.8.
|
43 |
|
44 |
/*----------------------------------------------------------------------------*
|
45 |
* Autoloading, modules and functions
|
5 |
* @package Advanced_Ads
|
6 |
* @author Thomas Maier <thomas.maier@webgilde.com>
|
7 |
* @license GPL-2.0+
|
8 |
+
* @link https://wpadvancedads.com
|
9 |
* @copyright 2013-2018 Thomas Maier, webgilde GmbH
|
10 |
*
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Advanced Ads
|
13 |
* Plugin URI: https://wpadvancedads.com
|
14 |
* Description: Manage and optimize your ads in WordPress
|
15 |
+
* Version: 1.8.27
|
16 |
* Author: Thomas Maier
|
17 |
* Author URI: https://wpadvancedads.com
|
18 |
* Text Domain: advanced-ads
|
39 |
// general and global slug, e.g. to store options in WP, textdomain
|
40 |
define( 'ADVADS_SLUG', 'advanced-ads' );
|
41 |
define( 'ADVADS_URL', 'https://wpadvancedads.com/' );
|
42 |
+
define( 'ADVADS_VERSION', '1.8.27' );
|
43 |
|
44 |
/*----------------------------------------------------------------------------*
|
45 |
* Autoloading, modules and functions
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: ads, ad manager, ad widget, ad rotation, adsense, advertise, advertisement
|
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.2
|
8 |
-
Stable tag: 1.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -105,6 +105,7 @@ Placements to insert ads in pre-defined positions in your theme and content. [Li
|
|
105 |
* option to make the AdSense background transparent
|
106 |
* place AdSense In-feed ads using the also free [In-feed add-on](https://wordpress.org/plugins/advanced-ads-adsense-in-feed/)
|
107 |
* assistant for exact sizes of responsive ads with the [Responsive add-on](https://wpadvancedads.com/add-ons/responsive-ads/)
|
|
|
108 |
|
109 |
= ad blocker =
|
110 |
|
@@ -122,7 +123,7 @@ Localizations: English, German, French, Spanish, Dutch, Italian, Portuguese, Vie
|
|
122 |
> * [Selling Ads](https://wpadvancedads.com/add-ons/selling-ads/) - allows you to sell ads on your website fully automated, including payments and advertiser profiles.
|
123 |
> * [Geo Targeting](https://wpadvancedads.com/add-ons/geo-targeting/) – display ads based on geo location of the visitor
|
124 |
> * [Tracking](https://wpadvancedads.com/add-ons/tracking/) – ad tracking and statistics
|
125 |
-
> * [Responsive Ads](https://wpadvancedads.com/add-ons/responsive-ads/) – create mobile ads or ads for specific browser sizes
|
126 |
> * [Sticky Ads](https://wpadvancedads.com/add-ons/sticky-ads/) – increase click rates with fixed, sticky, and anchor ads
|
127 |
> * [PopUp and Layer Ads](https://wpadvancedads.com/add-ons/popup-and-layer-ads/) – display ads and other content in layers and popups
|
128 |
> * [Slider](https://wpadvancedads.com/add-ons/slider/) – create a simple slider from your ads
|
@@ -230,9 +231,15 @@ Yes. Advanced Ads is based on WordPress standards and therefore easily customiza
|
|
230 |
6. Choose where to display your ads using many conditions.
|
231 |
7. Use various conditions to choose who should see ads (basic plugin and more in add-ons).
|
232 |
8. Track impressions and clicks (Tracking add-on).
|
|
|
233 |
|
234 |
== Changelog ==
|
235 |
|
|
|
|
|
|
|
|
|
|
|
236 |
= 1.8.26 =
|
237 |
|
238 |
* fixed issue for new installations
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.2
|
8 |
+
Stable tag: 1.8.27
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
105 |
* option to make the AdSense background transparent
|
106 |
* place AdSense In-feed ads using the also free [In-feed add-on](https://wordpress.org/plugins/advanced-ads-adsense-in-feed/)
|
107 |
* assistant for exact sizes of responsive ads with the [Responsive add-on](https://wpadvancedads.com/add-ons/responsive-ads/)
|
108 |
+
* convert AdSense into AMP automatically with the [Responsive add-on](https://wpadvancedads.com/add-ons/responsive-ads/)
|
109 |
|
110 |
= ad blocker =
|
111 |
|
123 |
> * [Selling Ads](https://wpadvancedads.com/add-ons/selling-ads/) - allows you to sell ads on your website fully automated, including payments and advertiser profiles.
|
124 |
> * [Geo Targeting](https://wpadvancedads.com/add-ons/geo-targeting/) – display ads based on geo location of the visitor
|
125 |
> * [Tracking](https://wpadvancedads.com/add-ons/tracking/) – ad tracking and statistics
|
126 |
+
> * [Responsive Ads](https://wpadvancedads.com/add-ons/responsive-ads/) – create mobile ads or ads for specific browser sizes and ads on AMP
|
127 |
> * [Sticky Ads](https://wpadvancedads.com/add-ons/sticky-ads/) – increase click rates with fixed, sticky, and anchor ads
|
128 |
> * [PopUp and Layer Ads](https://wpadvancedads.com/add-ons/popup-and-layer-ads/) – display ads and other content in layers and popups
|
129 |
> * [Slider](https://wpadvancedads.com/add-ons/slider/) – create a simple slider from your ads
|
231 |
6. Choose where to display your ads using many conditions.
|
232 |
7. Use various conditions to choose who should see ads (basic plugin and more in add-ons).
|
233 |
8. Track impressions and clicks (Tracking add-on).
|
234 |
+
9. Convert AdSense ads into AMP automatically (Responsive add-on)
|
235 |
|
236 |
== Changelog ==
|
237 |
|
238 |
+
= 1.8.27 =
|
239 |
+
|
240 |
+
* prepared for repeating content ad injections in [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/)
|
241 |
+
* minor backend fixes
|
242 |
+
|
243 |
= 1.8.26 =
|
244 |
|
245 |
* fixed issue for new installations
|