Ad Inserter – WordPress Ads Management with AdSense Header Integration - Version 2.4.9

Version Description

  • Added support for HEAD separator
  • Added support for DoubleClick for Publishers (DFP) ads
  • Added support to generate statistics reports in PDF format (Pro only)
  • Fix for ad label when using AMP separator
  • Fix for AdSense code fixed by viewport
  • Fix for error when checking for available positions
  • Few minor bug fixes, cosmetic changes and code improvements
Download this release

Release Info

Developer spacetime
Plugin Icon 128x128 Ad Inserter – WordPress Ads Management with AdSense Header Integration
Version 2.4.9
Comparing to
See all releases

Code changes from version 2.4.8 to 2.4.9

ad-inserter.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
- Version: 2.4.8
6
  Description: Ad management with many advanced advertising features to insert ads at optimal positions
7
  Author: Igor Funa
8
  Author URI: http://igorfuna.com/
@@ -15,6 +15,15 @@ Domain Path: /languages
15
 
16
  Change Log
17
 
 
 
 
 
 
 
 
 
 
18
  Ad Inserter 2.4.8 - 2019-01-20
19
  - Added support for automatic insertion before/after image
20
  - Added support for theme checker for available positions for automatic insertion
@@ -659,6 +668,37 @@ function ai_loop_check ($query, $action) {
659
  }
660
 
661
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
662
  function ai_buffering_start () {
663
  global $ai_wp_data;
664
 
@@ -693,6 +733,7 @@ function ai_buffering_end () {
693
  ai_log ("BUFFER PROCESSING");
694
  }
695
 
 
696
  $body = $matches [2];
697
 
698
  if (isset ($ai_db_options_extract [HTML_ELEMENT_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && class_exists ('DOMDocument')) {
@@ -1009,7 +1050,9 @@ function ai_buffering_end () {
1009
  }
1010
  }
1011
 
1012
- echo $matches [0], $matches [1];
 
 
1013
 
1014
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
1015
  $class = AI_DEBUG_STATUS_CLASS.' status-ok';
@@ -1191,6 +1234,9 @@ function ai_wp_hook () {
1191
 
1192
  if (isset ($_GET [AI_URL_DEBUG_POSITIONS])) {
1193
  $secret = isset ($_GET ['ai-secret']) && $_GET ['ai-secret'] == ai_secret_key ();
 
 
 
1194
  if ($_GET [AI_URL_DEBUG_POSITIONS] !== '' && ($url_debugging || $secret)) $ai_wp_data [AI_WP_DEBUGGING] |= AI_DEBUG_POSITIONS; else $ai_wp_data [AI_WP_DEBUGGING] &= ~AI_DEBUG_POSITIONS;
1195
  if (is_numeric ($_GET [AI_URL_DEBUG_POSITIONS])) $ai_wp_data [AI_WP_DEBUG_BLOCK] = intval ($_GET [AI_URL_DEBUG_POSITIONS]);
1196
  if ($ai_wp_data [AI_WP_DEBUG_BLOCK] < 0 || $ai_wp_data [AI_WP_DEBUG_BLOCK] > 96) $ai_wp_data [AI_WP_DEBUG_BLOCK] = 0;
@@ -2137,7 +2183,7 @@ function ai_admin_notice_hook () {
2137
  $option = '<div class="ai-notice-text-button ai-notice-dismiss" data-notice="later">' . __("Not now, maybe later.", 'ad-inserter') . '</div>';
2138
  }
2139
  ?>
2140
- <div class="notice notice-info ai-notice ai-no-phone" style="display: none;" data-notice="review" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" >
2141
  <div class="ai-notice-element">
2142
  <img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-50x50.jpg" style="width: 50px; margin: 5px 10px 0px 10px;" />
2143
  </div>
@@ -2536,6 +2582,14 @@ function ai_wp_head_hook () {
2536
  $start_time = microtime (true);
2537
  }
2538
 
 
 
 
 
 
 
 
 
2539
  if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & (AI_DEBUG_POSITIONS | AI_DEBUG_BLOCKS)) != 0) {
2540
  echo "\n<script>
2541
  ai_js_errors = [];
@@ -2589,6 +2643,14 @@ function ai_wp_head_hook () {
2589
  }
2590
  }
2591
 
 
 
 
 
 
 
 
 
2592
  if (!$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2593
  if (!get_disable_js_code () && $ai_wp_data [AI_WP_DEBUGGING] != 0 && isset ($_GET ['ai-debug-code']) && !defined ('AI_DEBUGGING_DEMO')) {
2594
  if (is_numeric ($_GET ['ai-debug-code']) && $_GET ['ai-debug-code'] >= 1 && $_GET ['ai-debug-code'] <= 96) {
@@ -2707,13 +2769,13 @@ jQuery(window).on ('load', function () {
2707
  echo '</script>', "\n";
2708
  }
2709
 
2710
- if (defined ('AI_BUFFERING')) {
2711
- if (get_output_buffering ()) {
2712
- if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2713
- ai_buffering_start ();
2714
- }
2715
- }
2716
- }
2717
 
2718
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
2719
  $ai_total_plugin_time += microtime (true) - $start_time;
@@ -2731,6 +2793,14 @@ function ai_amp_head_hook () {
2731
  $start_time = microtime (true);
2732
  }
2733
 
 
 
 
 
 
 
 
 
2734
  $ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
2735
 
2736
  ai_header_noindex ();
@@ -2764,10 +2834,9 @@ function ai_amp_head_hook () {
2764
  }
2765
 
2766
  if (defined ('AI_BUFFERING')) {
2767
- if (get_output_buffering ()) {
2768
- if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX) {
2769
- ai_buffering_start ();
2770
- }
2771
  }
2772
  }
2773
 
@@ -4348,10 +4417,18 @@ function filter_option ($option, $value, $delete_escaped_backslashes = true){
4348
  $value = str_replace (array ("\"", "<", ">", "[", "]"), "", $value);
4349
  $value = esc_html ($value);
4350
  }
4351
- elseif ($option == 'AD_LABEL' ) {
 
 
4352
  $value = str_replace (array ("\\", "?"), "", $value);
4353
  $value = esc_html ($value);
4354
  }
 
 
 
 
 
 
4355
 
4356
  return $value;
4357
  }
@@ -5810,10 +5887,10 @@ function ai_content_hook ($content = '') {
5810
 
5811
  $content_words = number_of_words ($content);
5812
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
5813
-
5814
  $positions_inserted = false;
 
5815
  if ($ai_wp_data [AI_WP_DEBUG_BLOCK] == 0) {
5816
- $preview = $block_object [0];
5817
  $content = $preview->before_paragraph ($content, true);
5818
  $content = $preview->after_paragraph ($content, true);
5819
  $positions_inserted = true;
@@ -5850,8 +5927,10 @@ function ai_content_hook ($content = '') {
5850
  if ($in_the_loop || !$obj->get_only_in_the_loop ()) {
5851
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0 && !$positions_inserted && $ai_wp_data [AI_WP_DEBUG_BLOCK] <= $block) {
5852
  $preview = $block_object [$ai_wp_data [AI_WP_DEBUG_BLOCK]];
 
5853
  $content = $preview->before_paragraph ($content, true);
5854
  $content = $preview->after_paragraph ($content, true);
 
5855
  $positions_inserted = true;
5856
  }
5857
 
@@ -6002,11 +6081,9 @@ function ai_content_hook ($content = '') {
6002
 
6003
  $content = $content . "<section data-ai-position='" .AI_AUTOMATIC_INSERTION_AFTER_CONTENT ."' class='$class'>" . ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_AFTER_CONTENT) : strtoupper (AI_TEXT_AFTER_CONTENT)) . ' '.$counter."</section>";
6004
 
6005
- $content = $content . get_page_type_debug_info ();
6006
-
6007
  if ($ai_wp_data [AI_WP_AMP_PAGE]) {
6008
  $content = $content . get_page_type_debug_info ('AMP ');
6009
- }
6010
  }
6011
 
6012
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_TAGS) != 0) {
@@ -6540,7 +6617,7 @@ function ai_custom_hook ($action, $insertion_type, $name, $translated_name = '',
6540
 
6541
 
6542
  function ai_pre_do_shortcode_tag ($return, $tag, $attr, $m) {
6543
- global $ai_expand_only_rotate;
6544
 
6545
  // Array
6546
  //(
@@ -6555,7 +6632,7 @@ function ai_pre_do_shortcode_tag ($return, $tag, $attr, $m) {
6555
  if (strtolower ($tag) == 'adinserter') {
6556
  if ($ai_expand_only_rotate) {
6557
  // Expand only ROTATE
6558
- if (isset ($attr ['rotate']) || in_array ('ROTATE', $attr) || in_array ('rotate', $atts)) {
6559
  return false;
6560
  } else return $m [0];
6561
  }
@@ -6573,6 +6650,7 @@ function ai_process_shortcode (&$block, $atts) {
6573
  "block" => "",
6574
  "code" => "",
6575
  "name" => "",
 
6576
  "ignore" => "",
6577
  "check" => "",
6578
  "adb" => "",
@@ -6580,6 +6658,7 @@ function ai_process_shortcode (&$block, $atts) {
6580
  "text" => "",
6581
  "selectors" => "",
6582
  "amp" => "",
 
6583
  "rotate" => "",
6584
  "count" => "",
6585
  "http" => "",
@@ -6587,6 +6666,7 @@ function ai_process_shortcode (&$block, $atts) {
6587
  "data" => "",
6588
  "share" => "",
6589
  "time" => "",
 
6590
  ), $atts);
6591
 
6592
 
@@ -6642,6 +6722,11 @@ function ai_process_shortcode (&$block, $atts) {
6642
  }
6643
 
6644
  if ($block == - 1) {
 
 
 
 
 
6645
  if ($parameters ['count'] != '' || in_array ('COUNT', $atts) || in_array ('count', $atts)) {
6646
  if (!isset ($ai_wp_data [AI_SHORTCODES]['count'])) $ai_wp_data [AI_SHORTCODES]['count'] = array ();
6647
  $ai_wp_data [AI_SHORTCODES]['count'] []= $parameters;
@@ -6655,6 +6740,11 @@ function ai_process_shortcode (&$block, $atts) {
6655
  if ($parameters ['amp'] != '' || in_array ('AMP', $atts) || in_array ('amp', $atts)) {
6656
  return AD_AMP_SEPARATOR;
6657
  }
 
 
 
 
 
6658
  if ($parameters ['http'] != '' || in_array ('HTTP', $atts) || in_array ('http', $atts)) {
6659
  return AD_HTTP_SEPARATOR;
6660
  }
@@ -6669,7 +6759,8 @@ function ai_process_shortcode (&$block, $atts) {
6669
  return '{'.$parameters ['data'].'}';
6670
  }
6671
  if ($parameters ['name'] != '') {
6672
- switch (strtolower ($parameters ['name'])) {
 
6673
  case 'processing-log':
6674
  if (/*get_remote_debugging () ||*/ ($ai_wp_data [AI_WP_USER] & AI_USER_ADMINISTRATOR) != 0) {
6675
  ob_start ();
@@ -6685,6 +6776,12 @@ function ai_process_shortcode (&$block, $atts) {
6685
  ai_write_debugging_tools ();
6686
  return ob_get_clean ();
6687
  }
 
 
 
 
 
 
6688
  return "";
6689
  }
6690
  }
@@ -6757,24 +6854,36 @@ function ai_process_shortcode (&$block, $atts) {
6757
  if (isset ($ai_wp_data [AI_SHORTCODES]['force_serverside'])) {
6758
  $saved_force_serverside = $ai_wp_data [AI_SHORTCODES]['force_serverside'];
6759
  }
 
 
 
6760
  if (isset ($ai_wp_data [AI_SHORTCODES]['count'])) {
6761
  $saved_count = $ai_wp_data [AI_SHORTCODES]['count'];
6762
  }
6763
  if (isset ($ai_wp_data [AI_SHORTCODES]['rotate'])) {
6764
  $saved_rotate = $ai_wp_data [AI_SHORTCODES]['rotate'];
6765
  }
 
 
 
6766
 
6767
  $code = $obj->get_code_for_serverside_insertion (true, false, $code_only);
6768
 
6769
  if (isset ($saved_force_serverside)) {
6770
  $ai_wp_data [AI_SHORTCODES]['force_serverside'] = $saved_force_serverside;
6771
- }
 
 
 
6772
  if (isset ($saved_count)) {
6773
  $ai_wp_data [AI_SHORTCODES]['count'] = $saved_count;
6774
- }
6775
  if (isset ($saved_rotate)) {
6776
  $ai_wp_data [AI_SHORTCODES]['rotate'] = $saved_rotate;
6777
- }
 
 
 
6778
 
6779
  // Must be after get_code_for_serverside_insertion ()
6780
  $ai_last_check = AI_CHECK_INSERTED;
@@ -7450,6 +7559,8 @@ $ai_wp_data [AI_MBSTRING_LOADED] = extension_loaded ('mbstring');
7450
  $ai_wp_data [AI_PROCESSING_TIME] = false;
7451
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
7452
  $ai_wp_data [AI_CODE_FOR_IFRAME] = false;
 
 
7453
 
7454
  ai_load_settings ();
7455
 
2
 
3
  /*
4
  Plugin Name: Ad Inserter
5
+ Version: 2.4.9
6
  Description: Ad management with many advanced advertising features to insert ads at optimal positions
7
  Author: Igor Funa
8
  Author URI: http://igorfuna.com/
15
 
16
  Change Log
17
 
18
+ Ad Inserter 2.4.9 - 2019-02-05
19
+ - Added support for HEAD separator
20
+ - Added support for DoubleClick for Publishers (DFP) ads
21
+ - Added support to generate statistics reports in PDF format (Pro only)
22
+ - Fix for ad label when using AMP separator
23
+ - Fix for AdSense code fixed by viewport
24
+ - Fix for error when checking for available positions
25
+ - Few minor bug fixes, cosmetic changes and code improvements
26
+
27
  Ad Inserter 2.4.8 - 2019-01-20
28
  - Added support for automatic insertion before/after image
29
  - Added support for theme checker for available positions for automatic insertion
668
  }
669
 
670
 
671
+ function ai_process_head_codes ($head) {
672
+ global $ai_wp_data;
673
+
674
+ if (!get_disable_header_code ()) {
675
+ if (!empty ($ai_wp_data [AI_HEAD_CODES])) {
676
+ $head = str_replace ("<!--[AI_HEAD_CODES]-->", implode ("\n", $ai_wp_data [AI_HEAD_CODES]) . "\n", $head);
677
+
678
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
679
+ $head = str_replace ("&lt;!--[AI_HEAD_CODES]--&gt;", '<span style=\'color: #00f;\'>' . str_replace (array ('<', '>'), array ('&lt;', '&gt;'), implode ("\\n", $ai_wp_data [AI_HEAD_CODES])) . '</span>', $head);
680
+ }
681
+ }
682
+
683
+ foreach ($ai_wp_data [AI_HEAD_GROUPS] as $group_name => $group_codes) {
684
+ $group_code = implode ("\n", $group_codes);
685
+ $head = str_replace ("<!--[AI_HEAD_GROUPS $group_name]-->", $group_code, $head);
686
+
687
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
688
+ $head = str_replace ("&lt;!--[AI_HEAD_GROUPS $group_name]--&gt;", str_replace (array ('<', '>'), array ('<span style=\'color: #c0f;\'>&lt;', '&gt;</span>'), implode ("\\n", $group_codes)), $head);
689
+ }
690
+ }
691
+ }
692
+
693
+ $head = preg_replace ("#<!--\[AI(.+?)\]-->#", '', $head);
694
+
695
+ if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_BLOCKS) != 0) {
696
+ $head = preg_replace ("#&lt;!--\[AI(.+?)\]--&gt;#", '', $head);
697
+ }
698
+
699
+ return ($head);
700
+ }
701
+
702
  function ai_buffering_start () {
703
  global $ai_wp_data;
704
 
733
  ai_log ("BUFFER PROCESSING");
734
  }
735
 
736
+ $head = $matches [0];
737
  $body = $matches [2];
738
 
739
  if (isset ($ai_db_options_extract [HTML_ELEMENT_HOOK_BLOCKS][$ai_wp_data [AI_WP_PAGE_TYPE]]) && class_exists ('DOMDocument')) {
1050
  }
1051
  }
1052
 
1053
+ $head = ai_process_head_codes ($head);
1054
+
1055
+ echo $head, $matches [1];
1056
 
1057
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
1058
  $class = AI_DEBUG_STATUS_CLASS.' status-ok';
1234
 
1235
  if (isset ($_GET [AI_URL_DEBUG_POSITIONS])) {
1236
  $secret = isset ($_GET ['ai-secret']) && $_GET ['ai-secret'] == ai_secret_key ();
1237
+ if ($secret) {
1238
+ ai_disable_caching ();
1239
+ }
1240
  if ($_GET [AI_URL_DEBUG_POSITIONS] !== '' && ($url_debugging || $secret)) $ai_wp_data [AI_WP_DEBUGGING] |= AI_DEBUG_POSITIONS; else $ai_wp_data [AI_WP_DEBUGGING] &= ~AI_DEBUG_POSITIONS;
1241
  if (is_numeric ($_GET [AI_URL_DEBUG_POSITIONS])) $ai_wp_data [AI_WP_DEBUG_BLOCK] = intval ($_GET [AI_URL_DEBUG_POSITIONS]);
1242
  if ($ai_wp_data [AI_WP_DEBUG_BLOCK] < 0 || $ai_wp_data [AI_WP_DEBUG_BLOCK] > 96) $ai_wp_data [AI_WP_DEBUG_BLOCK] = 0;
2183
  $option = '<div class="ai-notice-text-button ai-notice-dismiss" data-notice="later">' . __("Not now, maybe later.", 'ad-inserter') . '</div>';
2184
  }
2185
  ?>
2186
+ <div class="notice notice-info ai-notice ai-no-phone" style="display: none;" data-notice="review" data-value="<?php echo base64_encode (wp_create_nonce ("adinserter_data")); ?>" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" >
2187
  <div class="ai-notice-element">
2188
  <img src="<?php echo AD_INSERTER_PLUGIN_IMAGES_URL; ?>icon-50x50.jpg" style="width: 50px; margin: 5px 10px 0px 10px;" />
2189
  </div>
2582
  $start_time = microtime (true);
2583
  }
2584
 
2585
+ if (defined ('AI_BUFFERING')) {
2586
+ if (get_output_buffering ()) {
2587
+ if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2588
+ ai_buffering_start ();
2589
+ }
2590
+ }
2591
+ }
2592
+
2593
  if (!get_disable_js_code () && ($ai_wp_data [AI_WP_DEBUGGING] & (AI_DEBUG_POSITIONS | AI_DEBUG_BLOCKS)) != 0) {
2594
  echo "\n<script>
2595
  ai_js_errors = [];
2643
  }
2644
  }
2645
 
2646
+ if (defined ('AI_BUFFERING')) {
2647
+ if (get_output_buffering () && !get_disable_header_code ()) {
2648
+ $ai_head_codes = "<!--[AI_HEAD_CODES]-->";
2649
+ echo $ai_head_codes;
2650
+ $header_code .= $ai_head_codes;
2651
+ }
2652
+ }
2653
+
2654
  if (!$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2655
  if (!get_disable_js_code () && $ai_wp_data [AI_WP_DEBUGGING] != 0 && isset ($_GET ['ai-debug-code']) && !defined ('AI_DEBUGGING_DEMO')) {
2656
  if (is_numeric ($_GET ['ai-debug-code']) && $_GET ['ai-debug-code'] >= 1 && $_GET ['ai-debug-code'] <= 96) {
2769
  echo '</script>', "\n";
2770
  }
2771
 
2772
+ // if (defined ('AI_BUFFERING')) {
2773
+ // if (get_output_buffering ()) {
2774
+ // if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2775
+ // ai_buffering_start ();
2776
+ // }
2777
+ // }
2778
+ // }
2779
 
2780
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_PROCESSING) != 0) {
2781
  $ai_total_plugin_time += microtime (true) - $start_time;
2793
  $start_time = microtime (true);
2794
  }
2795
 
2796
+ if (defined ('AI_BUFFERING')) {
2797
+ if (get_output_buffering ()) {
2798
+ if ($ai_wp_data [AI_WP_PAGE_TYPE] != AI_PT_AJAX) {
2799
+ ai_buffering_start ();
2800
+ }
2801
+ }
2802
+ }
2803
+
2804
  $ai_wp_data [AI_CONTEXT] = AI_CONTEXT_NONE;
2805
 
2806
  ai_header_noindex ();
2834
  }
2835
 
2836
  if (defined ('AI_BUFFERING')) {
2837
+ if (get_output_buffering () && !get_disable_header_code ()) {
2838
+ $ai_head_codes = "<!--[AI_HEAD_CODES]-->";
2839
+ echo $ai_head_codes;
 
2840
  }
2841
  }
2842
 
4417
  $value = str_replace (array ("\"", "<", ">", "[", "]"), "", $value);
4418
  $value = esc_html ($value);
4419
  }
4420
+ elseif ($option == 'AD_LABEL' ||
4421
+ $option == 'REPORT_HEADER_TITLE' ||
4422
+ $option == 'REPORT_HEADER_DESCRIPTION') {
4423
  $value = str_replace (array ("\\", "?"), "", $value);
4424
  $value = esc_html ($value);
4425
  }
4426
+ elseif (
4427
+ $option == 'REPORT_HEADER_IMAGE') {
4428
+ $value = str_replace (home_url () . '/', '', $value);
4429
+ $value = str_replace (array ("http://", "https://", ":". "\"", "<", ">", "[", "]"), "", $value);
4430
+ $value = esc_html ($value);
4431
+ }
4432
 
4433
  return $value;
4434
  }
5887
 
5888
  $content_words = number_of_words ($content);
5889
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0) {
5890
+ $preview = $block_object [0];
5891
  $positions_inserted = false;
5892
+
5893
  if ($ai_wp_data [AI_WP_DEBUG_BLOCK] == 0) {
 
5894
  $content = $preview->before_paragraph ($content, true);
5895
  $content = $preview->after_paragraph ($content, true);
5896
  $positions_inserted = true;
5927
  if ($in_the_loop || !$obj->get_only_in_the_loop ()) {
5928
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_POSITIONS) != 0 && !$positions_inserted && $ai_wp_data [AI_WP_DEBUG_BLOCK] <= $block) {
5929
  $preview = $block_object [$ai_wp_data [AI_WP_DEBUG_BLOCK]];
5930
+
5931
  $content = $preview->before_paragraph ($content, true);
5932
  $content = $preview->after_paragraph ($content, true);
5933
+
5934
  $positions_inserted = true;
5935
  }
5936
 
6081
 
6082
  $content = $content . "<section data-ai-position='" .AI_AUTOMATIC_INSERTION_AFTER_CONTENT ."' class='$class'>" . ($ai_wp_data [AI_MBSTRING_LOADED] ? mb_strtoupper (AI_TEXT_AFTER_CONTENT) : strtoupper (AI_TEXT_AFTER_CONTENT)) . ' '.$counter."</section>";
6083
 
 
 
6084
  if ($ai_wp_data [AI_WP_AMP_PAGE]) {
6085
  $content = $content . get_page_type_debug_info ('AMP ');
6086
+ } else $content = $content . get_page_type_debug_info ('');
6087
  }
6088
 
6089
  if (($ai_wp_data [AI_WP_DEBUGGING] & AI_DEBUG_TAGS) != 0) {
6617
 
6618
 
6619
  function ai_pre_do_shortcode_tag ($return, $tag, $attr, $m) {
6620
+ global $ai_expand_only_rotate, $ai_wp_data;
6621
 
6622
  // Array
6623
  //(
6632
  if (strtolower ($tag) == 'adinserter') {
6633
  if ($ai_expand_only_rotate) {
6634
  // Expand only ROTATE
6635
+ if (isset ($attr ['rotate']) || in_array ('ROTATE', $attr) || in_array ('rotate', $attr)) {
6636
  return false;
6637
  } else return $m [0];
6638
  }
6650
  "block" => "",
6651
  "code" => "",
6652
  "name" => "",
6653
+ "group" => "",
6654
  "ignore" => "",
6655
  "check" => "",
6656
  "adb" => "",
6658
  "text" => "",
6659
  "selectors" => "",
6660
  "amp" => "",
6661
+ "head" => "",
6662
  "rotate" => "",
6663
  "count" => "",
6664
  "http" => "",
6666
  "data" => "",
6667
  "share" => "",
6668
  "time" => "",
6669
+ "categories" => "",
6670
  ), $atts);
6671
 
6672
 
6722
  }
6723
 
6724
  if ($block == - 1) {
6725
+ if ($parameters ['check'] != '' || in_array ('CHECK', $atts) || in_array ('check', $atts)) {
6726
+ if (!isset ($ai_wp_data [AI_SHORTCODES]['check'])) $ai_wp_data [AI_SHORTCODES]['check'] = array ();
6727
+ $ai_wp_data [AI_SHORTCODES]['check'] []= $parameters;
6728
+ return AD_CHECK_SEPARATOR;
6729
+ }
6730
  if ($parameters ['count'] != '' || in_array ('COUNT', $atts) || in_array ('count', $atts)) {
6731
  if (!isset ($ai_wp_data [AI_SHORTCODES]['count'])) $ai_wp_data [AI_SHORTCODES]['count'] = array ();
6732
  $ai_wp_data [AI_SHORTCODES]['count'] []= $parameters;
6740
  if ($parameters ['amp'] != '' || in_array ('AMP', $atts) || in_array ('amp', $atts)) {
6741
  return AD_AMP_SEPARATOR;
6742
  }
6743
+ if ($parameters ['head'] != '' || in_array ('HEAD', $atts) || in_array ('head', $atts)) {
6744
+ if (!isset ($ai_wp_data [AI_SHORTCODES]['head'])) $ai_wp_data [AI_SHORTCODES]['head'] = array ();
6745
+ $ai_wp_data [AI_SHORTCODES]['head'] []= $parameters;
6746
+ return AD_HEAD_SEPARATOR;
6747
+ }
6748
  if ($parameters ['http'] != '' || in_array ('HTTP', $atts) || in_array ('http', $atts)) {
6749
  return AD_HTTP_SEPARATOR;
6750
  }
6759
  return '{'.$parameters ['data'].'}';
6760
  }
6761
  if ($parameters ['name'] != '') {
6762
+ $shortcode_name = strtolower ($parameters ['name']);
6763
+ switch ($shortcode_name) {
6764
  case 'processing-log':
6765
  if (/*get_remote_debugging () ||*/ ($ai_wp_data [AI_WP_USER] & AI_USER_ADMINISTRATOR) != 0) {
6766
  ob_start ();
6776
  ai_write_debugging_tools ();
6777
  return ob_get_clean ();
6778
  }
6779
+ default:
6780
+ if (defined ('AI_BUFFERING')) {
6781
+ if (get_output_buffering () && !get_disable_header_code ()) {
6782
+ return "<!--[AI_HEAD_GROUPS $shortcode_name]-->";
6783
+ }
6784
+ }
6785
  return "";
6786
  }
6787
  }
6854
  if (isset ($ai_wp_data [AI_SHORTCODES]['force_serverside'])) {
6855
  $saved_force_serverside = $ai_wp_data [AI_SHORTCODES]['force_serverside'];
6856
  }
6857
+ if (isset ($ai_wp_data [AI_SHORTCODES]['check'])) {
6858
+ $saved_check = $ai_wp_data [AI_SHORTCODES]['check'];
6859
+ }
6860
  if (isset ($ai_wp_data [AI_SHORTCODES]['count'])) {
6861
  $saved_count = $ai_wp_data [AI_SHORTCODES]['count'];
6862
  }
6863
  if (isset ($ai_wp_data [AI_SHORTCODES]['rotate'])) {
6864
  $saved_rotate = $ai_wp_data [AI_SHORTCODES]['rotate'];
6865
  }
6866
+ if (isset ($ai_wp_data [AI_SHORTCODES]['head'])) {
6867
+ $saved_head = $ai_wp_data [AI_SHORTCODES]['head'];
6868
+ }
6869
 
6870
  $code = $obj->get_code_for_serverside_insertion (true, false, $code_only);
6871
 
6872
  if (isset ($saved_force_serverside)) {
6873
  $ai_wp_data [AI_SHORTCODES]['force_serverside'] = $saved_force_serverside;
6874
+ } else unset ($ai_wp_data [AI_SHORTCODES]['force_serverside']);
6875
+ if (isset ($saved_check)) {
6876
+ $ai_wp_data [AI_SHORTCODES]['check'] = $saved_check;
6877
+ } else unset ($ai_wp_data [AI_SHORTCODES]['check']);
6878
  if (isset ($saved_count)) {
6879
  $ai_wp_data [AI_SHORTCODES]['count'] = $saved_count;
6880
+ } else unset ($ai_wp_data [AI_SHORTCODES]['count']);
6881
  if (isset ($saved_rotate)) {
6882
  $ai_wp_data [AI_SHORTCODES]['rotate'] = $saved_rotate;
6883
+ } else unset ($ai_wp_data [AI_SHORTCODES]['rotate']);
6884
+ if (isset ($saved_head)) {
6885
+ $ai_wp_data [AI_SHORTCODES]['head'] = $saved_head;
6886
+ } else unset ($ai_wp_data [AI_SHORTCODES]['head']);
6887
 
6888
  // Must be after get_code_for_serverside_insertion ()
6889
  $ai_last_check = AI_CHECK_INSERTED;
7559
  $ai_wp_data [AI_PROCESSING_TIME] = false;
7560
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
7561
  $ai_wp_data [AI_CODE_FOR_IFRAME] = false;
7562
+ $ai_wp_data [AI_HEAD_CODES] = array ();
7563
+ $ai_wp_data [AI_HEAD_GROUPS] = array ();
7564
 
7565
  ai_load_settings ();
7566
 
changelog.txt CHANGED
@@ -2,6 +2,34 @@
2
 
3
  This is an archive of older changelog entries. Most recent entries are maintained in readme.txt
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
  = 2.3.16 =
7
  - Added option to insert block only when WP loop is currently active
2
 
3
  This is an archive of older changelog entries. Most recent entries are maintained in readme.txt
4
 
5
+ = 2.3.21 =
6
+ - Added option to force showing admin toolbar when viewing site
7
+ - Added additional debugging info for blocks in Ajax requests
8
+ - Fix for viewport visibility detection
9
+ - Fix for rotation with non-ASCII characters
10
+ - Few minor bug fixes, cosmetic changes and code improvements
11
+
12
+ = 2.3.20 =
13
+ - Improved loading of settings
14
+ - Fix for content processing in some ajax calls
15
+ - Few minor bug fixes, cosmetic changes and code improvements
16
+
17
+ = 2.3.19 =
18
+ - Improved code for client-side insertion
19
+ - Fix for rotation with shortcodes
20
+ - Few minor bug fixes, cosmetic changes and code improvements
21
+
22
+ = 2.3.18 =
23
+ - Added support to schedule insertion for N days after publishing
24
+ - Added support to schedule insertion only for posts published inside/outside time period (Pro only)
25
+ - Added support to prevent activation of free Ad Inserter while Pro is active
26
+ - Added url parameter to show block code
27
+ - Improved Header/Footer code debugging
28
+ - Few minor bug fixes, cosmetic changes and code improvements
29
+
30
+ = 2.3.17 =
31
+ - Added shortcode for ad blocking detection action
32
+ - Few minor bug fixes, cosmetic changes and code improvements
33
 
34
  = 2.3.16 =
35
  - Added option to insert block only when WP loop is currently active
class.php CHANGED
@@ -22,6 +22,10 @@ abstract class ai_BaseCodeBlock {
22
  var $demo_debugging;
23
  var $hidden_viewports;
24
 
 
 
 
 
25
  var $label;
26
 
27
  function __construct () {
@@ -45,6 +49,11 @@ abstract class ai_BaseCodeBlock {
45
  $this->demo_debugging = false;
46
  $this->hidden_viewports = '';
47
 
 
 
 
 
 
48
  $this->labels = new ai_block_labels ();
49
 
50
  $this->wp_options [AI_OPTION_CODE] = AD_EMPTY_DATA;
@@ -1970,8 +1979,12 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
1970
  }
1971
 
1972
  $counters = $this->ai_get_counters ($right_title);
 
 
 
 
1973
  $version_name = $this->version_name == '' ? '' : ' - ' . $this->version_name;
1974
- $block_name = $this->number . ' &nbsp; ' . $this->get_ad_name () . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>' . $fallback_block_name;
1975
 
1976
  if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
1977
  $left_text = '<a href="'. get_site_url (null, $_SERVER ['REQUEST_URI']).'" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">'.$_SERVER ['REQUEST_URI'].'</a>';
@@ -2039,6 +2052,11 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2039
  $this->additional_code_after = '';
2040
  $this->w3tc_code = '';
2041
 
 
 
 
 
 
2042
  $not_iframe_or_inside = !$this->get_iframe () || $ai_wp_data [AI_CODE_FOR_IFRAME];
2043
 
2044
  if ($this->get_iframe () && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
@@ -2072,7 +2090,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2072
  }
2073
 
2074
  $code = '<iframe style="' . $iframe_style. '" src="' . get_home_url (null, 'wp-admin/admin-ajax.php?action=ai_ajax&block=') . $this->number . $iframe_parameters .'" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"' . $attributes . '></iframe>' . "\n";
2075
- } else $code = $this->ai_getCode ();
2076
 
2077
  // Code for ad label, close button
2078
  $additional_code = '';
@@ -2110,13 +2128,32 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2110
  $additional_code = '<div class="ai-attributes">'."\n" . $additional_code . '</div>'."\n";
2111
  }
2112
 
2113
- unset ($ai_wp_data [AI_SHORTCODES]['rotate']);
2114
- unset ($ai_wp_data [AI_SHORTCODES]['count']);
2115
 
2116
- $processed_code = $this->replace_ai_tags (do_shortcode ($code));
 
 
 
 
 
 
 
2117
 
2118
  if ($not_iframe_or_inside) {
2119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2120
  if (strpos ($processed_code, AD_COUNT_SEPARATOR) !== false) {
2121
  $ads = explode (AD_COUNT_SEPARATOR, $processed_code);
2122
 
@@ -2227,7 +2264,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2227
  }
2228
  } else $this->code_version = mt_rand (1, count ($ads));
2229
 
2230
- $processed_code = $additional_code . trim ($ads [$this->code_version - 1]);
2231
  $this->version_name = $version_names [$this->code_version - 1];
2232
  break;
2233
 
@@ -2253,9 +2290,8 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2253
  }
2254
 
2255
  if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2256
- $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data.">\n" . $additional_code;
2257
- } else
2258
- $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data." style='position: relative;'>\n" . $additional_code;
2259
 
2260
  foreach ($ads as $index => $ad) {
2261
 
@@ -2265,6 +2301,16 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2265
  $ad = trim ($codes [0]);
2266
  }
2267
 
 
 
 
 
 
 
 
 
 
 
2268
  $version_name_data = " data-name='".base64_encode ($version_names [$index])."'";
2269
  $version_time_data = $version_times [$index] >= 0 ? " data-time='".base64_encode ($version_times [$index])."'" : '';
2270
 
@@ -2300,15 +2346,15 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2300
  $ad_index_code = ' $ai_random_threshold = mt_rand (0, 100); $ai_thresholds = unserialize (\''.
2301
  serialize ($thresholds).'\'); foreach ($ai_thresholds as $ai_option_index => $ai_threshold) {$ai_index = $ai_option_index + 1; if ($ai_random_threshold <= $ai_threshold) break;}';
2302
  } else $ad_index_code = ' $ai_index = mt_rand (1, count ($ai_code));';
2303
-
2304
- $this->w3tc_code = '$ai_code = unserialize (base64_decode (\''.base64_encode (serialize ($ads)).'\'));'.$ad_index_code.' $ai_code = base64_decode (\''.base64_encode ($additional_code).'\') . $ai_code [$ai_index - 1]; $ai_enabled = true;';
2305
 
2306
  $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2307
  $processed_code .= $this->w3tc_code.' echo $ai_code;';
2308
  $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2309
  break;
2310
  }
2311
- } else $processed_code = $additional_code . $processed_code;
2312
 
2313
  $temp_dynamic_blocks = $dynamic_blocks;
2314
  if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
@@ -2336,6 +2382,19 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2336
  }
2337
  }
2338
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
2339
  break;
2340
  case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2341
  $this->w3tc_code .= '$ai_amp_separator = \'' . AD_AMP_SEPARATOR . '\'; $ai_amp_page = ' . ($ai_wp_data [AI_WP_AMP_PAGE] ? 'true' : 'false') . '; $ai_amp_enabled = ' . $this->get_enable_amp () . ';';
@@ -2344,6 +2403,14 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2344
  // $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page && !$ai_amp_enabled) $ai_code = \'\';} $ai_enabled = true;';
2345
  $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page + !$ai_amp_enabled == 2) $ai_code = \'\';} $ai_enabled = true;';
2346
 
 
 
 
 
 
 
 
 
2347
  // Lazy loading code for W3TC cases with ROTATE separator
2348
  if ($this->get_lazy_loading () && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2349
  $this->w3tc_code .= $this->w3tc_code.'$ai_lazy_code = base64_encode ($ai_code); $ai_wrapper_class = \''.base64_encode (get_block_class_name ()).'\'; $ai_code = \'<div class="ai-lazy" data-code="\'.$ai_lazy_code.\'" data-class="\'.$ai_wrapper_class.\'"></div>\'."\n";';
@@ -2518,7 +2585,7 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2518
  return $this->additional_code_before . $processed_code . $this->additional_code_after;
2519
  }
2520
 
2521
- public function get_code_for_insertion ($include_viewport_classes = true, $hidden_widgets = false, $code_only = false) {
2522
  global $ai_wp_data, $block_object;
2523
 
2524
  if ($this->get_disable_caching ()) $ai_wp_data [AI_DISABLE_CACHING] = true;
@@ -2673,6 +2740,22 @@ abstract class ai_CodeBlock extends ai_BaseCodeBlock {
2673
  return $code;
2674
  }
2675
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2676
  public function get_code_for_serverside_insertion ($include_viewport_classes = true, $hidden_widgets = false, $code_only = false) {
2677
  global $ai_wp_data, $block_object;
2678
 
@@ -2840,6 +2923,9 @@ echo '</body>
2840
 
2841
  $page = ob_get_clean ();
2842
  $ai_wp_data [AI_CODE_FOR_IFRAME] = false;
 
 
 
2843
  return $page;
2844
  }
2845
 
@@ -3252,7 +3338,7 @@ echo '</body>
3252
  $dummy = array ();
3253
 
3254
  if ($before_image) {
3255
- $paragraph_tags = 'figure,img';
3256
  } else $paragraph_tags = trim ($this->get_paragraph_tags());
3257
  if ($paragraph_tags == '') return $content;
3258
 
@@ -3281,7 +3367,7 @@ echo '</body>
3281
  $special_element_offsets = array ();
3282
 
3283
  if ($before_image) {
3284
- $special_element_tags_array = array_unique (array_merge ($special_element_tags, array ('figure')));
3285
  } else $special_element_tags_array = $special_element_tags;
3286
 
3287
  foreach ($special_element_tags_array as $special_element_tag) {
@@ -3907,7 +3993,7 @@ echo '</body>
3907
  }
3908
 
3909
  if ($after_image) {
3910
- $paragraph_tags = 'figure,img';
3911
  } else $paragraph_tags = trim ($this->get_paragraph_tags());
3912
  if ($paragraph_tags == '') return $content;
3913
 
@@ -3936,7 +4022,7 @@ echo '</body>
3936
  $special_element_offsets = array ();
3937
 
3938
  if ($after_image) {
3939
- $special_element_tags_array = array_unique (array_merge ($special_element_tags, array ('figure')));
3940
  } else $special_element_tags_array = $special_element_tags;
3941
 
3942
  foreach ($special_element_tags_array as $special_element_tag) {
@@ -5804,6 +5890,8 @@ class ai_code_generator {
5804
  $viewport_name = get_viewport_name ($viewport);
5805
  $viewport_width = get_viewport_width ($viewport);
5806
 
 
 
5807
  $adsense_width = $data ['adsense-viewports'][$viewport - 1]['width'];
5808
  $adsense_height = $data ['adsense-viewports'][$viewport - 1]['height'];
5809
 
22
  var $demo_debugging;
23
  var $hidden_viewports;
24
 
25
+ var $check_codes;
26
+ var $check_code_current_index;
27
+ var $check_code_current_check;
28
+
29
  var $label;
30
 
31
  function __construct () {
49
  $this->demo_debugging = false;
50
  $this->hidden_viewports = '';
51
 
52
+ $this->check_codes = null;
53
+ $this->check_code_current_index = 0;
54
+ $this->check_code_current_check = '';
55
+
56
+
57
  $this->labels = new ai_block_labels ();
58
 
59
  $this->wp_options [AI_OPTION_CODE] = AD_EMPTY_DATA;
1979
  }
1980
 
1981
  $counters = $this->ai_get_counters ($right_title);
1982
+
1983
+ $check_name = '';
1984
+ $check_name = is_array ($this->check_codes) ? ' - [CHECK' . ($this->check_code_current_check == '' ? '' : '=' . $this->check_code_current_check). ']' : '';
1985
+
1986
  $version_name = $this->version_name == '' ? '' : ' - ' . $this->version_name;
1987
+ $block_name = $this->number . ' &nbsp; ' . $this->get_ad_name () . $check_name . '<kbd data-separator=" - " class="ai-option-name">' . $version_name . '</kbd>' . $fallback_block_name;
1988
 
1989
  if ($ai_wp_data [AI_WP_PAGE_TYPE] == AI_PT_AJAX) {
1990
  $left_text = '<a href="'. get_site_url (null, $_SERVER ['REQUEST_URI']).'" style="text-decoration: none; box-shadow: 0 0 0;" target="_blank">'.$_SERVER ['REQUEST_URI'].'</a>';
2052
  $this->additional_code_after = '';
2053
  $this->w3tc_code = '';
2054
 
2055
+ unset ($ai_wp_data [AI_SHORTCODES]['check']);
2056
+ unset ($ai_wp_data [AI_SHORTCODES]['count']);
2057
+ unset ($ai_wp_data [AI_SHORTCODES]['rotate']);
2058
+ unset ($ai_wp_data [AI_SHORTCODES]['head']);
2059
+
2060
  $not_iframe_or_inside = !$this->get_iframe () || $ai_wp_data [AI_CODE_FOR_IFRAME];
2061
 
2062
  if ($this->get_iframe () && !$ai_wp_data [AI_CODE_FOR_IFRAME]) {
2090
  }
2091
 
2092
  $code = '<iframe style="' . $iframe_style. '" src="' . get_home_url (null, 'wp-admin/admin-ajax.php?action=ai_ajax&block=') . $this->number . $iframe_parameters .'" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"' . $attributes . '></iframe>' . "\n";
2093
+ } else $code = $this->replace_ai_tags (do_shortcode ($this->ai_getCode ()));
2094
 
2095
  // Code for ad label, close button
2096
  $additional_code = '';
2128
  $additional_code = '<div class="ai-attributes">'."\n" . $additional_code . '</div>'."\n";
2129
  }
2130
 
 
 
2131
 
2132
+ // if (is_array ($this->check_codes)) {
2133
+ // $this->check_code_current_index ++;
2134
+ // $processed_code = $this->check_codes [$this->check_code_current_index];
2135
+ // } else
2136
+
2137
+
2138
+
2139
+ $processed_code = $code;
2140
 
2141
  if ($not_iframe_or_inside) {
2142
 
2143
+
2144
+
2145
+ // if (strpos ($processed_code, AD_CHECK_SEPARATOR) !== false) {
2146
+ // $check_codes = explode (AD_CHECK_SEPARATOR, $processed_code);
2147
+
2148
+ // $this->check_codes = $check_codes;
2149
+ // $this->check_code_current_index = 0;
2150
+ // $this->check_code_current_check = $ai_wp_data [AI_SHORTCODES]['check'];
2151
+
2152
+ // $processed_code = $check_codes [0];
2153
+ // }
2154
+
2155
+
2156
+
2157
  if (strpos ($processed_code, AD_COUNT_SEPARATOR) !== false) {
2158
  $ads = explode (AD_COUNT_SEPARATOR, $processed_code);
2159
 
2264
  }
2265
  } else $this->code_version = mt_rand (1, count ($ads));
2266
 
2267
+ $processed_code = trim ($ads [$this->code_version - 1]);
2268
  $this->version_name = $version_names [$this->code_version - 1];
2269
  break;
2270
 
2290
  }
2291
 
2292
  if (defined ('AI_NORMAL_HEADER_STYLES') && AI_NORMAL_HEADER_STYLES && !get_inline_styles ()) {
2293
+ $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data.">\n";
2294
+ } else $processed_code .= "\n<div class='ai-rotate{$rotation_class}'".$rotation_data." style='position: relative;'>\n";
 
2295
 
2296
  foreach ($ads as $index => $ad) {
2297
 
2301
  $ad = trim ($codes [0]);
2302
  }
2303
 
2304
+ if (strpos ($ad, AD_HEAD_SEPARATOR) !== false) {
2305
+ $head_body_code = explode (AD_HEAD_SEPARATOR, $ad );
2306
+ $ad = trim ($head_body_code [1]);
2307
+
2308
+ // Insert all HEAD codes for all options into <head> section
2309
+ if ($ai_wp_data [AI_SHORTCODES]['head'][0]['group'] != '') {
2310
+ $ai_wp_data [AI_HEAD_GROUPS][strtolower ($ai_wp_data [AI_SHORTCODES]['head'][0]['group'])] []= trim ($head_body_code [0]);
2311
+ } else $ai_wp_data [AI_HEAD_CODES] []= trim ($head_body_code [0]);
2312
+ }
2313
+
2314
  $version_name_data = " data-name='".base64_encode ($version_names [$index])."'";
2315
  $version_time_data = $version_times [$index] >= 0 ? " data-time='".base64_encode ($version_times [$index])."'" : '';
2316
 
2346
  $ad_index_code = ' $ai_random_threshold = mt_rand (0, 100); $ai_thresholds = unserialize (\''.
2347
  serialize ($thresholds).'\'); foreach ($ai_thresholds as $ai_option_index => $ai_threshold) {$ai_index = $ai_option_index + 1; if ($ai_random_threshold <= $ai_threshold) break;}';
2348
  } else $ad_index_code = ' $ai_index = mt_rand (1, count ($ai_code));';
2349
+ // #4
2350
+ $this->w3tc_code = '$ai_code = unserialize (base64_decode (\''.base64_encode (serialize ($ads)).'\'));'.$ad_index_code.' $ai_code = $ai_code [$ai_index - 1]; $ai_enabled = true;';
2351
 
2352
  $processed_code = '<!-- mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2353
  $processed_code .= $this->w3tc_code.' echo $ai_code;';
2354
  $processed_code .= '<!-- /mfunc '.W3TC_DYNAMIC_SECURITY.' -->';
2355
  break;
2356
  }
2357
+ }
2358
 
2359
  $temp_dynamic_blocks = $dynamic_blocks;
2360
  if ($ai_wp_data [AI_FORCE_SERVERSIDE_CODE]) $temp_dynamic_blocks = AI_DYNAMIC_BLOCKS_SERVER_SIDE;
2382
  }
2383
  }
2384
  }
2385
+
2386
+ if (strpos ($processed_code, AD_HEAD_SEPARATOR) !== false) {
2387
+ ai_log ('BLOCK ' . $this->number . ' HEAD CODE');
2388
+ $head_body_code = explode (AD_HEAD_SEPARATOR, $processed_code);
2389
+ $processed_code = trim ($head_body_code [1]);
2390
+
2391
+ if ($ai_wp_data [AI_SHORTCODES]['head'][0]['group'] != '') {
2392
+ $ai_wp_data [AI_HEAD_GROUPS][strtolower ($ai_wp_data [AI_SHORTCODES]['head'][0]['group'])] []= trim ($head_body_code [0]);
2393
+ } else $ai_wp_data [AI_HEAD_CODES] []= trim ($head_body_code [0]);
2394
+ }
2395
+
2396
+ $processed_code = $additional_code . $processed_code;
2397
+
2398
  break;
2399
  case AI_DYNAMIC_BLOCKS_SERVER_SIDE_W3TC:
2400
  $this->w3tc_code .= '$ai_amp_separator = \'' . AD_AMP_SEPARATOR . '\'; $ai_amp_page = ' . ($ai_wp_data [AI_WP_AMP_PAGE] ? 'true' : 'false') . '; $ai_amp_enabled = ' . $this->get_enable_amp () . ';';
2403
  // $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page && !$ai_amp_enabled) $ai_code = \'\';} $ai_enabled = true;';
2404
  $this->w3tc_code .= 'if (strpos ($ai_code, $ai_amp_separator) !== false) {$codes = explode ($ai_amp_separator, $ai_code); $ai_code = trim ($codes [$ai_amp_page ? 1 : 0]); } else {if ($ai_amp_page + !$ai_amp_enabled == 2) $ai_code = \'\';} $ai_enabled = true;';
2405
 
2406
+ // Process HEAD separator
2407
+ $this->w3tc_code .= '$ai_head_separator = \'' . AD_HEAD_SEPARATOR . '\';';
2408
+ $this->w3tc_code .= 'if (strpos ($ai_code, $ai_head_separator) !== false) {$codes = explode ($ai_head_separator, $ai_code); $ai_code = trim ($codes [1]); } $ai_enabled = true;';
2409
+
2410
+ if ($additional_code != '') {
2411
+ $this->w3tc_code .= '$ai_code = base64_decode (\''.base64_encode ($additional_code).'\') . $ai_code;';
2412
+ }
2413
+
2414
  // Lazy loading code for W3TC cases with ROTATE separator
2415
  if ($this->get_lazy_loading () && !$ai_wp_data [AI_WP_AMP_PAGE]) {
2416
  $this->w3tc_code .= $this->w3tc_code.'$ai_lazy_code = base64_encode ($ai_code); $ai_wrapper_class = \''.base64_encode (get_block_class_name ()).'\'; $ai_code = \'<div class="ai-lazy" data-code="\'.$ai_lazy_code.\'" data-class="\'.$ai_wrapper_class.\'"></div>\'."\n";';
2585
  return $this->additional_code_before . $processed_code . $this->additional_code_after;
2586
  }
2587
 
2588
+ public function get_code_for_single_insertion ($include_viewport_classes = true, $hidden_widgets = false, $code_only = false) {
2589
  global $ai_wp_data, $block_object;
2590
 
2591
  if ($this->get_disable_caching ()) $ai_wp_data [AI_DISABLE_CACHING] = true;
2740
  return $code;
2741
  }
2742
 
2743
+ public function get_code_for_insertion ($include_viewport_classes = true, $hidden_widgets = false, $code_only = false) {
2744
+ $code = '';
2745
+
2746
+ do {
2747
+ $code .= $this->get_code_for_single_insertion ($include_viewport_classes, $hidden_widgets, $code_only);
2748
+ } while (is_array ($this->check_codes) && isset ($this->check_codes [$this->check_code_current_index + 1]));
2749
+
2750
+ if (is_array ($this->check_codes)) {
2751
+ $this->check_codes = null;
2752
+ $this->check_code_current_index = 0;
2753
+ $this->check_code_current_check = '';
2754
+ }
2755
+
2756
+ return $code;
2757
+ }
2758
+
2759
  public function get_code_for_serverside_insertion ($include_viewport_classes = true, $hidden_widgets = false, $code_only = false) {
2760
  global $ai_wp_data, $block_object;
2761
 
2923
 
2924
  $page = ob_get_clean ();
2925
  $ai_wp_data [AI_CODE_FOR_IFRAME] = false;
2926
+
2927
+ $page = ai_process_head_codes ($page);
2928
+
2929
  return $page;
2930
  }
2931
 
3338
  $dummy = array ();
3339
 
3340
  if ($before_image) {
3341
+ $paragraph_tags = 'figure,img,amp-img';
3342
  } else $paragraph_tags = trim ($this->get_paragraph_tags());
3343
  if ($paragraph_tags == '') return $content;
3344
 
3367
  $special_element_offsets = array ();
3368
 
3369
  if ($before_image) {
3370
+ $special_element_tags_array = array_unique (array_merge ($special_element_tags, array ('figure', 'amp-img')));
3371
  } else $special_element_tags_array = $special_element_tags;
3372
 
3373
  foreach ($special_element_tags_array as $special_element_tag) {
3993
  }
3994
 
3995
  if ($after_image) {
3996
+ $paragraph_tags = 'figure,img,amp-img';
3997
  } else $paragraph_tags = trim ($this->get_paragraph_tags());
3998
  if ($paragraph_tags == '') return $content;
3999
 
4022
  $special_element_offsets = array ();
4023
 
4024
  if ($after_image) {
4025
+ $special_element_tags_array = array_unique (array_merge ($special_element_tags, array ('figure', 'amp-img')));
4026
  } else $special_element_tags_array = $special_element_tags;
4027
 
4028
  foreach ($special_element_tags_array as $special_element_tag) {
5890
  $viewport_name = get_viewport_name ($viewport);
5891
  $viewport_width = get_viewport_width ($viewport);
5892
 
5893
+ if (!isset ($data ['adsense-viewports'][$viewport - 1])) continue;
5894
+
5895
  $adsense_width = $data ['adsense-viewports'][$viewport - 1]['width'];
5896
  $adsense_height = $data ['adsense-viewports'][$viewport - 1]['height'];
5897
 
constants.php CHANGED
@@ -29,7 +29,7 @@ if (!defined( 'AD_INSERTER_NAME'))
29
  define ('AD_INSERTER_NAME', 'Ad Inserter');
30
 
31
  if (!defined( 'AD_INSERTER_VERSION'))
32
- define ('AD_INSERTER_VERSION', '2.4.8');
33
 
34
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
35
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
@@ -186,10 +186,12 @@ define('AI_FORM_CLEAR', 'ai_clear');
186
  define('AI_FORM_CLEAR_EXCEPTIONS', 'ai-clear-exceptions');
187
  define('AI_FORM_CLEAR_STATISTICS', 'ai-clear-statistics');
188
 
189
- define('AD_AUTHOR_SITE', '<!-- Powered by Ad Inserter Plugin By Spacetime -->');
190
- define('AD_ROTATE_SEPARATOR', '|rotate|');
191
  define('AD_COUNT_SEPARATOR', '|count|');
 
192
  define('AD_AMP_SEPARATOR', '|amp|');
 
193
  define('AD_HTTP_SEPARATOR', '|http|');
194
 
195
  //form select options
@@ -713,7 +715,6 @@ define ('DEFAULT_PLUGIN_PRIORITY', 99999);
713
  define ('DEFAULT_DYNAMIC_BLOCKS', AI_DYNAMIC_BLOCKS_SERVER_SIDE);
714
  define ('DEFAULT_PARAGRAPH_COUNTING_FUNCTIONS', AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS);
715
  define ('DEFAULT_NO_PARAGRAPH_COUNTING_INSIDE', 'blockquote, figure, li');
716
- //define ('DEFAULT_AD_TITLE', 'Advertisements');
717
  define ('DEFAULT_PARAGRAPH_TAGS', 'p');
718
  define ('DEFAULT_FORCE_ADMIN_TOOLBAR', AI_DISABLED);
719
  define ('DEFAULT_ADMIN_TOOLBAR_DEBUGGING', AI_ENABLED);
@@ -733,6 +734,7 @@ define ('DEFAULT_EXTERNAL_TRACKING', AI_DISABLED);
733
  define ('DEFAULT_TRACKING_LOGGED_IN', AI_TRACKING_ENABLED);
734
  define ('DEFAULT_TRACK_PAGEVIEWS', AI_TRACKING_DISABLED);
735
  define ('DEFAULT_CLICK_DETECTION', AI_CLICK_DETECTION_STANDARD);
 
736
  define ('DEFAULT_ADB_BLOCK_ACTION', AI_ADB_BLOCK_ACTION_DO_NOTHING);
737
  define ('DEFAULT_ADB_DETECTION', AI_ADB_DETECTION_ADVANCED);
738
  define ('DEFAULT_CUSTOM_HOOK_PRIORITY', 10);
@@ -954,6 +956,8 @@ define ('AI_PROCESSING_TIME', 43);
954
  define ('AI_FORCE_SERVERSIDE_CODE', 44);
955
  define ('AI_CODE_FOR_IFRAME', 45);
956
  define ('AI_IFRAMES', 46);
 
 
957
 
958
  define ('AI_CONTEXT_NONE', 0);
959
  define ('AI_CONTEXT_CONTENT', 1);
29
  define ('AD_INSERTER_NAME', 'Ad Inserter');
30
 
31
  if (!defined( 'AD_INSERTER_VERSION'))
32
+ define ('AD_INSERTER_VERSION', '2.4.9');
33
 
34
  if (!defined ('AD_INSERTER_PLUGIN_BASENAME'))
35
  define ('AD_INSERTER_PLUGIN_BASENAME', plugin_basename (__FILE__));
186
  define('AI_FORM_CLEAR_EXCEPTIONS', 'ai-clear-exceptions');
187
  define('AI_FORM_CLEAR_STATISTICS', 'ai-clear-statistics');
188
 
189
+ define('AD_AUTHOR_SITE', '<!-- Powered by Ad Inserter Plugin -->');
190
+ define('AD_CHECK_SEPARATOR', '|check|');
191
  define('AD_COUNT_SEPARATOR', '|count|');
192
+ define('AD_ROTATE_SEPARATOR', '|rotate|');
193
  define('AD_AMP_SEPARATOR', '|amp|');
194
+ define('AD_HEAD_SEPARATOR', '|head|');
195
  define('AD_HTTP_SEPARATOR', '|http|');
196
 
197
  //form select options
715
  define ('DEFAULT_DYNAMIC_BLOCKS', AI_DYNAMIC_BLOCKS_SERVER_SIDE);
716
  define ('DEFAULT_PARAGRAPH_COUNTING_FUNCTIONS', AI_STANDARD_PARAGRAPH_COUNTING_FUNCTIONS);
717
  define ('DEFAULT_NO_PARAGRAPH_COUNTING_INSIDE', 'blockquote, figure, li');
 
718
  define ('DEFAULT_PARAGRAPH_TAGS', 'p');
719
  define ('DEFAULT_FORCE_ADMIN_TOOLBAR', AI_DISABLED);
720
  define ('DEFAULT_ADMIN_TOOLBAR_DEBUGGING', AI_ENABLED);
734
  define ('DEFAULT_TRACKING_LOGGED_IN', AI_TRACKING_ENABLED);
735
  define ('DEFAULT_TRACK_PAGEVIEWS', AI_TRACKING_DISABLED);
736
  define ('DEFAULT_CLICK_DETECTION', AI_CLICK_DETECTION_STANDARD);
737
+ define ('DEFAULT_REPORT_HEADER_IMAGE', 'wp-content/plugins/ad-inserter-pro/images/icon-256x256.jpg');
738
  define ('DEFAULT_ADB_BLOCK_ACTION', AI_ADB_BLOCK_ACTION_DO_NOTHING);
739
  define ('DEFAULT_ADB_DETECTION', AI_ADB_DETECTION_ADVANCED);
740
  define ('DEFAULT_CUSTOM_HOOK_PRIORITY', 10);
956
  define ('AI_FORCE_SERVERSIDE_CODE', 44);
957
  define ('AI_CODE_FOR_IFRAME', 45);
958
  define ('AI_IFRAMES', 46);
959
+ define ('AI_HEAD_CODES', 47);
960
+ define ('AI_HEAD_GROUPS', 48);
961
 
962
  define ('AI_CONTEXT_NONE', 0);
963
  define ('AI_CONTEXT_CONTENT', 1);
css/ai-settings.css CHANGED
@@ -1,5 +1,5 @@
1
  #ai-data {
2
- font-family: "2.4.8"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
@@ -7,7 +7,7 @@
7
  }
8
 
9
  .ui-widget, .ai-form td {
10
- font-family: sans-serif,Arial,Verdana;
11
  font-size: 12px!important;
12
  }
13
 
@@ -267,6 +267,10 @@ div.ai-tooltip .version {
267
  font-weight: bold;
268
  }
269
 
 
 
 
 
270
  #ai-settings {
271
  margin-right: 24px;
272
  }
@@ -518,6 +522,12 @@ div.automatic-insertion img {
518
  vertical-align: middle;
519
  }
520
 
 
 
 
 
 
 
521
  .checkbox-icon.size-16 {
522
  width: 16px;
523
  height: 16px;
1
  #ai-data {
2
+ font-family: "2.4.9"; /* Used for version number of the file */
3
  }
4
 
5
  #blocked-warning {
7
  }
8
 
9
  .ui-widget, .ai-form td {
10
+ font-family: Arial,Verdana,sans-serif;
11
  font-size: 12px!important;
12
  }
13
 
267
  font-weight: bold;
268
  }
269
 
270
+ .ai-statistics-export-data {
271
+ display: none;
272
+ }
273
+
274
  #ai-settings {
275
  margin-right: 24px;
276
  }
522
  vertical-align: middle;
523
  }
524
 
525
+ /* To overeride [class*=" icon-"], [class^=icon-] */
526
+ span.checkbox-icon {
527
+ width: 20px;
528
+ height: 20px;
529
+ }
530
+
531
  .checkbox-icon.size-16 {
532
  width: 16px;
533
  height: 16px;
css/images/ui-bg_highlight-soft_50_dddddd_1x100.png ADDED
Binary file
includes/ace/mode-ai-html.js CHANGED
@@ -34,8 +34,8 @@ function add_ai_highlighting_rules (highlighter, highlight_rules) {
34
 
35
  highlighter.$ai_shortcodes = highlighter.$lang.arrayToMap ("adinserter".split ("|"));
36
  highlighter.$ai_separators1 = highlighter.$lang.arrayToMap ("http|rotate|count".split ("|"));
37
- highlighter.$ai_separators2 = highlighter.$lang.arrayToMap ("amp".split ("|"));
38
- highlighter.$ai_attributes = highlighter.$lang.arrayToMap ("block|code|name|ignore|check|debugger|adb|css|text|selectors|custom-field|data|share|time".split ("|"));
39
 
40
  //WP shortcodes
41
  highlighter.$rules ['start'].unshift (
34
 
35
  highlighter.$ai_shortcodes = highlighter.$lang.arrayToMap ("adinserter".split ("|"));
36
  highlighter.$ai_separators1 = highlighter.$lang.arrayToMap ("http|rotate|count".split ("|"));
37
+ highlighter.$ai_separators2 = highlighter.$lang.arrayToMap ("head|amp".split ("|"));
38
+ highlighter.$ai_attributes = highlighter.$lang.arrayToMap ("block|code|name|group|ignore|check|debugger|adb|css|text|selectors|custom-field|data|share|time".split ("|"));
39
 
40
  //WP shortcodes
41
  highlighter.$rules ['start'].unshift (
includes/dst/dst.php CHANGED
@@ -4,7 +4,7 @@
4
  * DST - WP theme and plugin usage tracking client
5
  * Experimental
6
  *
7
- * @version 1.0.5
8
  * @author Igor Funa <igor.funa/gmail.com>
9
  */
10
 
@@ -12,6 +12,10 @@
12
 
13
  Change Log
14
 
 
 
 
 
15
  DST 1.0.5 - 2018-10-27
16
  - Improved support for translation
17
  - Improved deactivation form (ajax check)
@@ -145,7 +149,7 @@ class DST_Client {
145
  self::DST_OPTION_HIDE_DEACTIVATION_FORM,
146
  );
147
 
148
- private $version = '1.0.5';
149
  private $tracking_url;
150
  private $main_file;
151
  private $slug;
@@ -898,7 +902,7 @@ class DST_Client {
898
  $name = $plugin ['Name'];
899
  }
900
  ?>
901
- <div class="notice notice-info <?php echo $class; ?> dst-no-phone" style="display: none;" data-slug="<?php echo $this->slug; ?>" nonce="<?php echo wp_create_nonce ("dst_data"); ?>" >
902
  <?php
903
  if ($this->notice_icon != '') {
904
  ?>
@@ -1050,7 +1054,7 @@ jQuery (document).ready (function ($) {
1050
 
1051
  $(document).on ('click', '.dst-notice[data-slug=<?php echo $this->slug; ?>] .dst-notice-dismiss', function () {
1052
  var notice_div = $(this).closest ('.dst-notice');
1053
- var nonce = notice_div.attr ('nonce');
1054
  var slug = '<?php echo $this->slug; ?>';
1055
  var action = $(this).data ('action');
1056
 
@@ -1090,7 +1094,11 @@ jQuery (document).ready (function ($) {
1090
 
1091
  if (typeof ajaxurl !== 'undefined') {
1092
  var notice_div = $('.dst-notice');
1093
- var nonce = notice_div.attr ('nonce');
 
 
 
 
1094
  var slug = '<?php echo $this->slug; ?>';
1095
 
1096
  if (dst_debugging) console.log ('DST NOTICE ajaxurl', ajaxurl);
@@ -1361,7 +1369,7 @@ jQuery (document).ready (function ($) {
1361
  setTimeout (function() {
1362
  var data = {
1363
  'action': 'dst_ajax_<?php echo $this->slug; ?>',
1364
- 'dst_check': "<?php echo wp_create_nonce ('dst_data'); ?>",
1365
  'slug': '<?php echo $this->slug; ?>',
1366
  'test': '<?php echo $this->slug; ?>',
1367
  'dataType': "json"
@@ -1380,7 +1388,7 @@ jQuery (document).ready (function ($) {
1380
  $("#dst-original-link-<?php echo esc_attr ($this->slug); ?>").hide ();
1381
  $("#dst-deactivation-link-<?php echo esc_attr ($this->slug); ?>").show ();
1382
 
1383
- if (dst_debugging) console.log ('DST DEACTIVATION FORM LINK DISPLAYED', url);
1384
  }
1385
  }
1386
  );
@@ -1422,7 +1430,7 @@ jQuery (document).ready (function ($) {
1422
  'slug': '<?php echo $this->slug; ?>',
1423
  'values': values,
1424
  'details': details,
1425
- 'dst_check': "<?php echo wp_create_nonce ('dst_data'); ?>",
1426
  'dataType': "json"
1427
  }
1428
 
4
  * DST - WP theme and plugin usage tracking client
5
  * Experimental
6
  *
7
+ * @version 1.0.6
8
  * @author Igor Funa <igor.funa/gmail.com>
9
  */
10
 
12
 
13
  Change Log
14
 
15
+ DST 1.0.6 - 2019-02-02
16
+ - Nonce value encoded
17
+ - Bug fixes
18
+
19
  DST 1.0.5 - 2018-10-27
20
  - Improved support for translation
21
  - Improved deactivation form (ajax check)
149
  self::DST_OPTION_HIDE_DEACTIVATION_FORM,
150
  );
151
 
152
+ private $version = '1.0.6';
153
  private $tracking_url;
154
  private $main_file;
155
  private $slug;
902
  $name = $plugin ['Name'];
903
  }
904
  ?>
905
+ <div class="notice notice-info <?php echo $class; ?> dst-no-phone" style="display: none;" data-slug="<?php echo $this->slug; ?>" data-value="<?php echo base64_encode (wp_create_nonce ("dst_data")); ?>">
906
  <?php
907
  if ($this->notice_icon != '') {
908
  ?>
1054
 
1055
  $(document).on ('click', '.dst-notice[data-slug=<?php echo $this->slug; ?>] .dst-notice-dismiss', function () {
1056
  var notice_div = $(this).closest ('.dst-notice');
1057
+ var nonce = atob (notice_div.attr ('data-value'));
1058
  var slug = '<?php echo $this->slug; ?>';
1059
  var action = $(this).data ('action');
1060
 
1094
 
1095
  if (typeof ajaxurl !== 'undefined') {
1096
  var notice_div = $('.dst-notice');
1097
+ var nonce = notice_div.attr ('data-value');
1098
+
1099
+ if (typeof nonce !== 'undefined') {
1100
+ nonce = atob (nonce);
1101
+ }
1102
  var slug = '<?php echo $this->slug; ?>';
1103
 
1104
  if (dst_debugging) console.log ('DST NOTICE ajaxurl', ajaxurl);
1369
  setTimeout (function() {
1370
  var data = {
1371
  'action': 'dst_ajax_<?php echo $this->slug; ?>',
1372
+ 'dst_check': atob ("<?php echo base64_encode (wp_create_nonce ('dst_data')); ?>"),
1373
  'slug': '<?php echo $this->slug; ?>',
1374
  'test': '<?php echo $this->slug; ?>',
1375
  'dataType': "json"
1388
  $("#dst-original-link-<?php echo esc_attr ($this->slug); ?>").hide ();
1389
  $("#dst-deactivation-link-<?php echo esc_attr ($this->slug); ?>").show ();
1390
 
1391
+ if (dst_debugging) console.log ('DST DEACTIVATION FORM LINK DISPLAYED', '<?php echo esc_attr ($this->slug); ?>');
1392
  }
1393
  }
1394
  );
1430
  'slug': '<?php echo $this->slug; ?>',
1431
  'values': values,
1432
  'details': details,
1433
+ 'dst_check': atob ("<?php echo base64_encode (wp_create_nonce ('dst_data')); ?>"),
1434
  'dataType': "json"
1435
  }
1436
 
includes/js/ai-admin.js CHANGED
@@ -1,59 +1,59 @@
1
- jQuery (function ($) {
2
-
3
- $(document).ready(function($) {
4
-
5
- function show_review_notice () {
6
- $('.ai-notice').fadeIn ("fast", function() {
7
- $(this).css ('display', 'table');
8
- });
9
- }
10
-
11
- if (typeof ajaxurl !== 'undefined') {
12
- var nonce = $('.ai-notice[nonce]').attr ('nonce');
13
-
14
- // console.log ('AI NOTICE nonce', nonce, typeof nonce);
15
-
16
- if (typeof nonce !== 'undefined') {
17
- $.ajax (ajaxurl, {
18
- type: 'POST',
19
- data: {
20
- action: 'ai_ajax_backend',
21
- ai_check: nonce,
22
- 'notice-check': nonce
23
- }
24
- }).done (function (data) {
25
-
26
- // console.log ('AI NOTICE CHECK', nonce, data);
27
-
28
- if (data == nonce) {
29
- setTimeout (show_review_notice, 500);
30
- }
31
- });
32
- }
33
- }
34
- });
35
-
36
- $(document).on ('click', '.ai-notice .ai-notice-dismiss', function () {
37
- var ai_debug = parseInt ($('#ai-data').attr ('js_debugging'));
38
- var notice_div = $(this).closest ('.ai-notice');
39
- var nonce = notice_div.attr ('nonce');
40
- var notice = notice_div.data ('notice');
41
- var action = $(this).data ('notice');
42
-
43
- if (ai_debug) console.log ('AI NOTICE CLICK', notice, action);
44
-
45
- notice_div.hide ();
46
-
47
- // Since WP 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
48
- $.ajax (ajaxurl, {
49
- type: 'POST',
50
- data: {
51
- action: 'ai_ajax_backend',
52
- ai_check: nonce,
53
- notice: notice,
54
- click: action,
55
- }
56
- });
57
-
58
- });
59
- });
1
+ jQuery (function ($) {
2
+
3
+ $(document).ready(function($) {
4
+
5
+ function show_review_notice () {
6
+ $('.ai-notice').fadeIn ("fast", function() {
7
+ $(this).css ('display', 'table');
8
+ });
9
+ }
10
+
11
+ if (typeof ajaxurl !== 'undefined') {
12
+ // var nonce = $('.ai-notice[nonce]').attr ('nonce');
13
+ var nonce = $('.ai-notice[data-value]').attr ('data-value');
14
+
15
+ if (typeof nonce !== 'undefined') {
16
+ nonce = atob (nonce);
17
+ $.ajax (ajaxurl, {
18
+ type: 'POST',
19
+ data: {
20
+ action: 'ai_ajax_backend',
21
+ ai_check: nonce,
22
+ 'notice-check': nonce
23
+ }
24
+ }).done (function (data) {
25
+
26
+ // console.log ('AI NOTICE CHECK', nonce, data);
27
+
28
+ if (data == nonce) {
29
+ setTimeout (show_review_notice, 500);
30
+ }
31
+ });
32
+ }
33
+ }
34
+ });
35
+
36
+ $(document).on ('click', '.ai-notice .ai-notice-dismiss', function () {
37
+ var ai_debug = parseInt ($('#ai-data').attr ('js_debugging'));
38
+ var notice_div = $(this).closest ('.ai-notice');
39
+ var nonce = atob (notice_div.attr ('data-value'));
40
+ var notice = notice_div.data ('notice');
41
+ var action = $(this).data ('notice');
42
+
43
+ if (ai_debug) console.log ('AI NOTICE CLICK', notice, action);
44
+
45
+ notice_div.hide ();
46
+
47
+ // Since WP 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
48
+ $.ajax (ajaxurl, {
49
+ type: 'POST',
50
+ data: {
51
+ action: 'ai_ajax_backend',
52
+ ai_check: nonce,
53
+ notice: notice,
54
+ click: action,
55
+ }
56
+ });
57
+
58
+ });
59
+ });
includes/js/ai-lists.js CHANGED
@@ -26,7 +26,7 @@ jQuery (function ($) {
26
  }
27
  }
28
 
29
- ai_process_lists = function () {
30
  // var ai_debug = typeof ai_debugging !== 'undefined';
31
  // var cookies = document.cookie.split (";");
32
 
@@ -44,7 +44,9 @@ jQuery (function ($) {
44
  // if (referrer != '') referrer = getHostName (referrer);
45
  // }
46
 
47
- var ai_list_blocks = $("div.ai-list-data");
 
 
48
  if (ai_list_blocks.length) {
49
 
50
  var ai_debug = typeof ai_debugging !== 'undefined';
@@ -54,8 +56,6 @@ jQuery (function ($) {
54
  cookies [index] = cookie.trim();
55
  });
56
 
57
- console.log ('window.location.search', window.location.search);
58
-
59
  var url_parameters = getAllUrlParams (window.location.search);
60
  if (url_parameters ['referrer'] != null) {
61
  var referrer = url_parameters ['referrer'];
@@ -66,6 +66,9 @@ jQuery (function ($) {
66
 
67
  ai_list_blocks.each (function () {
68
 
 
 
 
69
  var enable_block = true;
70
 
71
  var found = false;
@@ -75,7 +78,6 @@ jQuery (function ($) {
75
  var referer_list_array = b64d (referer_list).split (",");
76
  var referers_list_type = $(this).attr ("referer-list-type");
77
 
78
- if (ai_debug) console.log ('');
79
  if (ai_debug) console.log ("AI LISTS referer: ", referrer);
80
  if (ai_debug) console.log ("AI LISTS referer list:", b64d (referer_list), referers_list_type);
81
 
@@ -174,7 +176,6 @@ jQuery (function ($) {
174
  }
175
 
176
  $(this).css ({"visibility": "", "position": "", "width": "", "height": "", "z-index": ""}).removeClass ('ai-list-data');
177
- var block_wrapping_div = $(this).closest ('div.ai-list-block');
178
  // block_wrapping_div.css ({"visibility": "", "position": "", "z-index": ""}).removeClass ('ai-list-block');
179
  block_wrapping_div.removeClass ('ai-list-block');
180
  block_wrapping_div.find ('.ai-debug-name.ai-list-info').text (referrer);
@@ -198,16 +199,11 @@ jQuery (function ($) {
198
  if (typeof $(this).data ('code') != 'undefined') {
199
  var block_code = b64d ($(this).data ('code'));
200
  $(this).append (block_code);
201
- if (!ai_debug) $(this).attr ('data-code', '');
 
202
 
203
- if (typeof aiLazyLoading == 'function') {
204
- $("div.ai-lazy", this).each (function (index, element) {
205
- aiLazyLoading ({
206
- lazyClass: 'ai-lazy',
207
- lazyElement: this.element,
208
- });
209
- });
210
- }
211
 
212
  // Doesn't process inserted code for rotation - it will be called with setTimeout 5 ms later
213
  }
26
  }
27
  }
28
 
29
+ ai_process_lists = function (ai_list_blocks) {
30
  // var ai_debug = typeof ai_debugging !== 'undefined';
31
  // var cookies = document.cookie.split (";");
32
 
44
  // if (referrer != '') referrer = getHostName (referrer);
45
  // }
46
 
47
+ if (ai_list_blocks == null) {
48
+ ai_list_blocks = $("div.ai-list-data");
49
+ }
50
  if (ai_list_blocks.length) {
51
 
52
  var ai_debug = typeof ai_debugging !== 'undefined';
56
  cookies [index] = cookie.trim();
57
  });
58
 
 
 
59
  var url_parameters = getAllUrlParams (window.location.search);
60
  if (url_parameters ['referrer'] != null) {
61
  var referrer = url_parameters ['referrer'];
66
 
67
  ai_list_blocks.each (function () {
68
 
69
+ var block_wrapping_div = $(this).closest ('div.ai-list-block');
70
+ if (ai_debug) console.log ('AI LISTS BLOCK', block_wrapping_div.attr ('class'));
71
+
72
  var enable_block = true;
73
 
74
  var found = false;
78
  var referer_list_array = b64d (referer_list).split (",");
79
  var referers_list_type = $(this).attr ("referer-list-type");
80
 
 
81
  if (ai_debug) console.log ("AI LISTS referer: ", referrer);
82
  if (ai_debug) console.log ("AI LISTS referer list:", b64d (referer_list), referers_list_type);
83
 
176
  }
177
 
178
  $(this).css ({"visibility": "", "position": "", "width": "", "height": "", "z-index": ""}).removeClass ('ai-list-data');
 
179
  // block_wrapping_div.css ({"visibility": "", "position": "", "z-index": ""}).removeClass ('ai-list-block');
180
  block_wrapping_div.removeClass ('ai-list-block');
181
  block_wrapping_div.find ('.ai-debug-name.ai-list-info').text (referrer);
199
  if (typeof $(this).data ('code') != 'undefined') {
200
  var block_code = b64d ($(this).data ('code'));
201
  $(this).append (block_code);
202
+ // if (!ai_debug)
203
+ $(this).attr ('data-code', '');
204
 
205
+ if (ai_debug) console.log ('AI INSERT CODE', $(block_code).attr ('class'));
206
+ if (ai_debug) console.log ('');
 
 
 
 
 
 
207
 
208
  // Doesn't process inserted code for rotation - it will be called with setTimeout 5 ms later
209
  }
includes/js/ai-lists.min.js CHANGED
@@ -1,11 +1,11 @@
1
  jQuery(function($){function b64e(str){return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,function toSolidBytes(match,p1){return String.fromCharCode("0x"+p1)}))}function b64d(str){return decodeURIComponent(atob(str).split("").map(function(c){return"%"+("00"+c.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function getHostName(url){var match=url.match(/:\/\/(.[^/:]+)/i);if(match!=null&&match.length>1&&typeof match[1]==="string"&&match[1].length>0)return match[1];else return null}ai_process_lists=
2
- function(){var ai_list_blocks=$("div.ai-list-data");if(ai_list_blocks.length){var ai_debug=typeof ai_debugging!=="undefined";var cookies=document.cookie.split(";");cookies.forEach(function(cookie,index){cookies[index]=cookie.trim()});console.log("window.location.search",window.location.search);var url_parameters=getAllUrlParams(window.location.search);if(url_parameters["referrer"]!=null)var referrer=url_parameters["referrer"];else{var referrer=document.referrer;if(referrer!="")referrer=getHostName(referrer)}ai_list_blocks.each(function(){var enable_block=
3
- true;var found=false;var referer_list=$(this).attr("referer-list");if(typeof referer_list!="undefined"){var referer_list_array=b64d(referer_list).split(",");var referers_list_type=$(this).attr("referer-list-type");if(ai_debug)console.log("");if(ai_debug)console.log("AI LISTS referer: ",referrer);if(ai_debug)console.log("AI LISTS referer list:",b64d(referer_list),referers_list_type);$.each(referer_list_array,function(index,list_referer){if(list_referer=="")return true;if(list_referer.charAt(0)==
4
- "*")if(list_referer.charAt(list_referer.length-1)=="*"){list_referer=list_referer.substr(1,list_referer.length-2);if(referrer.indexOf(list_referer)!=-1){found=true;return false}}else{list_referer=list_referer.substr(1);if(referrer.substr(-list_referer.length)==list_referer){found=true;return false}}else if(list_referer.charAt(list_referer.length-1)=="*"){list_referer=list_referer.substr(0,list_referer.length-1);if(referrer.indexOf(list_referer)==0){found=true;return false}}else if(list_referer=="#"){if(referrer==
5
- ""){found=true;return false}}else if(list_referer==referrer){found=true;return false}});switch(referers_list_type){case "B":if(found)enable_block=false;break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}if(enable_block){var parameter_list=$(this).attr("parameter-list");if(typeof parameter_list!="undefined"){var parameter_list_array=b64d(parameter_list).split(",");var parameter_list_type=
6
- $(this).attr("parameter-list-type");if(ai_debug)console.log("");if(ai_debug)console.log("AI LISTS cookies: ",cookies);if(ai_debug)console.log("AI LISTS parameter list:",b64d(parameter_list),parameter_list_type);var found=false;$.each(parameter_list_array,function(index,list_parameter){if(list_parameter.indexOf("=")!=-1){if(cookies.indexOf(list_parameter)!=-1){found=true;return false}}else cookies.forEach(function(cookie){var cookie_data=cookie.split("=");if(list_parameter==cookie_data[0]){found=
7
- true;return false}})});switch(parameter_list_type){case "B":if(found)enable_block=false;break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}}$(this).css({"visibility":"","position":"","width":"","height":"","z-index":""}).removeClass("ai-list-data");var block_wrapping_div=$(this).closest("div.ai-list-block");block_wrapping_div.removeClass("ai-list-block");block_wrapping_div.find(".ai-debug-name.ai-list-info").text(referrer);
8
  block_wrapping_div.find(".ai-debug-name.ai-list-status").text(enable_block?ai_front.visible:ai_front.hidden);if(!enable_block){$(this).hide();block_wrapping_div.removeAttr("data-ai");if(block_wrapping_div.find(".ai-debug-block")){block_wrapping_div.css({"visibility":""}).removeClass("ai-close");if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""})}else block_wrapping_div.hide()}else{block_wrapping_div.css({"visibility":""});if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""});
9
- if(typeof $(this).data("code")!="undefined"){var block_code=b64d($(this).data("code"));$(this).append(block_code);if(!ai_debug)$(this).attr("data-code","");if(typeof aiLazyLoading=="function")$("div.ai-lazy",this).each(function(index,element){aiLazyLoading({lazyClass:"ai-lazy",lazyElement:this.element})})}}})}};$(document).ready(function($){setTimeout(function(){ai_process_lists()},5)})});
10
  function getAllUrlParams(url){var queryString=url?url.split("?")[1]:window.location.search.slice(1);var obj={};if(queryString){queryString=queryString.split("#")[0];var arr=queryString.split("&");for(var i=0;i<arr.length;i++){var a=arr[i].split("=");var paramNum=undefined;var paramName=a[0].replace(/\[\d*\]/,function(v){paramNum=v.slice(1,-1);return""});var paramValue=typeof a[1]==="undefined"?"":a[1];paramName=paramName.toLowerCase();paramValue=paramValue.toLowerCase();if(obj[paramName]){if(typeof obj[paramName]===
11
  "string")obj[paramName]=[obj[paramName]];if(typeof paramNum==="undefined")obj[paramName].push(paramValue);else obj[paramName][paramNum]=paramValue}else obj[paramName]=paramValue}}return obj};
1
  jQuery(function($){function b64e(str){return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g,function toSolidBytes(match,p1){return String.fromCharCode("0x"+p1)}))}function b64d(str){return decodeURIComponent(atob(str).split("").map(function(c){return"%"+("00"+c.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function getHostName(url){var match=url.match(/:\/\/(.[^/:]+)/i);if(match!=null&&match.length>1&&typeof match[1]==="string"&&match[1].length>0)return match[1];else return null}ai_process_lists=
2
+ function(ai_list_blocks){if(ai_list_blocks==null)ai_list_blocks=$("div.ai-list-data");if(ai_list_blocks.length){var ai_debug=typeof ai_debugging!=="undefined";var cookies=document.cookie.split(";");cookies.forEach(function(cookie,index){cookies[index]=cookie.trim()});var url_parameters=getAllUrlParams(window.location.search);if(url_parameters["referrer"]!=null)var referrer=url_parameters["referrer"];else{var referrer=document.referrer;if(referrer!="")referrer=getHostName(referrer)}ai_list_blocks.each(function(){var block_wrapping_div=
3
+ $(this).closest("div.ai-list-block");if(ai_debug)console.log("AI LISTS BLOCK",block_wrapping_div.attr("class"));var enable_block=true;var found=false;var referer_list=$(this).attr("referer-list");if(typeof referer_list!="undefined"){var referer_list_array=b64d(referer_list).split(",");var referers_list_type=$(this).attr("referer-list-type");if(ai_debug)console.log("AI LISTS referer: ",referrer);if(ai_debug)console.log("AI LISTS referer list:",b64d(referer_list),referers_list_type);$.each(referer_list_array,
4
+ function(index,list_referer){if(list_referer=="")return true;if(list_referer.charAt(0)=="*")if(list_referer.charAt(list_referer.length-1)=="*"){list_referer=list_referer.substr(1,list_referer.length-2);if(referrer.indexOf(list_referer)!=-1){found=true;return false}}else{list_referer=list_referer.substr(1);if(referrer.substr(-list_referer.length)==list_referer){found=true;return false}}else if(list_referer.charAt(list_referer.length-1)=="*"){list_referer=list_referer.substr(0,list_referer.length-1);
5
+ if(referrer.indexOf(list_referer)==0){found=true;return false}}else if(list_referer=="#"){if(referrer==""){found=true;return false}}else if(list_referer==referrer){found=true;return false}});switch(referers_list_type){case "B":if(found)enable_block=false;break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}if(enable_block){var parameter_list=$(this).attr("parameter-list");if(typeof parameter_list!=
6
+ "undefined"){var parameter_list_array=b64d(parameter_list).split(",");var parameter_list_type=$(this).attr("parameter-list-type");if(ai_debug)console.log("");if(ai_debug)console.log("AI LISTS cookies: ",cookies);if(ai_debug)console.log("AI LISTS parameter list:",b64d(parameter_list),parameter_list_type);var found=false;$.each(parameter_list_array,function(index,list_parameter){if(list_parameter.indexOf("=")!=-1){if(cookies.indexOf(list_parameter)!=-1){found=true;return false}}else cookies.forEach(function(cookie){var cookie_data=
7
+ cookie.split("=");if(list_parameter==cookie_data[0]){found=true;return false}})});switch(parameter_list_type){case "B":if(found)enable_block=false;break;case "W":if(!found)enable_block=false;break}if(ai_debug)console.log("AI LISTS list found",found);if(ai_debug)console.log("AI LISTS list pass",enable_block)}}$(this).css({"visibility":"","position":"","width":"","height":"","z-index":""}).removeClass("ai-list-data");block_wrapping_div.removeClass("ai-list-block");block_wrapping_div.find(".ai-debug-name.ai-list-info").text(referrer);
8
  block_wrapping_div.find(".ai-debug-name.ai-list-status").text(enable_block?ai_front.visible:ai_front.hidden);if(!enable_block){$(this).hide();block_wrapping_div.removeAttr("data-ai");if(block_wrapping_div.find(".ai-debug-block")){block_wrapping_div.css({"visibility":""}).removeClass("ai-close");if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""})}else block_wrapping_div.hide()}else{block_wrapping_div.css({"visibility":""});if(block_wrapping_div.hasClass("ai-remove-position"))block_wrapping_div.css({"position":""});
9
+ if(typeof $(this).data("code")!="undefined"){var block_code=b64d($(this).data("code"));$(this).append(block_code);$(this).attr("data-code","");if(ai_debug)console.log("AI INSERT CODE",$(block_code).attr("class"));if(ai_debug)console.log("")}}})}};$(document).ready(function($){setTimeout(function(){ai_process_lists()},5)})});
10
  function getAllUrlParams(url){var queryString=url?url.split("?")[1]:window.location.search.slice(1);var obj={};if(queryString){queryString=queryString.split("#")[0];var arr=queryString.split("&");for(var i=0;i<arr.length;i++){var a=arr[i].split("=");var paramNum=undefined;var paramName=a[0].replace(/\[\d*\]/,function(v){paramNum=v.slice(1,-1);return""});var paramValue=typeof a[1]==="undefined"?"":a[1];paramName=paramName.toLowerCase();paramValue=paramValue.toLowerCase();if(obj[paramName]){if(typeof obj[paramName]===
11
  "string")obj[paramName]=[obj[paramName]];if(typeof paramNum==="undefined")obj[paramName].push(paramValue);else obj[paramName][paramNum]=paramValue}else obj[paramName]=paramValue}}return obj};
includes/preview.php CHANGED
@@ -133,6 +133,8 @@ function generate_code_preview (
133
  $obj->hide_debug_labels = false;
134
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
135
 
 
 
136
  // Fix for relative urls
137
  $block_code = str_replace ('src="wp-content', 'src="../wp-content', $block_code);
138
  $block_code = str_replace ("src='wp-content", "src='../wp-content", $block_code);
133
  $obj->hide_debug_labels = false;
134
  $ai_wp_data [AI_FORCE_SERVERSIDE_CODE] = false;
135
 
136
+ $head_code = ai_process_head_codes ($head_code);
137
+
138
  // Fix for relative urls
139
  $block_code = str_replace ('src="wp-content', 'src="../wp-content', $block_code);
140
  $block_code = str_replace ("src='wp-content", "src='../wp-content", $block_code);
js/ad-inserter.js CHANGED
@@ -1,4 +1,4 @@
1
- var javascript_version = "2.4.8";
2
  var ignore_key = true;
3
  var start = 1;
4
  var end = 16;
@@ -395,6 +395,8 @@ String.prototype.tabIndex = function () {
395
  return this.replace (/^\D+/g, '')
396
  };
397
 
 
 
398
  var shSettings = {
399
  "tab_size":"4",
400
  "use_soft_tabs":"1",
@@ -623,7 +625,7 @@ function set_editor_text (block, text) {
623
 
624
  }
625
 
626
- function window_open_post (url, windowoption, name, params) {
627
  var form = document.createElement("form");
628
  form.setAttribute("method", "post");
629
  form.setAttribute("action", url);
@@ -647,6 +649,26 @@ function window_open_post (url, windowoption, name, params) {
647
  }
648
 
649
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
650
  jQuery(document).ready(function($) {
651
 
652
  var header = $('#export-container'+'-0').length != 0;
@@ -1538,6 +1560,20 @@ jQuery(document).ready(function($) {
1538
  }
1539
  }
1540
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1541
 
1542
  function configure_statistics_toolbar (tab) {
1543
  $("input#load-custom-range-"+tab).click (function () {
@@ -1547,7 +1583,7 @@ jQuery(document).ready(function($) {
1547
  var label = $(this).next ().find ('.checkbox-icon');
1548
  label.addClass ('on');
1549
 
1550
- var nonce = $(this).attr ('nonce');
1551
  var start_date = $("input#chart-start-date-" + block).attr('value');
1552
  var end_date = $("input#chart-end-date-" + block).attr('value');
1553
  var container = $("div#statistics-elements-" + block);
@@ -1565,13 +1601,14 @@ jQuery(document).ready(function($) {
1565
  adb = '&adb=1';
1566
  }
1567
 
1568
- container.load (ajaxurl+"?action=ai_ajax_backend&statistics=" + block + "&start-date=" + start_date + "&end-date=" + end_date + delete_range + adb + "&ai_check=" + nonce, function (response, status, xhr) {
1569
  label.removeClass ('on');
1570
  if ( status == "error" ) {
1571
  var message = "Error downloading data: " + xhr.status + " " + xhr.statusText ;
1572
- $( "div#load-error-" + block).html (message);
1573
  if (debug) console.log (message);
1574
  } else {
 
1575
  $( "div#load-error-" + block).html ('');
1576
  if (debug) console.log ("Custom statistics loaded: " + block);
1577
  configure_charts (container);
@@ -1715,8 +1752,8 @@ jQuery(document).ready(function($) {
1715
  $("#export-container-0").toggle ();
1716
 
1717
  if ($("#export-container-0").is(':visible') && !$(this).hasClass ("loaded")) {
1718
- var nonce = $(this).attr ('nonce');
1719
- $("#export_settings_0").load (ajaxurl+"?action=ai_ajax_backend&export=0&ai_check=" + nonce, function (response, status, xhr) {
1720
  if (status == "error" ) {
1721
  $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
1722
  } else {
@@ -1789,6 +1826,7 @@ jQuery(document).ready(function($) {
1789
 
1790
  $("input#statistics-button-0").checkboxButton ().click (function () {
1791
  $("div#statistics-container-0").toggle ();
 
1792
  $("div#tab-tracking-settings").toggle ();
1793
  var container = $("div#statistics-container-0");
1794
  if (container.is(':visible')) {
@@ -1799,6 +1837,11 @@ jQuery(document).ready(function($) {
1799
  }
1800
  });
1801
 
 
 
 
 
 
1802
  $('#enable-adb-detection').checkboxButton ();
1803
 
1804
  $('#simple-editor-a').checkboxButton ().click (function () {
@@ -1833,9 +1876,9 @@ jQuery(document).ready(function($) {
1833
  var window_height = 870;
1834
  var window_left = 100;
1835
  var window_top = (screen.height / 2) - (870 / 2);
1836
- var nonce = $(this).attr ('nonce');
1837
- var param = {'action': 'ai_ajax_backend', 'preview': 'adb', 'ai_check': nonce, 'code': code, 'php': php};
1838
- window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
1839
  });
1840
 
1841
  $("#main-content-element-button").click (function () {
@@ -1851,7 +1894,7 @@ jQuery(document).ready(function($) {
1851
  'selector': selector,
1852
  'input': "input#main-content-element"
1853
  };
1854
- window_open_post (home_url, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'ai-selector', param);
1855
  });
1856
 
1857
  $("#custom-selectors-button").click (function () {
@@ -1867,7 +1910,7 @@ jQuery(document).ready(function($) {
1867
  'selector': selector,
1868
  'input': "input#custom-selectors"
1869
  };
1870
- window_open_post (home_url, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'ai-selector', param);
1871
  });
1872
 
1873
  $('#disable-header-code').checkboxButton ();
@@ -1900,6 +1943,36 @@ jQuery(document).ready(function($) {
1900
  $("input#disable-blocks").change (function() {
1901
  $('#ai-page-block').toggleClass ('ai-page-code-disabled');
1902
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1903
  }
1904
 
1905
  function configure_tab (tab) {
@@ -2012,6 +2085,10 @@ jQuery(document).ready(function($) {
2012
  process_display_elements (block);
2013
  });
2014
 
 
 
 
 
2015
  process_display_elements (tab);
2016
 
2017
  // $("#exceptions-button-"+tab).button ({
@@ -2200,8 +2277,8 @@ jQuery(document).ready(function($) {
2200
  $("#export-container-" + block).toggle ();
2201
 
2202
  if ($("#export-container-" + block).is(':visible') && !$(this).hasClass ("loaded")) {
2203
- var nonce = $(this).attr ('nonce');
2204
- $("#export_settings_" + block).load (ajaxurl+"?action=ai_ajax_backend&export=" + block + "&ai_check=" + nonce, function (response, status, xhr) {
2205
  if (status == "error" ) {
2206
  $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
2207
  } else {
@@ -2234,6 +2311,11 @@ jQuery(document).ready(function($) {
2234
  }
2235
  });
2236
 
 
 
 
 
 
2237
  $("input#adb-statistics-button-"+tab).checkboxButton ().click (function () {
2238
  var block = $(this).attr ("id");
2239
  block = block.replace ("adb-statistics-button-","");
@@ -2356,12 +2438,12 @@ jQuery(document).ready(function($) {
2356
  var window_height = screen.availHeight;
2357
  }
2358
 
2359
- var nonce = $("#ai-form").attr ('nonce');
2360
 
2361
  var param = {
2362
  'action': 'ai_ajax_backend',
2363
  'preview': block,
2364
- 'ai_check': nonce,
2365
  'name': b64e (name),
2366
  'code': b64e (code),
2367
  'alignment': btoa (alignment),
@@ -2377,7 +2459,7 @@ jQuery(document).ready(function($) {
2377
  'close': close_button,
2378
  'iframe': iframe
2379
  };
2380
- window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
2381
  });
2382
 
2383
  $("#iframe-preview-button-"+tab).button ({
@@ -2513,9 +2595,9 @@ jQuery(document).ready(function($) {
2513
  var window_height = 870;
2514
  var window_left = 100;
2515
  var window_top = (screen.height / 2) - (window_height / 2);
2516
- var nonce = $("#ai-form").attr ('nonce');
2517
- var param = {'action': 'ai_ajax_backend', 'edit': block, 'ai_check': nonce, 'code': code, 'php': php};
2518
- window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'edit', param);
2519
  });
2520
 
2521
  $("#select-image-button-"+tab).click (function (event) {
@@ -2532,25 +2614,25 @@ jQuery(document).ready(function($) {
2532
  }
2533
 
2534
  frame = wp.media ({
2535
- title: 'Select or upload banner image',
2536
  button: {
2537
- text: 'Use this image'
2538
  },
2539
  multiple: false // Set to true to allow multiple files to be selected
2540
  });
2541
 
2542
- frame.on ('open', function(){
2543
  // var selected = $('#banner-image-' + block).attr ('src');
2544
  // if (selected) {
2545
  // var selection = frame.state().get ('selection');
2546
  // var id = $('#banner-image-' + block).attr ('data-id');
2547
  // selection.add (wp.media.attachment (id));
2548
  // }
2549
- });
2550
 
2551
  frame.on ('select', function() {
2552
  var attachment = frame.state().get('selection').first().toJSON();
2553
- console.log ('attachment', attachment);
2554
  $('#banner-image-' + block).attr ('src', attachment.url);
2555
  $('#banner-image-url-' + block).val (attachment.url).trigger ("input");
2556
  });
@@ -2568,9 +2650,9 @@ jQuery(document).ready(function($) {
2568
  var window_height = 870;
2569
  var window_left = 100;
2570
  var window_top = (screen.height / 2) - (870 / 2);
2571
- var nonce = $("#ai-form").attr ('nonce');
2572
- var param = {'action': 'ai_ajax_backend', 'placeholder': image_url, 'block': block, 'ai_check': nonce};
2573
- window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
2574
  });
2575
 
2576
  $("#banner-image-url-" + tab).on ('input', function() {
@@ -2617,9 +2699,9 @@ jQuery(document).ready(function($) {
2617
  $(this).next ("label").find ('.checkbox-icon').addClass("on");
2618
 
2619
  var block = $(this).attr('id').replace ("import-code-", "");
2620
- var nonce = $("#ai-form").attr ('nonce');
2621
 
2622
- $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': nonce, 'import-code': b64e (get_editor_text (block))}
2623
  ).done (function (data) {
2624
  if (data != '') {
2625
  $('#ai-error-container').hide ();
@@ -2697,9 +2779,9 @@ jQuery(document).ready(function($) {
2697
  $(this).next ("label").find ('.checkbox-icon').addClass("on");
2698
 
2699
  var block = $(this).attr('id').replace ("generate-code-", "");
2700
- var nonce = $("#ai-form").attr ('nonce');
2701
  var code_type = $("#ai-code-generator-container-" + block).tabs('option', 'active');
2702
- var code_data = {'action': 'ai_ajax_backend', 'ai_check': nonce, 'generate-code': code_type};
2703
 
2704
  switch (code_type) {
2705
  case AI_CODE_BANNER:
@@ -2909,7 +2991,7 @@ jQuery(document).ready(function($) {
2909
  'selector': selector,
2910
  'input': "input#html-elements-" + block
2911
  };
2912
- window_open_post (home_url, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'ai-selector', param);
2913
  });
2914
  }
2915
 
@@ -3031,9 +3113,9 @@ jQuery(document).ready(function($) {
3031
  function import_rotation_code (block) {
3032
  $("#rotation-"+block).next ("label").find ('.checkbox-icon').addClass("active");
3033
 
3034
- var nonce = $("#ai-form").attr ('nonce');
3035
 
3036
- $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': nonce, 'import-rotation-code': b64e (get_editor_text (block))}
3037
  ).done (function (data) {
3038
  if (data != '') {
3039
  var code_data = JSON.parse (data);
@@ -3101,7 +3183,7 @@ jQuery(document).ready(function($) {
3101
 
3102
  $(('#option-' + block + '-' + option)).data ('code', b64e (get_editor_text (block)));
3103
 
3104
- var nonce = $("#ai-form").attr ('nonce');
3105
 
3106
  var rotation_data = [];
3107
  rotation_container.find ("div.rounded").each (function (index) {
@@ -3114,7 +3196,7 @@ jQuery(document).ready(function($) {
3114
 
3115
  if (debug) console.log ('ROTATION DATA:', rotation_data);
3116
 
3117
- $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': nonce, 'generate-rotation-code': b64e (JSON.stringify (rotation_data))}
3118
  ).done (function (data) {
3119
  $('#ai-error-container').hide ();
3120
 
@@ -3237,7 +3319,7 @@ jQuery(document).ready(function($) {
3237
  if (!select.hasClass ('multi-select')) {
3238
  var options = select.find ('option');
3239
  if (options.length == 0) {
3240
- var nonce = $("#ai-form").attr ('nonce');
3241
 
3242
  var filter_element = $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-input');
3243
  var filter = filter_element.length ? filter_element.val () : '';
@@ -3248,7 +3330,7 @@ jQuery(document).ready(function($) {
3248
  $('#ai-loading').show ();
3249
  button.find ('span.ui-button-text').addClass ('ai-button-active').show ();
3250
 
3251
- $.get (ajaxurl + '?action=ai_ajax_backend&list-options=' + element_name_prefix + '&parameters=' + parameters + '&filter=' + filter + '&ai_check=' + nonce, function (data) {
3252
  if (data != '') {
3253
  var message = '';
3254
  var options = $('option', '<div>'+data+'</div>');
@@ -3669,8 +3751,8 @@ jQuery(document).ready(function($) {
3669
 
3670
  function update_rating (parameter) {
3671
  var rating_bar = $('#ai-rating-bar');
3672
- var nonce = rating_bar.attr ('nonce');
3673
- $("#rating-value span").load (ajaxurl+"?action=ai_ajax_backend&rating=" + parameter + "&ai_check=" + nonce, function() {
3674
  var rating = $("#rating-value span").text ();
3675
  var rating_value = 0;
3676
  if (rating != '') var rating_value = parseFloat (rating);
@@ -3752,9 +3834,9 @@ jQuery(document).ready(function($) {
3752
  }
3753
 
3754
  $('#ai-loading').show ();
3755
- var nonce = $("#ai-form").attr ('nonce');
3756
 
3757
- $.get (ajaxurl + '?action=ai_ajax_backend&settings=' + block + '&single=1&ai_check=' + nonce, function (settings) {
3758
  if (debug) console.log ("AI BLOCK LOADED");
3759
 
3760
  var clipboard = $('#ai-clipboard');
@@ -3837,6 +3919,9 @@ jQuery(document).ready(function($) {
3837
  }
3838
 
3839
  var save_button_text = destination_tab.find ('input[name=ai_save]').attr('value');
 
 
 
3840
  destination_tab.html (clipboard).find ('input[name=ai_save]').attr('value', save_button_text);
3841
 
3842
  if (!paste_name) {
@@ -3879,6 +3964,9 @@ jQuery(document).ready(function($) {
3879
  $(this).text (text);
3880
  });
3881
 
 
 
 
3882
  configure_tab (active_tab);
3883
 
3884
  if (simple_editor) {
@@ -3915,7 +4003,7 @@ jQuery(document).ready(function($) {
3915
  list_search_reload = false;
3916
  var list = encodeURIComponent ($("#ai-list-search").val());
3917
  var all = + !$("#ai-load-all").parent ().find ('.checkbox-icon').hasClass ('on');
3918
- var nonce = $("#ai-form").attr ('nonce');
3919
 
3920
  var rearrange_controls = $('#list-rearrange-controls');
3921
  var rearrange = rearrange_controls.hasClass ('rearrange')
@@ -3938,7 +4026,7 @@ jQuery(document).ready(function($) {
3938
 
3939
  var data_container = $("#ai-list-data");
3940
 
3941
- data_container.load (ajaxurl+"?action=ai_ajax_backend&list=" + list + "&all=" + all + "&start=" + start + "&end=" + end + rearrange_data + "&ai_check=" + nonce, function (response, status, xhr) {
3942
  if (status == "error") {
3943
  var message = "Error downloading list data: " + xhr.status + " " + xhr.statusText;
3944
  data_container.html (message);
@@ -3962,10 +4050,10 @@ jQuery(document).ready(function($) {
3962
  var window_height = 820;
3963
  var window_left = 100;
3964
  var window_top = (screen.height / 2) - (820 / 2);
3965
- var nonce = $("#ai-form").attr ('nonce');
3966
 
3967
- var param = {'action': 'ai_ajax_backend', 'preview': block, 'ai_check': nonce, 'read_only': 1};
3968
- window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
3969
  });
3970
 
3971
 
@@ -3980,11 +4068,11 @@ jQuery(document).ready(function($) {
3980
  adsense_search_reload = false;
3981
  var list = encodeURIComponent ($("#adsense-list-search").val());
3982
  var all = + !$("#adsense-load-all").parent ().find ('.checkbox-icon').hasClass ('on');
3983
- var nonce = $("#ai-form").attr ('nonce');
3984
 
3985
  var data_container = $("#adsense-list-data");
3986
 
3987
- data_container.load (ajaxurl+"?action=ai_ajax_backend&adsense-list=" + list + "&all=" + all + "&update_ad_units=" + (update_ad_units ? 1 : 0) + "&ai_check=" + nonce, function (response, status, xhr) {
3988
  $("#adsense-reload").parent ().find ('.checkbox-icon').removeClass ('on');
3989
 
3990
  if (status == "error") {
@@ -4005,10 +4093,10 @@ jQuery(document).ready(function($) {
4005
 
4006
  data_container.text (ai_admin.loading);
4007
 
4008
- var nonce = $("#ai-form").attr ('nonce');
4009
 
4010
  $('#ai-loading').show ();
4011
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-client-id=' + btoa (client_id) + '&adsense-client-secret=' + btoa (client_secret) + '&ai_check=' + nonce, function (data) {
4012
  reload_adsense_list (false);
4013
  }).fail (function (xhr, status, error) {
4014
  var message = "Error saving AdSense client IDs: " + xhr.status + " " + xhr.statusText ;
@@ -4069,12 +4157,12 @@ jQuery(document).ready(function($) {
4069
  $("label.adsense-copy-code").click (function () {
4070
  var ad_slot_id = $(this).closest ('tr').data ('id');
4071
  var ad_name = atob ($(this).closest ('tr').data ('name'));
4072
- var nonce = $("#ai-form").attr ('nonce');
4073
 
4074
  if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4075
 
4076
  $('#ai-loading').show ();
4077
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + nonce, function (data) {
4078
 
4079
  var code_data = JSON.parse (data);
4080
  var error = code_data ['error-message'];
@@ -4120,21 +4208,21 @@ jQuery(document).ready(function($) {
4120
  var window_height = 820;
4121
  var window_left = 100;
4122
  var window_top = (screen.height / 2) - (820 / 2);
4123
- var nonce = $("#ai-form").attr ('nonce');
4124
 
4125
- var param = {'action': 'ai_ajax_backend', 'preview': 'adsense', 'ai_check': nonce, 'read_only': 1, 'slot_id': btoa (ad_slot_id), 'name': ad_name};
4126
- window_open_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
4127
  });
4128
 
4129
  $("label.adsense-get-code").click (function () {
4130
  var ad_slot_id = $(this).closest ('tr').data ('id');
4131
  var ad_name = atob ($(this).closest ('tr').data ('name'));
4132
- var nonce = $("#ai-form").attr ('nonce');
4133
 
4134
  if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4135
 
4136
  $('#ai-loading').show ();
4137
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + nonce, function (data) {
4138
 
4139
  var code_data = JSON.parse (data);
4140
  var error = code_data ['error-message'];
@@ -4207,11 +4295,11 @@ jQuery(document).ready(function($) {
4207
  }
4208
 
4209
  function check_page (page, button, last_check) {
4210
- var nonce = $("#ai-form").attr ('nonce');
4211
  var container = button.closest ('.ai-check-pages');
4212
  var error_message = container.find ('.ai-error-message');
4213
 
4214
- $.get (ajaxurl + '?action=ai_ajax_backend&check-page=' + page + '&ai_check=' + nonce, function (data) {
4215
  if (data != '') {
4216
 
4217
  if (debug) console.log ("AI CHECK PAGES:", data);
@@ -4338,10 +4426,6 @@ jQuery(document).ready(function($) {
4338
  }
4339
  });
4340
 
4341
- $(".page-checker-button").click (function () {
4342
- $("#page-checker-container").toggle ();
4343
- });
4344
-
4345
  $("#check-pages-button").button ({
4346
  }).show ().click (function () {
4347
  var button = $(this);
@@ -4380,7 +4464,7 @@ jQuery(document).ready(function($) {
4380
  function reload_settings () {
4381
  if (debug) console.log ('RELOAD SETTINGS');
4382
 
4383
- var nonce = $("#ai-form").attr ('nonce');
4384
  var settings_container = $("#ai-container");
4385
 
4386
  $('#ai-error-container').hide ();
@@ -4394,7 +4478,7 @@ jQuery(document).ready(function($) {
4394
 
4395
 
4396
 
4397
- settings_container.load (ajaxurl+"?action=ai_ajax_backend&settings=" + active_tab + "&ai_check=" + nonce, function (response, status, xhr) {
4398
  if (status == "error") {
4399
  $('#ai-loading').hide ();
4400
  var message = ai_admin.error_reloading_settings + ": " + xhr.status + " " + xhr.statusText;
@@ -4427,10 +4511,10 @@ jQuery(document).ready(function($) {
4427
  }
4428
 
4429
  function update_adsense_authorization (authorization_code) {
4430
- var nonce = $("#ai-form").attr ('nonce');
4431
 
4432
  $('#ai-loading').show ();
4433
- $.get (ajaxurl + '?action=ai_ajax_backend&adsense-authorization-code=' + btoa (authorization_code) + '&ai_check=' + nonce, function (data) {
4434
  reload_adsense_list (false);
4435
  }).fail (function (xhr, status, error) {
4436
  var message = "Error saving AdSense authorization: " + xhr.status + " " + xhr.statusText ;
@@ -4442,14 +4526,14 @@ jQuery(document).ready(function($) {
4442
  }
4443
 
4444
  function update_block_code_demo () {
4445
- var nonce = $("#ai-form").attr ('nonce');
4446
 
4447
  var block_class_name = encodeURIComponent ($('#block-class-name').val ());
4448
  var block_class = $('#block-class').is(":checked") ? 1 : 0;
4449
  var block_number_class = $('#block-number-class').is(":checked") ? 1 : 0;
4450
  var inline_styles = $('#inline-styles').is(":checked") ? 1 : 0;
4451
 
4452
- $.get (ajaxurl + '?action=ai_ajax_backend&update=block-code-demo&block_class_name=' + block_class_name + '&block_class=' + block_class + '&block_number_class=' + block_number_class + '&inline_styles=' + inline_styles + '&ai_check=' + nonce, function (data) {
4453
  $('span#ai-block-code-demo').html (data);
4454
  }).fail (function (xhr, status, error) {
4455
  var message = "Error updating block code demo: " + xhr.status + " " + xhr.statusText ;
@@ -4610,8 +4694,8 @@ jQuery(document).ready(function($) {
4610
  });
4611
 
4612
  if ($("#maxmind-db-status").hasClass ('maxmind-db-missing')) {
4613
- var nonce = $("#ai-form").attr ('nonce');
4614
- var page = ajaxurl+"?action=ai_ajax_backend&update=maxmind&ai_check=" + nonce;
4615
 
4616
  $("span.maxmind-db-missing").text (ai_admin.downloading);
4617
  $.get (page, function (update_status) {
1
+ var javascript_version = "2.4.9";
2
  var ignore_key = true;
3
  var start = 1;
4
  var end = 16;
395
  return this.replace (/^\D+/g, '')
396
  };
397
 
398
+ var ai_nonce = b64d (jQuery ("#ai-form").attr ('ai-value'));
399
+
400
  var shSettings = {
401
  "tab_size":"4",
402
  "use_soft_tabs":"1",
625
 
626
  }
627
 
628
+ function open_popup_window_post (url, windowoption, name, params) {
629
  var form = document.createElement("form");
630
  form.setAttribute("method", "post");
631
  form.setAttribute("action", url);
649
  }
650
 
651
 
652
+ function open_window_post (url, name, params) {
653
+ var form = document.createElement("form");
654
+ form.setAttribute("method", "post");
655
+ form.setAttribute("action", url);
656
+ form.setAttribute("target", name);
657
+ for (var i in params) {
658
+ if (params.hasOwnProperty(i)) {
659
+ var input = document.createElement('input');
660
+ input.type = 'hidden';
661
+ input.name = i;
662
+ input.value = encodeURI (params[i]);
663
+ form.appendChild(input);
664
+ }
665
+ }
666
+ document.body.appendChild(form);
667
+ form.submit();
668
+ document.body.removeChild(form);
669
+ }
670
+
671
+
672
  jQuery(document).ready(function($) {
673
 
674
  var header = $('#export-container'+'-0').length != 0;
1560
  }
1561
  }
1562
 
1563
+ function export_statistics_pdf (block) {
1564
+ var code = $('<section>' + $("div#statistics-elements-" + block).html () + '</section>');
1565
+
1566
+ $('div[style*="display: none"], div[style*="display:none"]', code).remove ();
1567
+ $('.ai-toolbar-button', code).remove ();
1568
+ $('.ai-chart-container', code).css ('font-size', '10px');
1569
+ $('.ai-chart-container.versions', code).css ('text-align', 'center');
1570
+ $('.ai-statistics-legend', code).after ($('.ai-chart-container.legend', code).html());
1571
+
1572
+ var param = {'action': 'ai_ajax_backend', 'pdf': 'block', 'ai_check': ai_nonce, 'code': b64e ($(code).html ())};
1573
+ $('#ai-loading').show ();
1574
+ setTimeout (function() {open_window_post (ajaxurl, '_blank', param);}, 5);
1575
+ setTimeout (function() {$('#ai-loading').hide ();}, 1000);
1576
+ }
1577
 
1578
  function configure_statistics_toolbar (tab) {
1579
  $("input#load-custom-range-"+tab).click (function () {
1583
  var label = $(this).next ().find ('.checkbox-icon');
1584
  label.addClass ('on');
1585
 
1586
+ // var nonce = $(this).attr ('nonce');
1587
  var start_date = $("input#chart-start-date-" + block).attr('value');
1588
  var end_date = $("input#chart-end-date-" + block).attr('value');
1589
  var container = $("div#statistics-elements-" + block);
1601
  adb = '&adb=1';
1602
  }
1603
 
1604
+ container.load (ajaxurl+"?action=ai_ajax_backend&statistics=" + block + "&start-date=" + start_date + "&end-date=" + end_date + delete_range + adb + "&ai_check=" + ai_nonce, function (response, status, xhr) {
1605
  label.removeClass ('on');
1606
  if ( status == "error" ) {
1607
  var message = "Error downloading data: " + xhr.status + " " + xhr.statusText ;
1608
+ $("div#load-error-" + block).html (message);
1609
  if (debug) console.log (message);
1610
  } else {
1611
+ $("span#export-statistics-button-" + block).show ();
1612
  $( "div#load-error-" + block).html ('');
1613
  if (debug) console.log ("Custom statistics loaded: " + block);
1614
  configure_charts (container);
1752
  $("#export-container-0").toggle ();
1753
 
1754
  if ($("#export-container-0").is(':visible') && !$(this).hasClass ("loaded")) {
1755
+ // var nonce = $(this).attr ('nonce');
1756
+ $("#export_settings_0").load (ajaxurl+"?action=ai_ajax_backend&export=0&ai_check=" + ai_nonce, function (response, status, xhr) {
1757
  if (status == "error" ) {
1758
  $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
1759
  } else {
1826
 
1827
  $("input#statistics-button-0").checkboxButton ().click (function () {
1828
  $("div#statistics-container-0").toggle ();
1829
+ $("span#export-statistics-button-0").toggle ();
1830
  $("div#tab-tracking-settings").toggle ();
1831
  var container = $("div#statistics-container-0");
1832
  if (container.is(':visible')) {
1837
  }
1838
  });
1839
 
1840
+ $("#export-statistics-button-0").click (function () {
1841
+ export_statistics_pdf (0);
1842
+ });
1843
+
1844
+
1845
  $('#enable-adb-detection').checkboxButton ();
1846
 
1847
  $('#simple-editor-a').checkboxButton ().click (function () {
1876
  var window_height = 870;
1877
  var window_left = 100;
1878
  var window_top = (screen.height / 2) - (870 / 2);
1879
+ // var nonce = $(this).attr ('nonce');
1880
+ var param = {'action': 'ai_ajax_backend', 'preview': 'adb', 'ai_check': ai_nonce, 'code': code, 'php': php};
1881
+ open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
1882
  });
1883
 
1884
  $("#main-content-element-button").click (function () {
1894
  'selector': selector,
1895
  'input': "input#main-content-element"
1896
  };
1897
+ open_popup_window_post (home_url, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'ai-selector', param);
1898
  });
1899
 
1900
  $("#custom-selectors-button").click (function () {
1910
  'selector': selector,
1911
  'input': "input#custom-selectors"
1912
  };
1913
+ open_popup_window_post (home_url, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'ai-selector', param);
1914
  });
1915
 
1916
  $('#disable-header-code').checkboxButton ();
1943
  $("input#disable-blocks").change (function() {
1944
  $('#ai-page-block').toggleClass ('ai-page-code-disabled');
1945
  });
1946
+
1947
+ $("#report-header-image-button").click (function (event) {
1948
+ $(this).blur ();
1949
+
1950
+ var frame;
1951
+
1952
+ event.preventDefault();
1953
+
1954
+ if (frame) {
1955
+ frame.open();
1956
+ return;
1957
+ }
1958
+
1959
+ frame = wp.media ({
1960
+ title: ai_admin.select_header_image,
1961
+ button: {
1962
+ text: ai_admin.use_this_image
1963
+ },
1964
+ multiple: false // Set to true to allow multiple files to be selected
1965
+ });
1966
+
1967
+ frame.on ('select', function() {
1968
+ var attachment = frame.state().get('selection').first().toJSON();
1969
+ // console.log ('attachment', attachment);
1970
+ $('#report-header-image').val (attachment.url);
1971
+ });
1972
+
1973
+ frame.open();
1974
+ });
1975
+
1976
  }
1977
 
1978
  function configure_tab (tab) {
2085
  process_display_elements (block);
2086
  });
2087
 
2088
+ $("#tab-" + tab + " .page-checker-button").click (function () {
2089
+ $("#page-checker-container").toggle ();
2090
+ });
2091
+
2092
  process_display_elements (tab);
2093
 
2094
  // $("#exceptions-button-"+tab).button ({
2277
  $("#export-container-" + block).toggle ();
2278
 
2279
  if ($("#export-container-" + block).is(':visible') && !$(this).hasClass ("loaded")) {
2280
+ // var nonce = $(this).attr ('nonce');
2281
+ $("#export_settings_" + block).load (ajaxurl+"?action=ai_ajax_backend&export=" + block + "&ai_check=" + ai_nonce, function (response, status, xhr) {
2282
  if (status == "error" ) {
2283
  $('#ai-error-container').text (ai_admin.error + ' ' + xhr.status + ': ' + xhr.statusText).show ();
2284
  } else {
2311
  }
2312
  });
2313
 
2314
+ $("#export-statistics-button-"+tab).click (function () {
2315
+ var block = $(this).attr ("id").tabIndex ();
2316
+ export_statistics_pdf (block);
2317
+ });
2318
+
2319
  $("input#adb-statistics-button-"+tab).checkboxButton ().click (function () {
2320
  var block = $(this).attr ("id");
2321
  block = block.replace ("adb-statistics-button-","");
2438
  var window_height = screen.availHeight;
2439
  }
2440
 
2441
+ // var nonce = $("#ai-form").attr ('nonce');
2442
 
2443
  var param = {
2444
  'action': 'ai_ajax_backend',
2445
  'preview': block,
2446
+ 'ai_check': ai_nonce,
2447
  'name': b64e (name),
2448
  'code': b64e (code),
2449
  'alignment': btoa (alignment),
2459
  'close': close_button,
2460
  'iframe': iframe
2461
  };
2462
+ open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
2463
  });
2464
 
2465
  $("#iframe-preview-button-"+tab).button ({
2595
  var window_height = 870;
2596
  var window_left = 100;
2597
  var window_top = (screen.height / 2) - (window_height / 2);
2598
+ // var nonce = $("#ai-form").attr ('nonce');
2599
+ var param = {'action': 'ai_ajax_backend', 'edit': block, 'ai_check': ai_nonce, 'code': code, 'php': php};
2600
+ open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'edit', param);
2601
  });
2602
 
2603
  $("#select-image-button-"+tab).click (function (event) {
2614
  }
2615
 
2616
  frame = wp.media ({
2617
+ title: ai_admin.select_banner_image,
2618
  button: {
2619
+ text: ai_admin.use_this_image
2620
  },
2621
  multiple: false // Set to true to allow multiple files to be selected
2622
  });
2623
 
2624
+ // frame.on ('open', function(){
2625
  // var selected = $('#banner-image-' + block).attr ('src');
2626
  // if (selected) {
2627
  // var selection = frame.state().get ('selection');
2628
  // var id = $('#banner-image-' + block).attr ('data-id');
2629
  // selection.add (wp.media.attachment (id));
2630
  // }
2631
+ // });
2632
 
2633
  frame.on ('select', function() {
2634
  var attachment = frame.state().get('selection').first().toJSON();
2635
+ // console.log ('attachment', attachment);
2636
  $('#banner-image-' + block).attr ('src', attachment.url);
2637
  $('#banner-image-url-' + block).val (attachment.url).trigger ("input");
2638
  });
2650
  var window_height = 870;
2651
  var window_left = 100;
2652
  var window_top = (screen.height / 2) - (870 / 2);
2653
+ // var nonce = $("#ai-form").attr ('nonce');
2654
+ var param = {'action': 'ai_ajax_backend', 'placeholder': image_url, 'block': block, 'ai_check': ai_nonce};
2655
+ open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
2656
  });
2657
 
2658
  $("#banner-image-url-" + tab).on ('input', function() {
2699
  $(this).next ("label").find ('.checkbox-icon').addClass("on");
2700
 
2701
  var block = $(this).attr('id').replace ("import-code-", "");
2702
+ // var nonce = $("#ai-form").attr ('nonce');
2703
 
2704
+ $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'import-code': b64e (get_editor_text (block))}
2705
  ).done (function (data) {
2706
  if (data != '') {
2707
  $('#ai-error-container').hide ();
2779
  $(this).next ("label").find ('.checkbox-icon').addClass("on");
2780
 
2781
  var block = $(this).attr('id').replace ("generate-code-", "");
2782
+ // var nonce = $("#ai-form").attr ('nonce');
2783
  var code_type = $("#ai-code-generator-container-" + block).tabs('option', 'active');
2784
+ var code_data = {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'generate-code': code_type};
2785
 
2786
  switch (code_type) {
2787
  case AI_CODE_BANNER:
2991
  'selector': selector,
2992
  'input': "input#html-elements-" + block
2993
  };
2994
+ open_popup_window_post (home_url, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'ai-selector', param);
2995
  });
2996
  }
2997
 
3113
  function import_rotation_code (block) {
3114
  $("#rotation-"+block).next ("label").find ('.checkbox-icon').addClass("active");
3115
 
3116
+ // var nonce = $("#ai-form").attr ('nonce');
3117
 
3118
+ $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'import-rotation-code': b64e (get_editor_text (block))}
3119
  ).done (function (data) {
3120
  if (data != '') {
3121
  var code_data = JSON.parse (data);
3183
 
3184
  $(('#option-' + block + '-' + option)).data ('code', b64e (get_editor_text (block)));
3185
 
3186
+ // var nonce = $("#ai-form").attr ('nonce');
3187
 
3188
  var rotation_data = [];
3189
  rotation_container.find ("div.rounded").each (function (index) {
3196
 
3197
  if (debug) console.log ('ROTATION DATA:', rotation_data);
3198
 
3199
+ $.post (ajaxurl, {'action': 'ai_ajax_backend', 'ai_check': ai_nonce, 'generate-rotation-code': b64e (JSON.stringify (rotation_data))}
3200
  ).done (function (data) {
3201
  $('#ai-error-container').hide ();
3202
 
3319
  if (!select.hasClass ('multi-select')) {
3320
  var options = select.find ('option');
3321
  if (options.length == 0) {
3322
+ // var nonce = $("#ai-form").attr ('nonce');
3323
 
3324
  var filter_element = $('#ms-'+element_name_prefix+'-select-' + index).find ('.filter-input');
3325
  var filter = filter_element.length ? filter_element.val () : '';
3330
  $('#ai-loading').show ();
3331
  button.find ('span.ui-button-text').addClass ('ai-button-active').show ();
3332
 
3333
+ $.get (ajaxurl + '?action=ai_ajax_backend&list-options=' + element_name_prefix + '&parameters=' + parameters + '&filter=' + filter + '&ai_check=' + ai_nonce, function (data) {
3334
  if (data != '') {
3335
  var message = '';
3336
  var options = $('option', '<div>'+data+'</div>');
3751
 
3752
  function update_rating (parameter) {
3753
  var rating_bar = $('#ai-rating-bar');
3754
+ // var nonce = rating_bar.attr ('nonce');
3755
+ $("#rating-value span").load (ajaxurl+"?action=ai_ajax_backend&rating=" + parameter + "&ai_check=" + ai_nonce, function() {
3756
  var rating = $("#rating-value span").text ();
3757
  var rating_value = 0;
3758
  if (rating != '') var rating_value = parseFloat (rating);
3834
  }
3835
 
3836
  $('#ai-loading').show ();
3837
+ // var nonce = $("#ai-form").attr ('nonce');
3838
 
3839
+ $.get (ajaxurl + '?action=ai_ajax_backend&settings=' + block + '&single=1&ai_check=' + ai_nonce, function (settings) {
3840
  if (debug) console.log ("AI BLOCK LOADED");
3841
 
3842
  var clipboard = $('#ai-clipboard');
3919
  }
3920
 
3921
  var save_button_text = destination_tab.find ('input[name=ai_save]').attr('value');
3922
+ var exceptions_button = destination_tab.find ('#exceptions-button-container-' + active_tab).html ();
3923
+ var exceptions_container = destination_tab.find ('#block-exceptions-' + active_tab).html ();
3924
+
3925
  destination_tab.html (clipboard).find ('input[name=ai_save]').attr('value', save_button_text);
3926
 
3927
  if (!paste_name) {
3964
  $(this).text (text);
3965
  });
3966
 
3967
+ destination_tab.find ('#exceptions-button-container-' + active_tab).html (exceptions_button);
3968
+ destination_tab.find ('#block-exceptions-' + active_tab).html (exceptions_container);
3969
+
3970
  configure_tab (active_tab);
3971
 
3972
  if (simple_editor) {
4003
  list_search_reload = false;
4004
  var list = encodeURIComponent ($("#ai-list-search").val());
4005
  var all = + !$("#ai-load-all").parent ().find ('.checkbox-icon').hasClass ('on');
4006
+ // var nonce = $("#ai-form").attr ('nonce');
4007
 
4008
  var rearrange_controls = $('#list-rearrange-controls');
4009
  var rearrange = rearrange_controls.hasClass ('rearrange')
4026
 
4027
  var data_container = $("#ai-list-data");
4028
 
4029
+ data_container.load (ajaxurl+"?action=ai_ajax_backend&list=" + list + "&all=" + all + "&start=" + start + "&end=" + end + rearrange_data + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4030
  if (status == "error") {
4031
  var message = "Error downloading list data: " + xhr.status + " " + xhr.statusText;
4032
  data_container.html (message);
4050
  var window_height = 820;
4051
  var window_left = 100;
4052
  var window_top = (screen.height / 2) - (820 / 2);
4053
+ // var nonce = $("#ai-form").attr ('nonce');
4054
 
4055
+ var param = {'action': 'ai_ajax_backend', 'preview': block, 'ai_check': ai_nonce, 'read_only': 1};
4056
+ open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
4057
  });
4058
 
4059
 
4068
  adsense_search_reload = false;
4069
  var list = encodeURIComponent ($("#adsense-list-search").val());
4070
  var all = + !$("#adsense-load-all").parent ().find ('.checkbox-icon').hasClass ('on');
4071
+ // var nonce = $("#ai-form").attr ('nonce');
4072
 
4073
  var data_container = $("#adsense-list-data");
4074
 
4075
+ data_container.load (ajaxurl+"?action=ai_ajax_backend&adsense-list=" + list + "&all=" + all + "&update_ad_units=" + (update_ad_units ? 1 : 0) + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4076
  $("#adsense-reload").parent ().find ('.checkbox-icon').removeClass ('on');
4077
 
4078
  if (status == "error") {
4093
 
4094
  data_container.text (ai_admin.loading);
4095
 
4096
+ // var nonce = $("#ai-form").attr ('nonce');
4097
 
4098
  $('#ai-loading').show ();
4099
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-client-id=' + btoa (client_id) + '&adsense-client-secret=' + btoa (client_secret) + '&ai_check=' + ai_nonce, function (data) {
4100
  reload_adsense_list (false);
4101
  }).fail (function (xhr, status, error) {
4102
  var message = "Error saving AdSense client IDs: " + xhr.status + " " + xhr.statusText ;
4157
  $("label.adsense-copy-code").click (function () {
4158
  var ad_slot_id = $(this).closest ('tr').data ('id');
4159
  var ad_name = atob ($(this).closest ('tr').data ('name'));
4160
+ // var nonce = $("#ai-form").attr ('nonce');
4161
 
4162
  if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4163
 
4164
  $('#ai-loading').show ();
4165
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + ai_nonce, function (data) {
4166
 
4167
  var code_data = JSON.parse (data);
4168
  var error = code_data ['error-message'];
4208
  var window_height = 820;
4209
  var window_left = 100;
4210
  var window_top = (screen.height / 2) - (820 / 2);
4211
+ // var nonce = $("#ai-form").attr ('nonce');
4212
 
4213
+ var param = {'action': 'ai_ajax_backend', 'preview': 'adsense', 'ai_check': ai_nonce, 'read_only': 1, 'slot_id': btoa (ad_slot_id), 'name': ad_name};
4214
+ open_popup_window_post (ajaxurl, 'width='+window_width+',height='+window_height+',top='+window_top+',left='+window_left+',resizable=yes,scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no', 'preview', param);
4215
  });
4216
 
4217
  $("label.adsense-get-code").click (function () {
4218
  var ad_slot_id = $(this).closest ('tr').data ('id');
4219
  var ad_name = atob ($(this).closest ('tr').data ('name'));
4220
+ // var nonce = $("#ai-form").attr ('nonce');
4221
 
4222
  if (debug) console.log ('ADSENSE CODE: ', ad_slot_id);
4223
 
4224
  $('#ai-loading').show ();
4225
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-code=' + ad_slot_id + '&ai_check=' + ai_nonce, function (data) {
4226
 
4227
  var code_data = JSON.parse (data);
4228
  var error = code_data ['error-message'];
4295
  }
4296
 
4297
  function check_page (page, button, last_check) {
4298
+ // var nonce = $("#ai-form").attr ('nonce');
4299
  var container = button.closest ('.ai-check-pages');
4300
  var error_message = container.find ('.ai-error-message');
4301
 
4302
+ $.get (ajaxurl + '?action=ai_ajax_backend&check-page=' + page + '&ai_check=' + ai_nonce, function (data) {
4303
  if (data != '') {
4304
 
4305
  if (debug) console.log ("AI CHECK PAGES:", data);
4426
  }
4427
  });
4428
 
 
 
 
 
4429
  $("#check-pages-button").button ({
4430
  }).show ().click (function () {
4431
  var button = $(this);
4464
  function reload_settings () {
4465
  if (debug) console.log ('RELOAD SETTINGS');
4466
 
4467
+ // var nonce = $("#ai-form").attr ('nonce');
4468
  var settings_container = $("#ai-container");
4469
 
4470
  $('#ai-error-container').hide ();
4478
 
4479
 
4480
 
4481
+ settings_container.load (ajaxurl+"?action=ai_ajax_backend&settings=" + active_tab + "&ai_check=" + ai_nonce, function (response, status, xhr) {
4482
  if (status == "error") {
4483
  $('#ai-loading').hide ();
4484
  var message = ai_admin.error_reloading_settings + ": " + xhr.status + " " + xhr.statusText;
4511
  }
4512
 
4513
  function update_adsense_authorization (authorization_code) {
4514
+ // var nonce = $("#ai-form").attr ('nonce');
4515
 
4516
  $('#ai-loading').show ();
4517
+ $.get (ajaxurl + '?action=ai_ajax_backend&adsense-authorization-code=' + btoa (authorization_code) + '&ai_check=' + ai_nonce, function (data) {
4518
  reload_adsense_list (false);
4519
  }).fail (function (xhr, status, error) {
4520
  var message = "Error saving AdSense authorization: " + xhr.status + " " + xhr.statusText ;
4526
  }
4527
 
4528
  function update_block_code_demo () {
4529
+ // var nonce = $("#ai-form").attr ('nonce');
4530
 
4531
  var block_class_name = encodeURIComponent ($('#block-class-name').val ());
4532
  var block_class = $('#block-class').is(":checked") ? 1 : 0;
4533
  var block_number_class = $('#block-number-class').is(":checked") ? 1 : 0;
4534
  var inline_styles = $('#inline-styles').is(":checked") ? 1 : 0;
4535
 
4536
+ $.get (ajaxurl + '?action=ai_ajax_backend&update=block-code-demo&block_class_name=' + block_class_name + '&block_class=' + block_class + '&block_number_class=' + block_number_class + '&inline_styles=' + inline_styles + '&ai_check=' + ai_nonce, function (data) {
4537
  $('span#ai-block-code-demo').html (data);
4538
  }).fail (function (xhr, status, error) {
4539
  var message = "Error updating block code demo: " + xhr.status + " " + xhr.statusText ;
4694
  });
4695
 
4696
  if ($("#maxmind-db-status").hasClass ('maxmind-db-missing')) {
4697
+ // var nonce = $("#ai-form").attr ('nonce');
4698
+ var page = ajaxurl+"?action=ai_ajax_backend&update=maxmind&ai_check=" + ai_nonce;
4699
 
4700
  $("span.maxmind-db-missing").text (ai_admin.downloading);
4701
  $.get (page, function (update_status) {
languages/ad-inserter-sl_SI.mo CHANGED
Binary file
languages/ad-inserter-sl_SI.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Ad Inserter 2.4.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
- "POT-Creation-Date: 2019-01-16 20:23:00+00:00\n"
8
- "PO-Revision-Date: 2019-01-16 21:23+0100\n"
9
  "Last-Translator: Igor Funa\n"
10
  "Language-Team: \n"
11
  "Language: sl_SI\n"
@@ -16,129 +16,129 @@ msgstr ""
16
  "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n"
17
  "%100<=4 ? 2 : 3);\n"
18
 
19
- #: ad-inserter.php:296
20
  msgctxt "Menu item"
21
  msgid "Debugging DEMO"
22
  msgstr "DEMO Razhroščevanje"
23
 
24
- #: ad-inserter.php:312
25
  msgctxt "Menu item"
26
  msgid "Label Blocks"
27
  msgstr "Označi bloke"
28
 
29
- #: ad-inserter.php:319
30
  msgctxt "Menu item"
31
  msgid "Show Positions"
32
  msgstr "Pokaži položaje"
33
 
34
- #: ad-inserter.php:390
35
  msgctxt "Menu item"
36
  msgid "Show HTML Tags"
37
  msgstr "Pokaži HTML značke"
38
 
39
- #: ad-inserter.php:397
40
  msgctxt "Menu item"
41
  msgid "Disable Insertion"
42
  msgstr "Onemogoči vstavljanje"
43
 
44
- #: ad-inserter.php:406
45
  msgctxt "Menu item"
46
  msgid "Ad Blocking Status"
47
  msgstr "Status blokiranja oglasov"
48
 
49
- #: ad-inserter.php:413
50
  msgctxt "Menu item"
51
  msgid "Simulate Ad Blocking"
52
  msgstr "Simuliraj blokiranje oglasov"
53
 
54
- #: ad-inserter.php:423
55
  msgctxt "Menu item"
56
  msgid "Log Processing"
57
  msgstr "Beleži procesiranje"
58
 
59
  #. translators: Debugging position name Before HTML element
60
- #: ad-inserter.php:947
61
  msgid "Before"
62
  msgstr "Pred"
63
 
64
  #. translators: Debugging position name After HTML element
65
- #: ad-inserter.php:952
66
  msgid "After"
67
  msgstr "Za"
68
 
69
  #. translators: Debugging position name Prepend content of HTML element (before
70
  #. the content of the HTML element)
71
- #: ad-inserter.php:957 strings.php:98
72
  msgid "Prepend content"
73
  msgstr "Dodaj pred vsebino"
74
 
75
  #. translators: Debugging position name Append content of HTML element (after
76
  #. the content of the HTML element)
77
- #: ad-inserter.php:962 strings.php:99
78
  msgid "Append content"
79
  msgstr "Dodaj za vsebino"
80
 
81
  #. translators: Debugging position name Replace content of HTML element
82
- #: ad-inserter.php:967 strings.php:100
83
  msgid "Replace content"
84
  msgstr "Nadomesti vsebino"
85
 
86
  #. translators: Debugging position name Replace HTML element
87
- #: ad-inserter.php:972 strings.php:150
88
  msgid "Replace"
89
  msgstr "Nadomesti"
90
 
91
  #. translators: Debugging message when output buffering is enabled
92
- #: ad-inserter.php:1017
93
  msgid "OUTPUT BUFFERING"
94
  msgstr "PREDPOMNJENJE IZHODA"
95
 
96
  #. translators: Debugging position
97
- #: ad-inserter.php:1021
98
  msgid "Above Header"
99
  msgstr "Nad Glavo"
100
 
101
- #: ad-inserter.php:1223
102
  msgctxt "Menu item"
103
  msgid "Log In"
104
  msgstr "Prijava"
105
 
106
  #. translators: %s: Ad Inserter
107
- #: ad-inserter.php:1498 ad-inserter.php:2361
108
  msgid "%s Settings"
109
  msgstr "%s Nastavitve"
110
 
111
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
112
- #: ad-inserter.php:1932
113
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
114
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, OGLEDI STRANI"
115
 
116
- #: ad-inserter.php:1932
117
  msgid "NO ACTION"
118
  msgstr "NI AKCIJE"
119
 
120
- #: ad-inserter.php:1933
121
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
122
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, ZAZNAN PIŠKOTEK, NI AKCIJE"
123
 
124
- #: ad-inserter.php:1934
125
  msgid "AD BLOCKING DETECTED - ACTION"
126
  msgstr "ZAZNANO BLOKIRANJE OGLASOV - AKCIJA"
127
 
128
- #: ad-inserter.php:1935
129
  msgid "AD BLOCKING NOT DETECTED"
130
  msgstr "BLOKIRANJE OGLASOV NI ZAZNANO"
131
 
132
- #: ad-inserter.php:1936
133
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
134
  msgstr "PIŠKOTKI ZA ZAZNAVANJE BLOKIRANJA OGLASOV POBRISANI"
135
 
136
- #: ad-inserter.php:1937
137
  msgid "AD BLOCKING DETECTED - NO ACTION"
138
  msgstr "ZAZNANO BLOKIRANJE OGLASOV - NI AKCIJE"
139
 
140
  #. Translators: 1: number of blocks, 2: Ad Inserter
141
- #: ad-inserter.php:2132
142
  msgid "Hey, you are now using %1$s %2$s block."
143
  msgid_plural "Hey, you are now using %1$s %2$s blocks."
144
  msgstr[0] "Hej, trenutno uporabljate %1$s %2$s blok."
@@ -146,21 +146,21 @@ msgstr[1] "Hej, trenutno uporabljate %1$s %2$s bloka."
146
  msgstr[2] "Hej, trenutno uporabljate %1$s %2$s bloke."
147
  msgstr[3] "Hej, trenutno uporabljate %1$s %2$s blokov."
148
 
149
- #: ad-inserter.php:2133 includes/functions.php:1464
150
  msgid "No, thank you."
151
  msgstr "Ne, hvala."
152
 
153
  #. Translators: %s: Ad Inserter
154
- #: ad-inserter.php:2136
155
  msgid ""
156
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
157
  msgstr "Hej, %s uporabljate že kar nekaj časa. Upam, da ste zadovoljni z njim."
158
 
159
- #: ad-inserter.php:2137 includes/functions.php:1466
160
  msgid "Not now, maybe later."
161
  msgstr "Ne zdaj, mogoče kasneje."
162
 
163
- #: ad-inserter.php:2147
164
  msgid ""
165
  "I would really appreciate it if you could give the plugin a 5-star rating on "
166
  "WordPres."
@@ -168,7 +168,7 @@ msgstr ""
168
  "Res bi bili vesel, če bi lahko na WordPress-u vtičnik ocenili s 5-imi "
169
  "zvezicami."
170
 
171
- #: ad-inserter.php:2149
172
  msgid ""
173
  "Positive reviews are a great incentive to fix bugs and to add new features "
174
  "for better monetization of your website. Thank you, Igor"
@@ -177,105 +177,105 @@ msgstr ""
177
  "funkcij za boljšo monetizacijo vašega spletnega mesta. Hvala, Igor"
178
 
179
  #. translators: %s: Ad Inserter
180
- #: ad-inserter.php:2155
181
  msgid "Rate %s"
182
  msgstr "Oceni %s"
183
 
184
- #: ad-inserter.php:2160
185
  msgid "I already did."
186
  msgstr "Sem že."
187
 
188
- #: ad-inserter.php:2174
189
  msgctxt "Menu item"
190
  msgid "Settings"
191
  msgstr "Nastavitve"
192
 
193
  #. translators: %s: Ad Inserter
194
- #: ad-inserter.php:2248
195
  msgctxt "Meta box name"
196
  msgid "%s Individual Exceptions"
197
  msgstr "Posamezne Izjeme za %s"
198
 
199
- #: ad-inserter.php:2277 ad-inserter.php:7754 class.php:1926
200
- #: includes/preview.php:1792 includes/preview.php:1836
201
- #: includes/preview.php:1873 settings.php:3337 strings.php:3
202
  msgid "Block"
203
  msgstr "Blok"
204
 
205
- #: ad-inserter.php:2278 settings.php:3338 settings.php:3412
206
  msgid "Name"
207
  msgstr "Ime"
208
 
209
- #: ad-inserter.php:2279 settings.php:3340
210
  msgid "Automatic insertion"
211
  msgstr "Samodejno vstavljanje"
212
 
213
- #: ad-inserter.php:2282
214
  msgid "Default insertion for pages"
215
  msgstr "Privzeto vstavljanje za strani"
216
 
217
- #: ad-inserter.php:2283
218
  msgid "Default insertion for posts"
219
  msgstr "Privzeto vstavljanje za prispevke"
220
 
221
  #. translators: For this post or page
222
- #: ad-inserter.php:2286
223
  msgctxt "Page"
224
  msgid "For this"
225
  msgstr "Za to"
226
 
227
- #: ad-inserter.php:2287
228
  msgctxt "Post"
229
  msgid "For this"
230
  msgstr "Za ta"
231
 
232
- #: ad-inserter.php:2295
233
  msgctxt "Enabled/disabled on all"
234
  msgid "pages"
235
  msgstr "straneh"
236
 
237
- #: ad-inserter.php:2296
238
  msgctxt "Default insertion for"
239
  msgid "pages"
240
  msgstr "strani"
241
 
242
- #: ad-inserter.php:2300
243
  msgctxt "Enabled/disabled on all"
244
  msgid "posts"
245
  msgstr "prispevkih"
246
 
247
- #: ad-inserter.php:2301
248
  msgctxt "Default insertion for"
249
  msgid "posts"
250
  msgstr "prispevke"
251
 
252
- #: ad-inserter.php:2320 ad-inserter.php:2333 strings.php:156
253
  msgid "Enabled"
254
  msgstr "Omogočeno"
255
 
256
  #. translators: Menu items
257
- #: ad-inserter.php:2320 ad-inserter.php:2333 includes/functions.php:2048
258
  #: strings.php:16
259
  msgid "Disabled"
260
  msgstr "Onemogočeno"
261
 
262
  #. translators: Enabled on all pages or posts
263
- #: ad-inserter.php:2323
264
  msgid "Enabled on all"
265
  msgstr "Omogočeno na vseh"
266
 
267
  #. translators: Disabled on all pages or posts
268
- #: ad-inserter.php:2325
269
  msgid "Disabled on all"
270
  msgstr "Onemogočeno na vseh"
271
 
272
  #. translators: No individual exceptions enabled for pages or posts
273
- #: ad-inserter.php:2353
274
  msgid "No individual exceptions enabled for"
275
  msgstr "Ni omogočenih posameznih izjem za"
276
 
277
  #. translators: 1: pages or posts, 2: Ad Inserter Settings (page)
278
- #: ad-inserter.php:2358
279
  msgid ""
280
  "Default insertion for %1$s can be configured for each block on %2$s page - "
281
  "selection next to <strong>Posts</strong> / <strong>Static pages</strong> "
@@ -285,7 +285,7 @@ msgstr ""
285
  "izbira poleg kljukice za vklop <strong>Prispevki</strong> / <strong>Statične "
286
  "strani</strong>.<br />"
287
 
288
- #: ad-inserter.php:2363
289
  msgid ""
290
  "Default value is <strong>blank</strong> and means no individual exceptions "
291
  "(even if previously defined here).<br />"
@@ -293,7 +293,7 @@ msgstr ""
293
  "Privzeta vrednost je <strong>prazno</strong> in pomeni brez posameznih izjem "
294
  "(tudi, če so bile predhodno nsatavljene tukaj).<br />"
295
 
296
- #: ad-inserter.php:2366
297
  msgctxt "Pages"
298
  msgid ""
299
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
@@ -302,7 +302,7 @@ msgstr ""
302
  "Nastavite na <strong>Posamezno onemogočene</strong> ali <strong>Posamezno "
303
  "omogočene</strong> za vklop nastavitev posameznih izjem na tej strani.<br />"
304
 
305
- #: ad-inserter.php:2367
306
  msgctxt "Posts"
307
  msgid ""
308
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
@@ -311,61 +311,61 @@ msgstr ""
311
  "Nastavite na <strong>Posamezno onemogočeni</strong> ali <strong>Posamezno "
312
  "omogočeni</strong> za vklop nastavitev posameznih izjem na tej strani.<br />"
313
 
314
- #: ad-inserter.php:2369
315
  msgid "For more information check page %s"
316
  msgstr "Za več informacij poglejte stran %s"
317
 
318
  #. translators: Ad Inserter Exceptions documentation page
319
- #: ad-inserter.php:2371
320
  msgid "Individual Exceptions"
321
  msgstr "Posamezne Izjeme"
322
 
323
- #: ad-inserter.php:2416
324
  msgid "STATIC PAGE"
325
  msgstr "STATIČNA STRAN"
326
 
327
- #: ad-inserter.php:2419
328
  msgid "POST"
329
  msgstr "PRISPEVEK"
330
 
331
- #: ad-inserter.php:2422
332
  msgid "HOMEPAGE"
333
  msgstr "DOMAČA STRAN"
334
 
335
- #: ad-inserter.php:2425
336
  msgid "CATEGORY PAGE"
337
  msgstr "STRAN KATEGORIJE"
338
 
339
- #: ad-inserter.php:2428
340
  msgid "SEARCH PAGE"
341
  msgstr "STRAN ISKANJE"
342
 
343
- #: ad-inserter.php:2431
344
  msgid "ARCHIVE PAGE"
345
  msgstr "STRAN ARHIVA"
346
 
347
- #: ad-inserter.php:2434
348
  msgid "ERROR 404 PAGE"
349
  msgstr "STRAN NAPAKA 404"
350
 
351
- #: ad-inserter.php:2437
352
  msgid "AJAX CALL"
353
  msgstr "AJAX KLIC"
354
 
355
- #: ad-inserter.php:2440
356
  msgid "UNKNOWN PAGE TYPE"
357
  msgstr "NEZNAN TIP STRANI"
358
 
359
- #: ad-inserter.php:2457
360
  msgid "Click to delete ad blocking detection cokies"
361
  msgstr "Klikni za brisanje piškotkov za zaznavanje blokiranja oglasov"
362
 
363
- #: ad-inserter.php:2458
364
  msgid "AD BLOCKING STATUS UNKNOWN"
365
  msgstr "NEZNAN STATUS BLOKIRANJA OGLASOV"
366
 
367
  #. translators: %s: AdSense Auto Ads
368
- #: ad-inserter.php:2482
369
  msgid ""
370
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
371
  "positions"
@@ -373,11 +373,11 @@ msgstr ""
373
  "Zaznana koda za %s - Koda bo samodejno vstavila oglase AdSense na optimalne "
374
  "položaje"
375
 
376
- #: ad-inserter.php:2605
377
  msgid "Code for insertion"
378
  msgstr "Koda za vstavljanje"
379
 
380
- #: ad-inserter.php:2605
381
  msgid "character"
382
  msgid_plural "characters"
383
  msgstr[0] "znak"
@@ -385,16 +385,16 @@ msgstr[1] "znaka"
385
  msgstr[2] "znaki"
386
  msgstr[3] "znakov"
387
 
388
- #: ad-inserter.php:2648
389
  msgid "Header code"
390
  msgstr "Koda v glavi"
391
 
392
- #: ad-inserter.php:2648
393
  msgctxt "Header code"
394
  msgid "DISABLED"
395
  msgstr "ONEMOGOČENA"
396
 
397
- #: ad-inserter.php:2648 ad-inserter.php:2867
398
  msgid "character inserted"
399
  msgid_plural "characters inserted"
400
  msgstr[0] "znak vstavljen"
@@ -402,43 +402,43 @@ msgstr[1] "znaka vstavljena"
402
  msgstr[2] "znaki vstavljeni"
403
  msgstr[3] "znakov vstavljenih"
404
 
405
- #: ad-inserter.php:2681
406
  msgid "Automatically placed by AdSense Auto ads code"
407
  msgstr "Samodejno postavila koda za oglase AdSense Auto ads"
408
 
409
- #: ad-inserter.php:2867
410
  msgid "Footer code"
411
  msgstr "Koda v nogi"
412
 
413
- #: ad-inserter.php:2867
414
  msgctxt "Footer code"
415
  msgid "DISABLED"
416
  msgstr "ONEMOGOČENA"
417
 
418
- #: ad-inserter.php:2873
419
  msgid "JAVASCRIPT NOT WORKING"
420
  msgstr "JAVASCRIPT NE DELA"
421
 
422
- #: ad-inserter.php:2873
423
  msgid "NO JAVASCRIPT ERRORS"
424
  msgstr "BREZ JAVASCRIPT NAPAK"
425
 
426
- #: ad-inserter.php:2873
427
  msgid "JAVASCRIPT ERRORS"
428
  msgstr "JAVASCRIPT NAPAKE"
429
 
430
  #. translators: block name (block with default settings)
431
- #: ad-inserter.php:4922
432
  msgctxt "Block name"
433
  msgid "Default"
434
  msgstr "Privzeti"
435
 
436
  #. translators: %s: Ad Inserter
437
- #: ad-inserter.php:5493
438
  msgid "Error importing %s settings."
439
  msgstr "Napaka pri uvozu %s nastavitev."
440
 
441
- #: ad-inserter.php:5494
442
  msgid "Error importing settings for block"
443
  msgid_plural "Error importing settings for blocks:"
444
  msgstr[0] "Napaka pri uvozu nastavitev za blok"
@@ -446,15 +446,15 @@ msgstr[1] "Napaka pri uvozu nastavitev za bloka:"
446
  msgstr[2] "Napaka pri uvozu nastavitev za bloke:"
447
  msgstr[3] "Napaka pri uvozu nastavitev za bloke:"
448
 
449
- #: ad-inserter.php:5543
450
  msgid "Settings saved."
451
  msgstr "Nastavitve shranjene."
452
 
453
- #: ad-inserter.php:5628
454
  msgid "Settings cleared."
455
  msgstr "Nastavitve ponastavljene."
456
 
457
- #: ad-inserter.php:5972 ad-inserter.php:5974 ad-inserter.php:5997
458
  msgid "word"
459
  msgid_plural "words"
460
  msgstr[0] "beseda"
@@ -462,38 +462,38 @@ msgstr[1] "besedi"
462
  msgstr[2] "besede"
463
  msgstr[3] "besed"
464
 
465
- #: ad-inserter.php:6013 ad-inserter.php:6125
466
  msgid "HTML TAGS REMOVED"
467
  msgstr "HTML ZNAČKE ODSTRANJENE"
468
 
469
- #: ad-inserter.php:6201
470
  msgid "BEFORE COMMENTS"
471
  msgstr "PRED KOMENTARJI"
472
 
473
- #: ad-inserter.php:6309
474
  msgid "AFTER COMMENTS"
475
  msgstr "PO KOMETARJIH"
476
 
477
- #: ad-inserter.php:6372
478
  msgid "BETWEEN COMMENTS"
479
  msgstr "MED KOMENTARJI"
480
 
481
- #: ad-inserter.php:7404
482
  msgid "requires WordPress 4.0 or newer"
483
  msgstr "potrebuje WordPress 4.0 ali novejši"
484
 
485
- #: ad-inserter.php:7404
486
  msgid "Please update!"
487
  msgstr "Prosimo, posodobite!"
488
 
489
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
490
  #. name with HTML tags will be added)
491
- #: ad-inserter.php:7627
492
  msgid "Thank you for installing"
493
  msgstr "Hvala za namestitev vtičnika"
494
 
495
  #. translators: Opt-in message: %s: HTML tags
496
- #: ad-inserter.php:7629
497
  msgid ""
498
  "We would like to %s track its usage %s on your site. This is completely "
499
  "optional and can be disabled at any time."
@@ -501,7 +501,7 @@ msgstr ""
501
  "Radi bi %s sledili njegovi uporabi %s na vašem spletnem mestu. To je povsem "
502
  "izbirno in se lahko izključi kadarkoli."
503
 
504
- #: ad-inserter.php:7631
505
  msgid ""
506
  "We don't record any sensitive data, only information regarding the WordPress "
507
  "environment and plugin usage, which will help us to make improvements to the "
@@ -511,7 +511,7 @@ msgstr ""
511
  "uporabe vtičnika, kar nam bo omogočilo izdelavo izboljšav za vtičnik."
512
 
513
  #. translators: Deactivation message: %s: HTML tags
514
- #: ad-inserter.php:7668
515
  msgid ""
516
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
517
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
@@ -522,49 +522,49 @@ msgstr ""
522
  "nam %s in poskušali vam bomo pomagati."
523
 
524
  #. translators: %s: Ad Inserter
525
- #: ad-inserter.php:7711
526
  msgid "%s block."
527
  msgstr "%s blok."
528
 
529
  #. translators: widget title
530
- #: ad-inserter.php:7727 ad-inserter.php:7763
531
  msgid "Processing log"
532
  msgstr "Dnevnik procesiranja"
533
 
534
  #. translators: widget title
535
- #: ad-inserter.php:7729 ad-inserter.php:7764
536
  msgid "Dummy widget"
537
  msgstr "Prazen gradnik"
538
 
539
  #. translators: widget title
540
- #: ad-inserter.php:7731 ad-inserter.php:7762
541
  msgid "Debugging tools"
542
  msgstr "Orodja za razhroščevanje"
543
 
544
  #. translators: block status (widget title)
545
- #: ad-inserter.php:7738
546
  msgctxt "block"
547
  msgid "PAUSED"
548
  msgstr "USTAVLJEN"
549
 
550
- #: ad-inserter.php:7739
551
  msgid "WIDGET DISABLED"
552
  msgstr "GRADNIK ONEMOGOČEN"
553
 
554
- #: ad-inserter.php:7740
555
  msgid "Unknown block"
556
  msgstr "Neznan blok"
557
 
558
- #: ad-inserter.php:7749 includes/functions.php:2507 settings.php:1033
559
  msgid "Title"
560
  msgstr "Naslov"
561
 
562
- #: ad-inserter.php:7771
563
  msgctxt "Widget"
564
  msgid "Sticky"
565
  msgstr "Lepljiv"
566
 
567
- #: ad-inserter.php:7820
568
  msgid ""
569
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
570
  "Inserter you need to first deactivate Ad Inserter Pro."
@@ -573,7 +573,7 @@ msgstr ""
573
  "aktiven! Za aktivacijo vtičnika Ad Inserter morate najprej onemogočiti Ad "
574
  "Inserter Pro."
575
 
576
- #: ad-inserter.php:7821
577
  msgid ""
578
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
579
  "will clear all settings that are available only in the Pro version "
@@ -584,130 +584,130 @@ msgstr ""
584
  "različici (dodatne nastavitve blokov in vtičnika)!"
585
 
586
  #. translators: %s: Ad Inserter
587
- #: class.php:452 class.php:461 class.php:464
588
  msgid "PHP error in %s block"
589
  msgstr "PHP napaka v bloku %s"
590
 
591
- #: class.php:1892
592
  msgid "Counters"
593
  msgstr "Števci"
594
 
595
- #: class.php:1896
596
  msgid "Content"
597
  msgstr "Vsebina"
598
 
599
- #: class.php:1901
600
  msgid "Excerpt"
601
  msgstr "Izvleček"
602
 
603
- #: class.php:1906 strings.php:17
604
  msgid "Before post"
605
  msgstr "Pred prispevkom"
606
 
607
- #: class.php:1911 strings.php:18
608
  msgid "After post"
609
  msgstr "Za prispevkom"
610
 
611
- #: class.php:1916 settings.php:1619 settings.php:3344
612
  msgid "Widget"
613
  msgstr "Gradnik"
614
 
615
- #: class.php:1921 settings.php:3342
616
  msgid "PHP function call"
617
  msgstr "Klic PHP funkcije"
618
 
619
- #: class.php:1956
620
  msgid "AJAX REQUEST"
621
  msgstr "AJAX ZAHTEVEK"
622
 
623
- #: class.php:1959
624
  msgid "Ajax request for block in iframe"
625
  msgstr "Ajax zahtevek za blok v iframe-u"
626
 
627
- #: class.php:1978
628
  msgid "Ajax request url, click to open it in a new tab"
629
  msgstr "Url Ajax zahtevka, kliknite, da ga odprete v novem zavihku"
630
 
631
- #: class.php:1981
632
  msgid "IN THE LOOP"
633
  msgstr "V ZANKI"
634
 
635
- #: class.php:1981
636
  msgid "YES"
637
  msgstr "DA"
638
 
639
- #: class.php:1981
640
  msgid "NO"
641
  msgstr "NE"
642
 
643
- #: class.php:2017
644
  msgid "BLOCK"
645
  msgstr "BLOK"
646
 
647
- #: class.php:2017
648
  msgctxt "block or widget"
649
  msgid "INSERTED BUT NOT VISIBLE"
650
  msgstr "VSTAVLJEN, VENDAR NI VIDEN"
651
 
652
  #. translators: %s: list parameters and type
653
- #: class.php:2410
654
  msgid "parameters='%s' type='%s'"
655
  msgstr "parametri='%s' tip='%s'"
656
 
657
  #. translators: %s: list parameters and type
658
- #: class.php:2412
659
  msgid "referers='%s' type='%s'"
660
  msgstr "napotitelji='%s' tip='%s'"
661
 
662
  #. translators: %s: list parameters and type
663
- #: class.php:2473
664
  msgid "countries='%s' type='%s'"
665
  msgstr "države='%s' tip='%s'"
666
 
667
  #. translators: %s: list parameters and type
668
- #: class.php:2475
669
  msgid "ip addresses='%s' type='%s'"
670
  msgstr "ip naslovi='%s' tip='%s'"
671
 
672
- #: class.php:2687 strings.php:222
673
  msgid "BEFORE"
674
  msgstr "PRED"
675
 
676
- #: class.php:2695 strings.php:224
677
  msgid "PREPEND CONTENT"
678
  msgstr "DODAJ PRED VSEBINO"
679
 
680
- #: class.php:2699 strings.php:225
681
  msgid "APPEND CONTENT"
682
  msgstr "DODAJ ZA VSEBINO"
683
 
684
- #: class.php:2703 strings.php:226
685
  msgid "REPLACE CONTENT"
686
  msgstr "NADOMESTI VSEBINO"
687
 
688
- #: class.php:2707 strings.php:227
689
  msgid "REPLACE ELEMENT"
690
  msgstr "NADOMESTI ELEMENT"
691
 
692
- #: class.php:2718 strings.php:223
693
  msgid "AFTER"
694
  msgstr "ZA"
695
 
696
- #: class.php:2785
697
  msgctxt "JavaScript"
698
  msgid "script"
699
  msgstr "skripta"
700
 
701
- #: class.php:2788 settings.php:1888
702
  msgid "for"
703
  msgstr "za"
704
 
705
- #: class.php:5308 class.php:5360
706
  msgctxt "category name"
707
  msgid "Uncategorized"
708
  msgstr "Nekategorizirano"
709
 
710
- #: class.php:5849
711
  msgid ""
712
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
713
  "extension for PHP."
@@ -716,16 +716,16 @@ msgstr ""
716
  "namestiti DOM razširitev za PHP."
717
 
718
  #: includes/editor.php:7 includes/placeholders.php:345
719
- #: includes/preview.php:1778 strings.php:229
720
  msgid "Use"
721
  msgstr "Uporabi"
722
 
723
- #: includes/editor.php:8 includes/preview.php:1779
724
  msgid "Reset"
725
  msgstr "Ponastavi"
726
 
727
  #: includes/editor.php:9 includes/placeholders.php:347
728
- #: includes/preview.php:1781 strings.php:196 strings.php:228
729
  msgid "Cancel"
730
  msgstr "Prekliči"
731
 
@@ -734,7 +734,7 @@ msgid "Visual Code Editor"
734
  msgstr "Vizualni Urejevalnik Kode"
735
 
736
  #: includes/editor.php:262 includes/preview-adb.php:289
737
- #: includes/preview.php:1768
738
  msgid ""
739
  "This page was not loaded properly. Please check browser, plugins and ad "
740
  "blockers."
@@ -747,33 +747,33 @@ msgid "Error loading page"
747
  msgstr "Napaka pri nalaganju strani"
748
 
749
  #: includes/editor.php:264 includes/preview-adb.php:291
750
- #: includes/preview.php:1770
751
  msgid "PAGE BLOCKED"
752
  msgstr "STRAN BLOKIRANA"
753
 
754
- #: includes/functions.php:253
755
  msgid "%d of %d names shown"
756
  msgstr "Prikazanih %d od %d imen"
757
 
758
  #. translators: %s: name filter
759
- #: includes/functions.php:272
760
  msgid "No name matches filter"
761
  msgstr "Noben podatek ne ustreza filtru"
762
 
763
- #: includes/functions.php:328 settings.php:174
764
  msgid "Online documentation"
765
  msgstr "Spletna Dokumentacija"
766
 
767
- #: includes/functions.php:328 settings.php:174
768
  msgid "Documentation"
769
  msgstr "Dokumentacija"
770
 
771
- #: includes/functions.php:341 settings.php:187
772
  msgid "Blocks"
773
  msgstr "Bloki"
774
 
775
  #. translators: %s: Ad Inserter Pro
776
- #: includes/functions.php:364
777
  msgid ""
778
  "Import %s settings when saving - if checked, the encoded settings below will "
779
  "be imported for all blocks and settings"
@@ -781,35 +781,35 @@ msgstr ""
781
  "Uvozi %s nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
782
  "nastavitve spodaj uvozile za vse bloke in nastavitve"
783
 
784
- #: includes/functions.php:364
785
  msgid "Import Settings for"
786
  msgstr "Uvozi Nastavitve za"
787
 
788
- #: includes/functions.php:368
789
  msgid "Saved settings for"
790
  msgstr "Shranjene nastavitve za"
791
 
792
- #: includes/functions.php:387
793
  msgid "License Key"
794
  msgstr "Licenčni Ključ"
795
 
796
- #: includes/functions.php:390
797
  msgid "License Key for"
798
  msgstr "Licenčni Ključ za"
799
 
800
- #: includes/functions.php:396
801
  msgid "Hide license key"
802
  msgstr "Skrij licenčni ključ"
803
 
804
- #: includes/functions.php:396
805
  msgid "Hide key"
806
  msgstr "Skrij ključ"
807
 
808
- #: includes/functions.php:417
809
  msgid "Main content element"
810
  msgstr "Glavni element vsebine"
811
 
812
- #: includes/functions.php:420
813
  msgid ""
814
  "Main content element (#id or .class) for 'Stick to the content' position. "
815
  "Leave empty unless position is not properly calculated."
@@ -817,62 +817,66 @@ msgstr ""
817
  "Glavni element vsebine (#id ali .razred) za položaj 'Lepljiv na vsebino'. "
818
  "Pustite prazno razen v primeru, ko položaj ni pravilno izračunan."
819
 
820
- #: includes/functions.php:421 settings.php:1189 settings.php:2444
821
  msgid "Open HTML element selector"
822
  msgstr "Odpri izbirnik HTML elementa"
823
 
824
- #: includes/functions.php:426
825
  msgid "Lazy loading offset"
826
  msgstr "Zamik za leno nalaganje"
827
 
828
- #: includes/functions.php:429
829
  msgid "Offset of the block from the visible viewport when it should be loaded"
830
  msgstr "Zamik bloka od vidnega pogleda, ko bi ta moral biti naložen"
831
 
832
- #: includes/functions.php:440
833
  msgid "Export / Import Block Settings"
834
  msgstr "Izvozi / Uvozi Nastavitve Bloka"
835
 
836
- #: includes/functions.php:455
837
  msgid "Track impressions and clicks for this block"
838
  msgstr "Sledi prikazom in klikom za ta blok"
839
 
840
- #: includes/functions.php:455
841
  msgid " - global tracking disabled"
842
  msgstr " - globalno sledenje onemogočeno"
843
 
844
- #: includes/functions.php:464
 
 
 
 
845
  msgid "Toggle Ad Blocking Statistics"
846
  msgstr "Preklopi Statistiko Blokiranja Oglasov"
847
 
848
- #: includes/functions.php:473 includes/functions.php:2377
849
  msgid "Toggle Statistics"
850
  msgstr "Preklopi Statistiko"
851
 
852
  #. translators: %s: Ad Inserter Pro
853
- #: includes/functions.php:489
854
  msgid "%s license key is not set. Continue?"
855
  msgstr "%s licenčni ključ ni nastavljen. Nadaljujem?"
856
 
857
  #. translators: %s: Ad Inserter Pro
858
- #: includes/functions.php:493
859
  msgid "Invalid %s license key. Continue?"
860
  msgstr "Neveljaven %s licenčni ključ. Nadaljujem?"
861
 
862
  #. translators: %s: Ad Inserter Pro
863
- #: includes/functions.php:497
864
  msgid "%s license overused. Continue?"
865
  msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
866
 
867
- #: includes/functions.php:501 settings.php:1958
868
  msgid "Save Settings"
869
  msgstr "Sharani Nastavitve"
870
 
871
- #: includes/functions.php:561 includes/preview.php:1913
872
  msgid "Horizontal position"
873
  msgstr "Vodoravni položaj"
874
 
875
- #: includes/functions.php:584
876
  msgid ""
877
  "Horizontal margin from the content or screen edge, empty means default value "
878
  "from CSS"
@@ -880,11 +884,11 @@ msgstr ""
880
  "Vodoravni odmik od vsebine ali roba zaslona, prazno pomeni privzeta vrednost "
881
  "iz CSS"
882
 
883
- #: includes/functions.php:592 includes/preview.php:1968
884
  msgid "Vertical position"
885
  msgstr "Navpični položaj"
886
 
887
- #: includes/functions.php:607
888
  msgid ""
889
  "Vertical margin from the top or bottom screen edge, empty means default "
890
  "value from CSS"
@@ -892,15 +896,15 @@ msgstr ""
892
  "Navpični odmik od roba vrha ali dna zaslona, prazno pomeni privzeta vrednost "
893
  "iz CSS"
894
 
895
- #: includes/functions.php:632 includes/preview.php:2019
896
  msgid "Animation"
897
  msgstr "Animacija"
898
 
899
- #: includes/functions.php:650
900
  msgid "Trigger"
901
  msgstr "Sporžilec"
902
 
903
- #: includes/functions.php:659
904
  msgid ""
905
  "Trigger value: page scroll in %, page scroll in px or element with selector "
906
  "(#id or .class) becomes visible"
@@ -908,44 +912,44 @@ msgstr ""
908
  "Sprožilna vrednost: pomik strani v %, pomik strani v px ali element s "
909
  "selektorjem (#id ali .razred) postane viden"
910
 
911
- #: includes/functions.php:663
912
  msgid "Offset"
913
  msgstr "Zamik"
914
 
915
- #: includes/functions.php:663
916
  msgid "Offset of trigger element"
917
  msgstr "Zamik sprožilnega elementa"
918
 
919
- #: includes/functions.php:667
920
  msgid "Delay"
921
  msgstr "Zakasnitev"
922
 
923
- #: includes/functions.php:667
924
  msgid "Delay animation after trigger condition"
925
  msgstr "Zakasni animacijo po izpolnitvi pogoja sprožilca"
926
 
927
- #: includes/functions.php:671
928
  msgid "Trigger once"
929
  msgstr "Sproži enkrat"
930
 
931
- #: includes/functions.php:673
932
  msgid "Trigger animation only once"
933
  msgstr "Sproži animacijo samo enkrat"
934
 
935
- #: includes/functions.php:712
936
  msgid "Tracking is globally disabled"
937
  msgstr "Sledenje je globalno onemogočeno"
938
 
939
- #: includes/functions.php:716
940
  msgid "Tracking for this block is disabled"
941
  msgstr "Sledenje za ta blok je onemogočeno"
942
 
943
- #: includes/functions.php:726 settings.php:3105 settings.php:3141
944
- #: strings.php:206
945
  msgid "Loading..."
946
  msgstr "Nalagam..."
947
 
948
- #: includes/functions.php:742
949
  msgid ""
950
  "Clear statistics data for the selected range - clear both dates to delete "
951
  "all data for this block"
@@ -953,59 +957,59 @@ msgstr ""
953
  "Pobriši podatke o statistiki za izbrano obdobje - pobriši oba datuma za "
954
  "brisanje vseh podatkov za ta blok"
955
 
956
- #: includes/functions.php:746
957
  msgid "Auto refresh data for the selected range every 60 seconds"
958
  msgstr "Samodejna osvežitev podatkov za izbrano obdobje vsakih 60 sekund"
959
 
960
- #: includes/functions.php:749
961
  msgid "Load data for last month"
962
  msgstr "Naloži podatke za zadnji mesec"
963
 
964
- #: includes/functions.php:749
965
  msgid "Last Month"
966
  msgstr "Zadnji Mesec"
967
 
968
- #: includes/functions.php:752
969
  msgid "Load data for this month"
970
  msgstr "Naloži podatke za ta mesec"
971
 
972
- #: includes/functions.php:752
973
  msgid "This Month"
974
  msgstr "Ta Mesec"
975
 
976
- #: includes/functions.php:755
977
  msgid "Load data for this year"
978
  msgstr "Naloži podatke za to leto"
979
 
980
- #: includes/functions.php:755
981
  msgid "This Year"
982
  msgstr "To Leto"
983
 
984
- #: includes/functions.php:758
985
  msgid "Load data for the last 15 days"
986
  msgstr "Naloži podatke za zadnjih 15 dni"
987
 
988
- #: includes/functions.php:761
989
  msgid "Load data for the last 30 days"
990
  msgstr "Naloži podatke za zadnjih 30 dni"
991
 
992
- #: includes/functions.php:764
993
  msgid "Load data for the last 90 days"
994
  msgstr "Naloži podatke za zadnjih 90 dni"
995
 
996
- #: includes/functions.php:767
997
  msgid "Load data for the last 180 days"
998
  msgstr "Naloži podatke za zadnjih 180 dni"
999
 
1000
- #: includes/functions.php:770
1001
  msgid "Load data for the last 365 days"
1002
  msgstr "Naloži podatke za zadnjih 365 dni"
1003
 
1004
- #: includes/functions.php:780
1005
  msgid "Load data for the selected range"
1006
  msgstr "Naloži podatke za izbrano obdobje"
1007
 
1008
- #: includes/functions.php:796
1009
  msgid ""
1010
  "Import settings when saving - if checked, the encoded settings below will be "
1011
  "imported for this block"
@@ -1013,11 +1017,11 @@ msgstr ""
1013
  "Uvozi nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
1014
  "nastavitve spodaj uvozile za ta blok"
1015
 
1016
- #: includes/functions.php:796
1017
  msgid "Import settings for block"
1018
  msgstr "Uvozi nastavitve za blok"
1019
 
1020
- #: includes/functions.php:800
1021
  msgid ""
1022
  "Import block name when saving - if checked and 'Import settings for block' "
1023
  "is also checked, the name from encoded settings below will be imported for "
@@ -1027,41 +1031,41 @@ msgstr ""
1027
  "nastavitve za blok' odkljukano, se bo ime iz kodiranih nastavitev spodaj "
1028
  "uvozilo za ta blok"
1029
 
1030
- #: includes/functions.php:800
1031
  msgid "Import block name"
1032
  msgstr "Uvozi ime bloka"
1033
 
1034
- #: includes/functions.php:804
1035
  msgid "Saved settings for block"
1036
  msgstr "Shranjene nastavitve za blok"
1037
 
1038
- #: includes/functions.php:817
1039
  msgid "Export / Import Ad Inserter Pro Settings"
1040
  msgstr "Izvozi / Uvozi Ad Inserter Pro Nastavitve"
1041
 
1042
- #: includes/functions.php:826
1043
  msgid "Are you sure you want to clear all statistics data for all blocks?"
1044
  msgstr ""
1045
  "Ali ste prepričani, da želite pobrisati vse podatke o statistiki za vse "
1046
  "bloke?"
1047
 
1048
- #: includes/functions.php:828
1049
  msgid "Clear All Statistics Data"
1050
  msgstr "Pobriši Vse Podatke o Statistiki"
1051
 
1052
- #: includes/functions.php:854
1053
  msgid "Toggle country/city editor"
1054
  msgstr "Preklopi urejevalnik držav/mest"
1055
 
1056
- #: includes/functions.php:860
1057
  msgid "IP Addresses"
1058
  msgstr "IP Naslovi"
1059
 
1060
- #: includes/functions.php:863
1061
  msgid "Toggle IP address editor"
1062
  msgstr "Preklopi urejevalnik IP nslovov"
1063
 
1064
- #: includes/functions.php:866
1065
  msgid ""
1066
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1067
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
@@ -1069,48 +1073,48 @@ msgstr ""
1069
  "Z vejico ločeni IP naslovi, uporabite lahko tudi delne IP naslove z * (ip-"
1070
  "naslov-začetek*. *ip-naslov-vzorec*, *ip-naslov-konec)"
1071
 
1072
- #: includes/functions.php:870
1073
  msgid "Blacklist IP addresses"
1074
  msgstr "Črni seznam IP naslovov"
1075
 
1076
- #: includes/functions.php:874
1077
  msgid "Whitelist IP addresses"
1078
  msgstr "Beli seznam IP naslovov"
1079
 
1080
- #: includes/functions.php:885
1081
  msgid "Countries"
1082
  msgstr "Države"
1083
 
1084
- #: includes/functions.php:886
1085
  msgid "Cities"
1086
  msgstr "Mesta"
1087
 
1088
- #: includes/functions.php:890 includes/functions.php:2337
1089
  msgid "Toggle country editor"
1090
  msgstr "Preklopi urejevalnik držav"
1091
 
1092
- #: includes/functions.php:893
1093
  msgid "Toggle city editor"
1094
  msgstr "Preklopi urejevalnik mest"
1095
 
1096
- #: includes/functions.php:897 includes/functions.php:2340
1097
  msgid "Comma separated country ISO Alpha-2 codes"
1098
  msgstr "Z vejico ločene ISO Alpha-2 kode držav"
1099
 
1100
- #: includes/functions.php:901
1101
  msgid "Blacklist countries"
1102
  msgstr "Črni seznam držav"
1103
 
1104
- #: includes/functions.php:905
1105
  msgid "Whitelist countries"
1106
  msgstr "Beli seznam držav"
1107
 
1108
- #: includes/functions.php:1215 includes/functions.php:1425
1109
  msgid "Enter license key"
1110
  msgstr "Vnesite licenčni ključ"
1111
 
1112
  #. translators: %s: Ad Inserter Pro
1113
- #: includes/functions.php:1221
1114
  msgid ""
1115
  "%s license key is not set. Plugin functionality is limited and updates are "
1116
  "disabled."
@@ -1118,36 +1122,36 @@ msgstr ""
1118
  "%s licenčni ključ ni vnešen. Funkcionalnosti vtičnika so omejene in "
1119
  "posodobitve onemogočene."
1120
 
1121
- #: includes/functions.php:1230 includes/functions.php:1434
1122
  msgid "Check license key"
1123
  msgstr "Preverite licenčni ključ"
1124
 
1125
  #. translators: %s: Ad Inserter Pro
1126
- #: includes/functions.php:1236
1127
  msgid "Invalid %s license key."
1128
  msgstr "Neveljaven %s licenčni ključ."
1129
 
1130
  #. translators: %s: Ad Inserter Pro
1131
- #: includes/functions.php:1245
1132
  msgid "%s license expired. Plugin updates are disabled."
1133
  msgstr "%s licenca je potekla. Posodobitve vtičnika so onemogočene."
1134
 
1135
- #: includes/functions.php:1246
1136
  msgid "Renew license"
1137
  msgstr "Obnovite licenco"
1138
 
1139
  #. translators: %s: Ad Inserter Pro
1140
- #: includes/functions.php:1254
1141
  msgid "%s license overused. Plugin updates are disabled."
1142
  msgstr ""
1143
  "%s licenca je prekomerno uporabljena. Posodobitve vtičnika so onemogočene."
1144
 
1145
- #: includes/functions.php:1255
1146
  msgid "Upgrade license"
1147
  msgstr "Nadgradite licenco"
1148
 
1149
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1150
- #: includes/functions.php:1427
1151
  msgid ""
1152
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1153
  "limited and updates are disabled."
@@ -1156,12 +1160,12 @@ msgstr ""
1156
  "so omejene in posodobitve onemogočene."
1157
 
1158
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1159
- #: includes/functions.php:1436
1160
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1161
  msgstr "%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ."
1162
 
1163
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1164
- #: includes/functions.php:1450
1165
  msgid ""
1166
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1167
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
@@ -1171,7 +1175,7 @@ msgstr ""
1171
  "pogrešate. %3$s"
1172
 
1173
  #. translators: 1, 3: HTML tags, 2: percentage
1174
- #: includes/functions.php:1457
1175
  msgid ""
1176
  "During the license period and 30 days after the license has expired we offer "
1177
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
@@ -1179,16 +1183,16 @@ msgstr ""
1179
  "V obdobju licence in 30 dni po tem, ko licenca poteče, vam ponujamo %1$s "
1180
  "%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
1181
 
1182
- #: includes/functions.php:1480
1183
  msgid "Renew the licence"
1184
  msgstr "Obnovi licenco"
1185
 
1186
- #: includes/functions.php:1482
1187
  msgid "Update license status"
1188
  msgstr "Posodobi status licence"
1189
 
1190
  #. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
1191
- #: includes/functions.php:1493
1192
  msgid ""
1193
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1194
  "Upgrade license %5$s"
@@ -1197,95 +1201,95 @@ msgstr ""
1197
  "vtičnika so onemogočene. %4$s Nadgradite licenco %5$s"
1198
 
1199
  #. Translators: %s: HTML tag
1200
- #: includes/functions.php:1513
1201
  msgid "Warning: %s MaxMind IP geolocation database not found."
1202
  msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
1203
 
1204
- #: includes/functions.php:1977
1205
  msgid "Geolocation"
1206
  msgstr "Geolokacija"
1207
 
1208
- #: includes/functions.php:1981
1209
  msgid "Exceptions"
1210
  msgstr "Izjeme"
1211
 
1212
- #: includes/functions.php:1986
1213
  msgid "Multisite"
1214
  msgstr "Multisite"
1215
 
1216
- #: includes/functions.php:1991
1217
  msgid "Tracking"
1218
  msgstr "Sledenje"
1219
 
1220
  #. translators: %d: days, hours, minutes
1221
- #: includes/functions.php:2022
1222
  msgid "Scheduled in %d days %d hours %d minutes"
1223
  msgstr "Planirano v %d dneh %d urah %d minutah"
1224
 
1225
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1226
  #. HTML code for long dash separator
1227
- #: includes/functions.php:2031
1228
  msgid "Active %s expires in %d days %d hours %d minutes"
1229
  msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
1230
 
1231
- #: includes/functions.php:2035
1232
  msgid "Expired"
1233
  msgstr "Poteklo"
1234
 
1235
- #: includes/functions.php:2043 settings.php:1272 settings.php:1287
1236
  #: settings.php:1874
1237
  msgid "and"
1238
  msgstr "in"
1239
 
1240
- #: includes/functions.php:2046
1241
  msgid "fallback"
1242
  msgstr "rezerva"
1243
 
1244
- #: includes/functions.php:2047
1245
  msgid "Block to be used when scheduling expires"
1246
  msgstr "Blok, ki se bo uporabil, ko urnik poteče"
1247
 
1248
- #: includes/functions.php:2072
1249
  msgid "Load in iframe"
1250
  msgstr "Naloži v iframe-u"
1251
 
1252
- #: includes/functions.php:2076 includes/placeholders.php:382
1253
  msgid "Width"
1254
  msgstr "Širina"
1255
 
1256
- #: includes/functions.php:2077
1257
  msgid "iframe width, empty means full width (100%)"
1258
  msgstr "širina iframe-a, prazno pomeni polna širina (100%)"
1259
 
1260
- #: includes/functions.php:2083 includes/placeholders.php:377
1261
  msgid "Height"
1262
  msgstr "Višina"
1263
 
1264
- #: includes/functions.php:2084
1265
  msgid "iframe height, empty means adjust it to iframe content height"
1266
  msgstr ""
1267
  "Višina iframe-a, prazno pomeni poravnavo glede na višino vsebine iframe-a"
1268
 
1269
- #: includes/functions.php:2091
1270
  msgid "Ad label in iframe"
1271
  msgstr "Oznaka oglasa v iframe-u"
1272
 
1273
- #: includes/functions.php:2096
1274
  msgid "Preview iframe code"
1275
  msgstr "Predpreglej kodo iframe"
1276
 
1277
- #: includes/functions.php:2096 includes/preview.php:1790 settings.php:949
1278
  #: settings.php:2506
1279
  msgid "Preview"
1280
  msgstr "Predogled"
1281
 
1282
- #: includes/functions.php:2110 includes/functions.php:3465
1283
- #: includes/functions.php:3528 settings.php:1991
1284
  msgid "Ad Blocking"
1285
  msgstr "Blokiranje Oglasov"
1286
 
1287
  #. translators: 1, 2 and 3, 4: HTML tags
1288
- #: includes/functions.php:2119
1289
  msgid ""
1290
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1291
  "for tracking!"
@@ -1295,7 +1299,7 @@ msgstr ""
1295
 
1296
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1297
  #. header
1298
- #: includes/functions.php:2128
1299
  msgid ""
1300
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1301
  "enabled and automatic insertion %6$s!"
@@ -1303,49 +1307,49 @@ msgstr ""
1303
  "%1$s OPOZORILO: %2$s vertikalni položaj %3$s potrebuje %4$s Predpomnjenje "
1304
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1305
 
1306
- #: includes/functions.php:2146
1307
  msgid "When ad blocking is detected"
1308
  msgstr "Ko je blokiranje oglasov zaznano"
1309
 
1310
- #: includes/functions.php:2155
1311
  msgid "replacement"
1312
  msgstr "nadomestek"
1313
 
1314
- #: includes/functions.php:2156
1315
  msgid "Block to be shown when ad blocking is detected"
1316
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1317
 
1318
- #: includes/functions.php:2157
1319
  msgctxt "replacement"
1320
  msgid "None"
1321
  msgstr "Noben"
1322
 
1323
- #: includes/functions.php:2174
1324
  msgid "Close button"
1325
  msgstr "Gumb Zapri"
1326
 
1327
- #: includes/functions.php:2221
1328
  msgid "Lazy loading"
1329
  msgstr "Leno nalaganje"
1330
 
1331
  #. Translators: %s MaxMind
1332
- #: includes/functions.php:2272
1333
  msgid "This product includes GeoLite2 data created by %s"
1334
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1335
 
1336
- #: includes/functions.php:2283
1337
  msgid "IP geolocation database"
1338
  msgstr "Podatkovna baza za IP geolokacijo"
1339
 
1340
- #: includes/functions.php:2286
1341
  msgid "Select IP geolocation database."
1342
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1343
 
1344
- #: includes/functions.php:2297
1345
  msgid "Automatic database updates"
1346
  msgstr "Samodejna posodobitev podatkovne baze"
1347
 
1348
- #: includes/functions.php:2300
1349
  msgid ""
1350
  "Automatically download and update free GeoLite2 IP geolocation database by "
1351
  "MaxMind"
@@ -1353,11 +1357,11 @@ msgstr ""
1353
  "Samodejno prenesi in posodobi prostodostopno GeoLite2 IP geolokacijsko "
1354
  "podatkovno bazo MaxMind"
1355
 
1356
- #: includes/functions.php:2308
1357
  msgid "Database"
1358
  msgstr "Podatkovna baza"
1359
 
1360
- #: includes/functions.php:2311
1361
  msgid ""
1362
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1363
  "file"
@@ -1366,35 +1370,35 @@ msgstr ""
1366
  "podatkovne baze"
1367
 
1368
  #. translators: %d: group number
1369
- #: includes/functions.php:2329
1370
  msgid "Group %d"
1371
  msgstr "Skupina %d"
1372
 
1373
- #: includes/functions.php:2335
1374
  msgid "countries"
1375
  msgstr "države"
1376
 
1377
- #: includes/functions.php:2370
1378
  msgid "Enable tracking"
1379
  msgstr "Omogoči sledenje"
1380
 
1381
- #: includes/functions.php:2385
1382
  msgid "Impression and Click Tracking"
1383
  msgstr "Sledenje Prikazov in Klikov"
1384
 
1385
- #: includes/functions.php:2399
1386
  msgid "Internal"
1387
  msgstr "Notranje"
1388
 
1389
- #: includes/functions.php:2403
1390
  msgid "Track impressions and clicks with internal tracking and statistics"
1391
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1392
 
1393
- #: includes/functions.php:2408
1394
  msgid "External"
1395
  msgstr "Zunanje"
1396
 
1397
- #: includes/functions.php:2412
1398
  msgid ""
1399
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1400
  "code installed)"
@@ -1402,27 +1406,27 @@ msgstr ""
1402
  "Sledi prikazom in klikom z Google Analytics ali Matomo (potrebuje nameščeno "
1403
  "kodo za sledenje)"
1404
 
1405
- #: includes/functions.php:2417
1406
  msgid "Track Pageviews"
1407
  msgstr "Sledi Ogledom Strani"
1408
 
1409
- #: includes/functions.php:2423
1410
  msgid "Track Pageviews by Device (as configured for viewports)"
1411
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1412
 
1413
- #: includes/functions.php:2433
1414
  msgid "Track for Logged in Users"
1415
  msgstr "Sledi za Prijavljene Upor."
1416
 
1417
- #: includes/functions.php:2439
1418
  msgid "Track impressions and clicks from logged in users"
1419
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1420
 
1421
- #: includes/functions.php:2449
1422
  msgid "Click Detection"
1423
  msgstr "Zaznavanje klikov"
1424
 
1425
- #: includes/functions.php:2455
1426
  msgid ""
1427
  "Standard method detects clicks only on banners with links, Advanced method "
1428
  "can detect clicks on any kind of ads, but it is slightly less accurate"
@@ -1430,102 +1434,140 @@ msgstr ""
1430
  "Standardni način zazna klike samo na pasicah s povezavami, Napredni način "
1431
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1432
 
1433
- #: includes/functions.php:2494
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1434
  msgid "Are you sure you want to clear all exceptions for block"
1435
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
1436
 
1437
- #: includes/functions.php:2495 settings.php:1036
1438
  msgid "Clear all exceptions for block"
1439
  msgstr "Pobriši vse izjeme za blok"
1440
 
1441
- #: includes/functions.php:2502
1442
  msgid "Are you sure you want to clear all exceptions?"
1443
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
1444
 
1445
- #: includes/functions.php:2502
1446
  msgid "Clear all exceptions for all blocks"
1447
  msgstr "Pobriši vse izjeme za vse bloke"
1448
 
1449
- #: includes/functions.php:2507 settings.php:3414
1450
  msgid "Type"
1451
  msgstr "Vrsta"
1452
 
1453
- #: includes/functions.php:2525
1454
  msgid "View"
1455
  msgstr "Poglej"
1456
 
1457
- #: includes/functions.php:2526 includes/placeholders.php:346
1458
- #: includes/preview.php:2081 settings.php:1175
1459
  msgid "Edit"
1460
  msgstr "Uredi"
1461
 
1462
- #: includes/functions.php:2556
1463
  msgid "Are you sure you want to clear all exceptions for"
1464
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
1465
 
1466
- #: includes/functions.php:2557
1467
  msgid "Clear all exceptions for"
1468
  msgstr "Pobriši vse izjeme za"
1469
 
1470
- #: includes/functions.php:2570
1471
  msgid "No exceptions"
1472
  msgstr "Brez izjem"
1473
 
1474
  #. translators: %s: Ad Inserter Pro
1475
- #: includes/functions.php:2581
1476
  msgid "%s options for network blogs"
1477
  msgstr "%s izbire za omrežne bloge"
1478
 
1479
  #. translators: %s: Ad Inserter Pro
1480
- #: includes/functions.php:2586
1481
  msgid "Enable %s widgets for sub-sites"
1482
  msgstr "Omogoči %s gradnik za pod-spletišča"
1483
 
1484
- #: includes/functions.php:2586
1485
  msgid "Widgets"
1486
  msgstr "Gradniki"
1487
 
1488
- #: includes/functions.php:2591
1489
  msgid "Enable PHP code processing for sub-sites"
1490
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
1491
 
1492
- #: includes/functions.php:2591
1493
  msgid "PHP Processing"
1494
  msgstr "PHP Procesiranje"
1495
 
1496
  #. translators: %s: Ad Inserter Pro
1497
- #: includes/functions.php:2596
1498
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1499
  msgstr ""
1500
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
1501
 
1502
- #: includes/functions.php:2596
1503
  msgid "Post/Page exceptions"
1504
  msgstr "Izjeme prispevkov/strani"
1505
 
1506
  #. translators: %s: Ad Inserter Pro
1507
- #: includes/functions.php:2601
1508
  msgid "Enable %s settings page for sub-sites"
1509
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
1510
 
1511
- #: includes/functions.php:2601
1512
  msgid "Settings page"
1513
  msgstr "Stran z nastavitvami"
1514
 
1515
  #. translators: %s: Ad Inserter Pro
1516
- #: includes/functions.php:2606
1517
  msgid "Enable %s settings of main site to be used for all blogs"
1518
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
1519
 
1520
- #: includes/functions.php:2606
1521
  msgid "Main site settings used for all blogs"
1522
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
1523
 
1524
- #: includes/functions.php:2617 settings.php:2402
1525
  msgid "Ad Blocking Detection"
1526
  msgstr "Zaznavanje Blokiranja Oglasov"
1527
 
1528
- #: includes/functions.php:2623
1529
  msgid ""
1530
  "Standard method is reliable but should be used only if Advanced method does "
1531
  "not work. Advanced method recreates files used for detection with random "
@@ -1537,71 +1579,71 @@ msgstr ""
1537
  "imeni in mogoče ne bo deloval s skriptami v upload mapi, če ta ni javno "
1538
  "dostopna"
1539
 
1540
- #: includes/functions.php:3019 includes/functions.php:3109
1541
- #: includes/functions.php:3129
1542
  msgid "AD BLOCKING"
1543
  msgstr "BLOKIRANJE OGLASOV"
1544
 
1545
- #: includes/functions.php:3020 includes/functions.php:3060
1546
- #: includes/functions.php:3103 includes/functions.php:3130
1547
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1548
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
1549
 
1550
- #: includes/functions.php:3023 includes/functions.php:3102
1551
- #: includes/functions.php:3136
1552
  msgid "NO AD BLOCKING"
1553
  msgstr "NI BLOKIRANJA OGLASOV"
1554
 
1555
- #: includes/functions.php:3059 includes/functions.php:3066
1556
  msgid "AD BLOCKING REPLACEMENT"
1557
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
1558
 
1559
- #: includes/functions.php:3464
 
 
 
 
1560
  msgctxt "Version"
1561
  msgid "Unknown"
1562
  msgstr "Neznana"
1563
 
1564
- #: includes/functions.php:3464
1565
  msgctxt "Times"
1566
  msgid "DISPLAYED"
1567
  msgstr "PRIKAZANO"
1568
 
1569
- #: includes/functions.php:3464
1570
  msgid "No version"
1571
  msgstr "Brez različice"
1572
 
1573
- #: includes/functions.php:3465
1574
  msgctxt "Times"
1575
  msgid "BLOCKED"
1576
  msgstr "BLOKIRANO"
1577
 
1578
- #: includes/functions.php:3527
1579
- msgid "Pageviews"
1580
- msgstr "Ogledi strani"
1581
-
1582
- #: includes/functions.php:3527
1583
  msgid "Impressions"
1584
  msgstr "Prikazi"
1585
 
1586
- #: includes/functions.php:3528 includes/functions.php:3529
1587
- #: includes/functions.php:3537
1588
  msgid "Clicks"
1589
  msgstr "Kliki"
1590
 
1591
- #: includes/functions.php:3529
1592
  msgid "events"
1593
  msgstr "dogodki"
1594
 
1595
- #: includes/functions.php:3530
1596
  msgid "Ad Blocking Share"
1597
  msgstr "Delež blokiranja oglasov"
1598
 
1599
  #. translators: CTR as Click Through Rate
1600
- #: includes/functions.php:3530 includes/functions.php:3542
1601
  msgid "CTR"
1602
  msgstr "CTR"
1603
 
1604
- #: includes/functions.php:3624
1605
  msgid "pageviews"
1606
  msgid_plural "pageviews"
1607
  msgstr[0] "ogled strani"
@@ -1609,7 +1651,7 @@ msgstr[1] "ogleda strani"
1609
  msgstr[2] "ogledi strani"
1610
  msgstr[3] "ogledov strani"
1611
 
1612
- #: includes/functions.php:3624
1613
  msgid "impressions"
1614
  msgid_plural "impressions"
1615
  msgstr[0] "prikaz"
@@ -1617,7 +1659,7 @@ msgstr[1] "prikaza"
1617
  msgstr[2] "prikazi"
1618
  msgstr[3] "prikazov"
1619
 
1620
- #: includes/functions.php:3628
1621
  msgid "event"
1622
  msgid_plural "events"
1623
  msgstr[0] "dogodek"
@@ -1625,7 +1667,7 @@ msgstr[1] "dogodka"
1625
  msgstr[2] "dogodki"
1626
  msgstr[3] "dogodkov"
1627
 
1628
- #: includes/functions.php:3628
1629
  msgid "click"
1630
  msgid_plural "clicks"
1631
  msgstr[0] "klik"
@@ -1633,21 +1675,30 @@ msgstr[1] "klika"
1633
  msgstr[2] "kliki"
1634
  msgstr[3] "klikov"
1635
 
1636
- #: includes/functions.php:3696
1637
  msgctxt "Pageviews / Impressions"
1638
  msgid "Average"
1639
  msgstr "Povprečni"
1640
 
1641
- #: includes/functions.php:3714
1642
  msgctxt "Ad Blocking / Clicks"
1643
  msgid "Average"
1644
  msgstr "Povprečno"
1645
 
1646
- #: includes/functions.php:3731
1647
  msgctxt "Ad Blocking Share / CTR"
1648
  msgid "Average"
1649
  msgstr "Povprečni"
1650
 
 
 
 
 
 
 
 
 
 
1651
  #: includes/placeholders.php:19
1652
  msgid "Custom"
1653
  msgstr "Po meri"
@@ -1765,7 +1816,7 @@ msgstr "Dodaj testni odstavek"
1765
  msgid "Remove dummy paragraph"
1766
  msgstr "Odstrani testni odstavek"
1767
 
1768
- #: includes/preview-adb.php:9 includes/preview.php:1778
1769
  msgid "Use current settings"
1770
  msgstr "Uporabi trenutne nastavitve"
1771
 
@@ -1792,7 +1843,7 @@ msgctxt "Button"
1792
  msgid "Default"
1793
  msgstr "Privzeto"
1794
 
1795
- #: includes/preview-adb.php:12 includes/preview.php:1781
1796
  msgid "Close preview window"
1797
  msgstr "Zapri okno predogleda"
1798
 
@@ -1813,59 +1864,59 @@ msgstr "CSS sporočila"
1813
  msgid "Overlay CSS"
1814
  msgstr "CSS prevleke"
1815
 
1816
- #: includes/preview.php:144
1817
  msgid "Sticky Code Preview"
1818
  msgstr "Predogled Lepljive Kode"
1819
 
1820
- #: includes/preview.php:144
1821
  msgid "Code Preview"
1822
  msgstr "Predogled Kode"
1823
 
1824
- #: includes/preview.php:1776
1825
  msgid "Highlight inserted code"
1826
  msgstr "Označi vstavljeno kodo"
1827
 
1828
- #: includes/preview.php:1776
1829
  msgid "Highlight"
1830
  msgstr "Označi"
1831
 
1832
- #: includes/preview.php:1779
1833
  msgid "Reset to block settings"
1834
  msgstr "Ponastavi na nastavitve bloka"
1835
 
1836
- #: includes/preview.php:1794
1837
  msgid "AdSense ad unit"
1838
  msgstr "Oglasna enota AdSense"
1839
 
1840
- #: includes/preview.php:1836 includes/preview.php:1873
1841
  msgid "Code"
1842
  msgstr "Koda"
1843
 
1844
- #: includes/preview.php:1862
1845
  msgid "wrapping div"
1846
  msgstr "div za ovijanje"
1847
 
1848
- #: includes/preview.php:1867 includes/preview.php:1874
1849
  msgid "background"
1850
  msgstr "ozadje"
1851
 
1852
- #: includes/preview.php:1892 includes/preview.php:2038
1853
  msgid "Alignment and style"
1854
  msgstr "Poravnava in slog"
1855
 
1856
- #: includes/preview.php:1960
1857
  msgid "Horizontal margin"
1858
  msgstr "Vodoravni odmik"
1859
 
1860
- #: includes/preview.php:2009
1861
  msgid "Vertical margin"
1862
  msgstr "Navpični odmik"
1863
 
1864
- #: includes/preview.php:2031
1865
  msgid "Animate"
1866
  msgstr "Animiraj"
1867
 
1868
- #: includes/preview.php:2090
1869
  msgid ""
1870
  "This is a preview of the code between dummy paragraphs. Here you can test "
1871
  "various block alignments, visually edit margin and padding values of the "
@@ -1880,7 +1931,7 @@ msgstr ""
1880
  "označi ozadje, margin območje div-a za ovijanje in območje kode, gumb "
1881
  "Ponastavi pa vrne vse vrednosti na tiste od trenutnega bloka."
1882
 
1883
- #: includes/preview.php:2093
1884
  msgid ""
1885
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1886
  "code with the alignment and style as it is set for this block. Highlight "
@@ -1890,7 +1941,7 @@ msgstr ""
1890
  "poravnavo in slogom kot je nastavljen za ta blok. Gump Označi označi ozadje, "
1891
  "margin območje div-a za ovijanje in območje kode."
1892
 
1893
- #: includes/preview.php:2095
1894
  msgid ""
1895
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1896
  "code was loaded from your AdSense account. The ad block is displayed on a "
@@ -1902,7 +1953,7 @@ msgstr ""
1902
  "testnimi odstavki, zato je lahko prazen (brez oglasov). Kliknite na gumb "
1903
  "Označi za označitev bloka."
1904
 
1905
- #: includes/preview.php:2101
1906
  msgid ""
1907
  "You can resize the window (and refresh the page to reload ads) to check "
1908
  "display with different screen widths.\n"
@@ -1914,7 +1965,7 @@ msgstr ""
1914
  "Ko ste zadovoljni s poravnavo kliknite na gumb Uporabi in nastavitve se bodo "
1915
  "prenesle v aktivni blok."
1916
 
1917
- #: includes/preview.php:2103
1918
  msgid ""
1919
  "Please note that the code, block name, alignment and style are taken from "
1920
  "the current block settings (may not be saved).\n"
@@ -1927,9 +1978,9 @@ msgstr ""
1927
  "margin in padding ne morete nastaviti. Seveda pa lahko uporabite lastno HTML "
1928
  "kodo za blok."
1929
 
1930
- #: includes/preview.php:2108 includes/preview.php:2122
1931
- #: includes/preview.php:2132 includes/preview.php:2142
1932
- #: includes/preview.php:2152
1933
  msgid ""
1934
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1935
  "code with it's settings is called a block.\n"
@@ -1953,9 +2004,9 @@ msgstr ""
1953
  "številka pomeni, da blok uporablja ročno vstavljanje, medtem ko vijolična "
1954
  "številka pomeni, da blok uporablja samodejno in ročno vstavljanje."
1955
 
1956
- #: includes/preview.php:2113 includes/preview.php:2127
1957
- #: includes/preview.php:2137 includes/preview.php:2147
1958
- #: includes/preview.php:2157
1959
  msgid ""
1960
  "Few very important things you need to know in order to insert code and "
1961
  "display some ad:\n"
@@ -1978,7 +2029,7 @@ msgstr ""
1978
  "za posamezne izjeme. Uporabite privzeto prazno vrednost, razen, če "
1979
  "uporabljate posamezne izjeme za prispevke/strani."
1980
 
1981
- #: includes/preview.php:2119
1982
  msgid ""
1983
  "This is a preview of the code for sticky ads. Here you can test various "
1984
  "horizontal and vertical alignments, close button locations, visually edit "
@@ -3561,7 +3612,7 @@ msgid ""
3561
  msgstr ""
3562
  "Položaj ni na razpolago ker predpomnjenje izhoda (zavihek [*]) ni omogočeno"
3563
 
3564
- #: settings.php:3058 strings.php:214
3565
  msgid "Position not checked yet"
3566
  msgstr "Položaj še ni bil preverjen"
3567
 
@@ -3569,7 +3620,7 @@ msgstr "Položaj še ni bil preverjen"
3569
  msgid "Toggle active/all blocks"
3570
  msgstr "Preklopi aktive/vse bloke"
3571
 
3572
- #: settings.php:3093 strings.php:201
3573
  msgid "Rearrange block order"
3574
  msgstr "Preuredi vrstni red blokov"
3575
 
@@ -3593,7 +3644,7 @@ msgstr "Ponovno naloži oglasne enote AdSense"
3593
  msgid "Clear authorization to access AdSense account"
3594
  msgstr "Odstrani avtorizacijo za dostop do računa AdSense"
3595
 
3596
- #: settings.php:3135 settings.php:3500 settings.php:3567 strings.php:209
3597
  msgid "Google AdSense Homepage"
3598
  msgstr "Google AdSense Domača Stran"
3599
 
@@ -5000,39 +5051,47 @@ msgctxt "size"
5000
  msgid "Fixed by viewport"
5001
  msgstr "Fiksna glede na pogled"
5002
 
5003
- #: strings.php:181
 
 
 
 
 
 
 
 
5004
  msgctxt "Button"
5005
  msgid "Hide"
5006
  msgstr "Skrij"
5007
 
5008
- #: strings.php:182
5009
  msgctxt "Button"
5010
  msgid "Show"
5011
  msgstr "Pokaži"
5012
 
5013
- #: strings.php:183
5014
  msgid "Insertion expired"
5015
  msgstr "Vstavljanje poteklo"
5016
 
5017
- #: strings.php:184
5018
  msgid "Duration"
5019
  msgstr "Trajanje"
5020
 
5021
- #: strings.php:185
5022
  msgid "Invalid end date - must be after start date"
5023
  msgstr "Neveljaven končni datum - mora biti za začetnim datumom"
5024
 
5025
- #: strings.php:186
5026
  msgid "Invalid start date - only data for 1 year back is available"
5027
  msgstr "Neveljaven začetni datum - na voljo so samo pdatki za 1 leto nataj"
5028
 
5029
- #: strings.php:187
5030
  msgid "Invalid date range - only data for 1 year can be displayed"
5031
  msgstr ""
5032
  "Neveljavno časovno oddobje - prikažejo se lahko samo podatki za 1 leto nazaj"
5033
 
5034
- #: strings.php:188 strings.php:189 strings.php:190 strings.php:191
5035
- #: strings.php:192 strings.php:193
5036
  msgid "day"
5037
  msgid_plural "days"
5038
  msgstr[0] "dan"
@@ -5040,75 +5099,75 @@ msgstr[1] "dni"
5040
  msgstr[2] "dni"
5041
  msgstr[3] "dni"
5042
 
5043
- #: strings.php:194
5044
  msgid "Warning"
5045
  msgstr "Opozorilo"
5046
 
5047
- #: strings.php:195
5048
  msgid "Delete"
5049
  msgstr "Pobriši"
5050
 
5051
- #: strings.php:197
5052
  msgid "Delete all statistics data?"
5053
  msgstr "Pobrišem vse podatke o statistiki?"
5054
 
5055
  #. translators: %s: dates
5056
- #: strings.php:199
5057
  msgid "Delete statistics data between %s and %s?"
5058
  msgstr "Pobrišem podatke o statistiki med %s in %s?"
5059
 
5060
- #: strings.php:200
5061
  msgid "Cancel block order rearrangement"
5062
  msgstr "Prekliči preureditev vrstnega reda blokov"
5063
 
5064
- #: strings.php:202
5065
  msgid "downloading..."
5066
  msgstr "prenašam..."
5067
 
5068
- #: strings.php:203
5069
  msgid "download error"
5070
  msgstr "napaka pri prenosu"
5071
 
5072
- #: strings.php:204
5073
  msgid "update error"
5074
  msgstr "napaka pri posodobitvi"
5075
 
5076
- #: strings.php:205
5077
  msgid "Updating..."
5078
  msgstr "Posodabljam..."
5079
 
5080
- #: strings.php:207
5081
  msgid "ERROR"
5082
  msgstr "NAPAKA"
5083
 
5084
- #: strings.php:208
5085
  msgid "Error reloading settings"
5086
  msgstr "Napaka pri nalaganju nastavitev"
5087
 
5088
- #: strings.php:210
5089
  msgctxt "Search field placeholder"
5090
  msgid "Search..."
5091
  msgstr "Išči..."
5092
 
5093
- #: strings.php:211
5094
  msgctxt "Search field placeholder"
5095
  msgid "Filter..."
5096
  msgstr "Filter..."
5097
 
5098
- #: strings.php:212
5099
  msgid "Use filter to limit names in the list"
5100
  msgstr "Uporabite filter za omejitev imen v seznamu"
5101
 
5102
- #: strings.php:213
5103
  msgctxt "Button"
5104
  msgid "Filter"
5105
  msgstr "Filter"
5106
 
5107
- #: strings.php:215
5108
  msgid "Position not available"
5109
  msgstr "Položaj ni na razpolago"
5110
 
5111
- #: strings.php:216
5112
  msgid ""
5113
  "Theme check | Selected position for automatic insertion might not be not "
5114
  "available on this page type"
@@ -5116,52 +5175,60 @@ msgstr ""
5116
  "Preverjanje teme | Izbran položaj za samodejno vstavljanje mogoče ni na "
5117
  "razpolago na tem tipu strani"
5118
 
5119
- #: strings.php:217
5120
  msgid "Position available"
5121
  msgstr "Položaj na razpolago"
5122
 
5123
- #: strings.php:230
 
 
 
 
 
 
 
 
5124
  msgid "Add"
5125
  msgstr "Dodaj"
5126
 
5127
- #: strings.php:231
5128
  msgid "Parent"
5129
  msgstr "Starš"
5130
 
5131
- #: strings.php:232
5132
  msgid "Cancel element selection"
5133
  msgstr "Prekliči izbor HTML elementa"
5134
 
5135
- #: strings.php:233
5136
  msgid "Select parent element"
5137
  msgstr "Izberi starševski element"
5138
 
5139
- #: strings.php:234
5140
  msgid "CSS selector"
5141
  msgstr "CSS selektor"
5142
 
5143
- #: strings.php:235
5144
  msgid "Use current selector"
5145
  msgstr "Uporabi trenutni selektor"
5146
 
5147
- #: strings.php:236
5148
  msgid "ELEMENT"
5149
  msgstr "ELEMENT"
5150
 
5151
- #: strings.php:237
5152
  msgid "PATH"
5153
  msgstr "POT"
5154
 
5155
- #: strings.php:238
5156
  msgid "SELECTOR"
5157
  msgstr "SELEKTOR"
5158
 
5159
- #: strings.php:239
5160
  msgctxt "Block"
5161
  msgid "VISIBLE"
5162
  msgstr "VIDEN"
5163
 
5164
- #: strings.php:240
5165
  msgctxt "Block"
5166
  msgid "HIDDEN"
5167
  msgstr "SKRIT"
@@ -5174,6 +5241,9 @@ msgstr ""
5174
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
5175
  "na optimalna mesta"
5176
 
 
 
 
5177
  #~ msgid "Position not available on single pages"
5178
  #~ msgstr "Položaj ni na razpolago na enojnih straneh"
5179
 
4
  msgstr ""
5
  "Project-Id-Version: Ad Inserter 2.4.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
+ "POT-Creation-Date: 2019-02-02 16:01:49+00:00\n"
8
+ "PO-Revision-Date: 2019-02-02 17:02+0100\n"
9
  "Last-Translator: Igor Funa\n"
10
  "Language-Team: \n"
11
  "Language: sl_SI\n"
16
  "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n"
17
  "%100<=4 ? 2 : 3);\n"
18
 
19
+ #: ad-inserter.php:304
20
  msgctxt "Menu item"
21
  msgid "Debugging DEMO"
22
  msgstr "DEMO Razhroščevanje"
23
 
24
+ #: ad-inserter.php:320
25
  msgctxt "Menu item"
26
  msgid "Label Blocks"
27
  msgstr "Označi bloke"
28
 
29
+ #: ad-inserter.php:327
30
  msgctxt "Menu item"
31
  msgid "Show Positions"
32
  msgstr "Pokaži položaje"
33
 
34
+ #: ad-inserter.php:398
35
  msgctxt "Menu item"
36
  msgid "Show HTML Tags"
37
  msgstr "Pokaži HTML značke"
38
 
39
+ #: ad-inserter.php:405
40
  msgctxt "Menu item"
41
  msgid "Disable Insertion"
42
  msgstr "Onemogoči vstavljanje"
43
 
44
+ #: ad-inserter.php:414
45
  msgctxt "Menu item"
46
  msgid "Ad Blocking Status"
47
  msgstr "Status blokiranja oglasov"
48
 
49
+ #: ad-inserter.php:421
50
  msgctxt "Menu item"
51
  msgid "Simulate Ad Blocking"
52
  msgstr "Simuliraj blokiranje oglasov"
53
 
54
+ #: ad-inserter.php:431
55
  msgctxt "Menu item"
56
  msgid "Log Processing"
57
  msgstr "Beleži procesiranje"
58
 
59
  #. translators: Debugging position name Before HTML element
60
+ #: ad-inserter.php:987
61
  msgid "Before"
62
  msgstr "Pred"
63
 
64
  #. translators: Debugging position name After HTML element
65
+ #: ad-inserter.php:992
66
  msgid "After"
67
  msgstr "Za"
68
 
69
  #. translators: Debugging position name Prepend content of HTML element (before
70
  #. the content of the HTML element)
71
+ #: ad-inserter.php:997 strings.php:98
72
  msgid "Prepend content"
73
  msgstr "Dodaj pred vsebino"
74
 
75
  #. translators: Debugging position name Append content of HTML element (after
76
  #. the content of the HTML element)
77
+ #: ad-inserter.php:1002 strings.php:99
78
  msgid "Append content"
79
  msgstr "Dodaj za vsebino"
80
 
81
  #. translators: Debugging position name Replace content of HTML element
82
+ #: ad-inserter.php:1007 strings.php:100
83
  msgid "Replace content"
84
  msgstr "Nadomesti vsebino"
85
 
86
  #. translators: Debugging position name Replace HTML element
87
+ #: ad-inserter.php:1012 strings.php:150
88
  msgid "Replace"
89
  msgstr "Nadomesti"
90
 
91
  #. translators: Debugging message when output buffering is enabled
92
+ #: ad-inserter.php:1059
93
  msgid "OUTPUT BUFFERING"
94
  msgstr "PREDPOMNJENJE IZHODA"
95
 
96
  #. translators: Debugging position
97
+ #: ad-inserter.php:1063
98
  msgid "Above Header"
99
  msgstr "Nad Glavo"
100
 
101
+ #: ad-inserter.php:1268
102
  msgctxt "Menu item"
103
  msgid "Log In"
104
  msgstr "Prijava"
105
 
106
  #. translators: %s: Ad Inserter
107
+ #: ad-inserter.php:1543 ad-inserter.php:2406
108
  msgid "%s Settings"
109
  msgstr "%s Nastavitve"
110
 
111
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
112
+ #: ad-inserter.php:1977
113
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
114
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, OGLEDI STRANI"
115
 
116
+ #: ad-inserter.php:1977
117
  msgid "NO ACTION"
118
  msgstr "NI AKCIJE"
119
 
120
+ #: ad-inserter.php:1978
121
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
122
  msgstr "ZAZNANO BLOKIRANJE OGLASOV, ZAZNAN PIŠKOTEK, NI AKCIJE"
123
 
124
+ #: ad-inserter.php:1979
125
  msgid "AD BLOCKING DETECTED - ACTION"
126
  msgstr "ZAZNANO BLOKIRANJE OGLASOV - AKCIJA"
127
 
128
+ #: ad-inserter.php:1980
129
  msgid "AD BLOCKING NOT DETECTED"
130
  msgstr "BLOKIRANJE OGLASOV NI ZAZNANO"
131
 
132
+ #: ad-inserter.php:1981
133
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
134
  msgstr "PIŠKOTKI ZA ZAZNAVANJE BLOKIRANJA OGLASOV POBRISANI"
135
 
136
+ #: ad-inserter.php:1982
137
  msgid "AD BLOCKING DETECTED - NO ACTION"
138
  msgstr "ZAZNANO BLOKIRANJE OGLASOV - NI AKCIJE"
139
 
140
  #. Translators: 1: number of blocks, 2: Ad Inserter
141
+ #: ad-inserter.php:2177
142
  msgid "Hey, you are now using %1$s %2$s block."
143
  msgid_plural "Hey, you are now using %1$s %2$s blocks."
144
  msgstr[0] "Hej, trenutno uporabljate %1$s %2$s blok."
146
  msgstr[2] "Hej, trenutno uporabljate %1$s %2$s bloke."
147
  msgstr[3] "Hej, trenutno uporabljate %1$s %2$s blokov."
148
 
149
+ #: ad-inserter.php:2178 includes/functions.php:1478
150
  msgid "No, thank you."
151
  msgstr "Ne, hvala."
152
 
153
  #. Translators: %s: Ad Inserter
154
+ #: ad-inserter.php:2181
155
  msgid ""
156
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
157
  msgstr "Hej, %s uporabljate že kar nekaj časa. Upam, da ste zadovoljni z njim."
158
 
159
+ #: ad-inserter.php:2182 includes/functions.php:1480
160
  msgid "Not now, maybe later."
161
  msgstr "Ne zdaj, mogoče kasneje."
162
 
163
+ #: ad-inserter.php:2192
164
  msgid ""
165
  "I would really appreciate it if you could give the plugin a 5-star rating on "
166
  "WordPres."
168
  "Res bi bili vesel, če bi lahko na WordPress-u vtičnik ocenili s 5-imi "
169
  "zvezicami."
170
 
171
+ #: ad-inserter.php:2194
172
  msgid ""
173
  "Positive reviews are a great incentive to fix bugs and to add new features "
174
  "for better monetization of your website. Thank you, Igor"
177
  "funkcij za boljšo monetizacijo vašega spletnega mesta. Hvala, Igor"
178
 
179
  #. translators: %s: Ad Inserter
180
+ #: ad-inserter.php:2200
181
  msgid "Rate %s"
182
  msgstr "Oceni %s"
183
 
184
+ #: ad-inserter.php:2205
185
  msgid "I already did."
186
  msgstr "Sem že."
187
 
188
+ #: ad-inserter.php:2219
189
  msgctxt "Menu item"
190
  msgid "Settings"
191
  msgstr "Nastavitve"
192
 
193
  #. translators: %s: Ad Inserter
194
+ #: ad-inserter.php:2293
195
  msgctxt "Meta box name"
196
  msgid "%s Individual Exceptions"
197
  msgstr "Posamezne Izjeme za %s"
198
 
199
+ #: ad-inserter.php:2322 ad-inserter.php:7852 class.php:1933
200
+ #: includes/preview.php:1794 includes/preview.php:1838
201
+ #: includes/preview.php:1875 settings.php:3337 strings.php:3
202
  msgid "Block"
203
  msgstr "Blok"
204
 
205
+ #: ad-inserter.php:2323 settings.php:3338 settings.php:3412
206
  msgid "Name"
207
  msgstr "Ime"
208
 
209
+ #: ad-inserter.php:2324 settings.php:3340
210
  msgid "Automatic insertion"
211
  msgstr "Samodejno vstavljanje"
212
 
213
+ #: ad-inserter.php:2327
214
  msgid "Default insertion for pages"
215
  msgstr "Privzeto vstavljanje za strani"
216
 
217
+ #: ad-inserter.php:2328
218
  msgid "Default insertion for posts"
219
  msgstr "Privzeto vstavljanje za prispevke"
220
 
221
  #. translators: For this post or page
222
+ #: ad-inserter.php:2331
223
  msgctxt "Page"
224
  msgid "For this"
225
  msgstr "Za to"
226
 
227
+ #: ad-inserter.php:2332
228
  msgctxt "Post"
229
  msgid "For this"
230
  msgstr "Za ta"
231
 
232
+ #: ad-inserter.php:2340
233
  msgctxt "Enabled/disabled on all"
234
  msgid "pages"
235
  msgstr "straneh"
236
 
237
+ #: ad-inserter.php:2341
238
  msgctxt "Default insertion for"
239
  msgid "pages"
240
  msgstr "strani"
241
 
242
+ #: ad-inserter.php:2345
243
  msgctxt "Enabled/disabled on all"
244
  msgid "posts"
245
  msgstr "prispevkih"
246
 
247
+ #: ad-inserter.php:2346
248
  msgctxt "Default insertion for"
249
  msgid "posts"
250
  msgstr "prispevke"
251
 
252
+ #: ad-inserter.php:2365 ad-inserter.php:2378 strings.php:156
253
  msgid "Enabled"
254
  msgstr "Omogočeno"
255
 
256
  #. translators: Menu items
257
+ #: ad-inserter.php:2365 ad-inserter.php:2378 includes/functions.php:2105
258
  #: strings.php:16
259
  msgid "Disabled"
260
  msgstr "Onemogočeno"
261
 
262
  #. translators: Enabled on all pages or posts
263
+ #: ad-inserter.php:2368
264
  msgid "Enabled on all"
265
  msgstr "Omogočeno na vseh"
266
 
267
  #. translators: Disabled on all pages or posts
268
+ #: ad-inserter.php:2370
269
  msgid "Disabled on all"
270
  msgstr "Onemogočeno na vseh"
271
 
272
  #. translators: No individual exceptions enabled for pages or posts
273
+ #: ad-inserter.php:2398
274
  msgid "No individual exceptions enabled for"
275
  msgstr "Ni omogočenih posameznih izjem za"
276
 
277
  #. translators: 1: pages or posts, 2: Ad Inserter Settings (page)
278
+ #: ad-inserter.php:2403
279
  msgid ""
280
  "Default insertion for %1$s can be configured for each block on %2$s page - "
281
  "selection next to <strong>Posts</strong> / <strong>Static pages</strong> "
285
  "izbira poleg kljukice za vklop <strong>Prispevki</strong> / <strong>Statične "
286
  "strani</strong>.<br />"
287
 
288
+ #: ad-inserter.php:2408
289
  msgid ""
290
  "Default value is <strong>blank</strong> and means no individual exceptions "
291
  "(even if previously defined here).<br />"
293
  "Privzeta vrednost je <strong>prazno</strong> in pomeni brez posameznih izjem "
294
  "(tudi, če so bile predhodno nsatavljene tukaj).<br />"
295
 
296
+ #: ad-inserter.php:2411
297
  msgctxt "Pages"
298
  msgid ""
299
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
302
  "Nastavite na <strong>Posamezno onemogočene</strong> ali <strong>Posamezno "
303
  "omogočene</strong> za vklop nastavitev posameznih izjem na tej strani.<br />"
304
 
305
+ #: ad-inserter.php:2412
306
  msgctxt "Posts"
307
  msgid ""
308
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
311
  "Nastavite na <strong>Posamezno onemogočeni</strong> ali <strong>Posamezno "
312
  "omogočeni</strong> za vklop nastavitev posameznih izjem na tej strani.<br />"
313
 
314
+ #: ad-inserter.php:2414
315
  msgid "For more information check page %s"
316
  msgstr "Za več informacij poglejte stran %s"
317
 
318
  #. translators: Ad Inserter Exceptions documentation page
319
+ #: ad-inserter.php:2416
320
  msgid "Individual Exceptions"
321
  msgstr "Posamezne Izjeme"
322
 
323
+ #: ad-inserter.php:2461
324
  msgid "STATIC PAGE"
325
  msgstr "STATIČNA STRAN"
326
 
327
+ #: ad-inserter.php:2464
328
  msgid "POST"
329
  msgstr "PRISPEVEK"
330
 
331
+ #: ad-inserter.php:2467
332
  msgid "HOMEPAGE"
333
  msgstr "DOMAČA STRAN"
334
 
335
+ #: ad-inserter.php:2470
336
  msgid "CATEGORY PAGE"
337
  msgstr "STRAN KATEGORIJE"
338
 
339
+ #: ad-inserter.php:2473
340
  msgid "SEARCH PAGE"
341
  msgstr "STRAN ISKANJE"
342
 
343
+ #: ad-inserter.php:2476
344
  msgid "ARCHIVE PAGE"
345
  msgstr "STRAN ARHIVA"
346
 
347
+ #: ad-inserter.php:2479
348
  msgid "ERROR 404 PAGE"
349
  msgstr "STRAN NAPAKA 404"
350
 
351
+ #: ad-inserter.php:2482
352
  msgid "AJAX CALL"
353
  msgstr "AJAX KLIC"
354
 
355
+ #: ad-inserter.php:2485
356
  msgid "UNKNOWN PAGE TYPE"
357
  msgstr "NEZNAN TIP STRANI"
358
 
359
+ #: ad-inserter.php:2502
360
  msgid "Click to delete ad blocking detection cokies"
361
  msgstr "Klikni za brisanje piškotkov za zaznavanje blokiranja oglasov"
362
 
363
+ #: ad-inserter.php:2503
364
  msgid "AD BLOCKING STATUS UNKNOWN"
365
  msgstr "NEZNAN STATUS BLOKIRANJA OGLASOV"
366
 
367
  #. translators: %s: AdSense Auto Ads
368
+ #: ad-inserter.php:2527
369
  msgid ""
370
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
371
  "positions"
373
  "Zaznana koda za %s - Koda bo samodejno vstavila oglase AdSense na optimalne "
374
  "položaje"
375
 
376
+ #: ad-inserter.php:2666
377
  msgid "Code for insertion"
378
  msgstr "Koda za vstavljanje"
379
 
380
+ #: ad-inserter.php:2666
381
  msgid "character"
382
  msgid_plural "characters"
383
  msgstr[0] "znak"
385
  msgstr[2] "znaki"
386
  msgstr[3] "znakov"
387
 
388
+ #: ad-inserter.php:2709
389
  msgid "Header code"
390
  msgstr "Koda v glavi"
391
 
392
+ #: ad-inserter.php:2709
393
  msgctxt "Header code"
394
  msgid "DISABLED"
395
  msgstr "ONEMOGOČENA"
396
 
397
+ #: ad-inserter.php:2709 ad-inserter.php:2935
398
  msgid "character inserted"
399
  msgid_plural "characters inserted"
400
  msgstr[0] "znak vstavljen"
402
  msgstr[2] "znaki vstavljeni"
403
  msgstr[3] "znakov vstavljenih"
404
 
405
+ #: ad-inserter.php:2742
406
  msgid "Automatically placed by AdSense Auto ads code"
407
  msgstr "Samodejno postavila koda za oglase AdSense Auto ads"
408
 
409
+ #: ad-inserter.php:2935
410
  msgid "Footer code"
411
  msgstr "Koda v nogi"
412
 
413
+ #: ad-inserter.php:2935
414
  msgctxt "Footer code"
415
  msgid "DISABLED"
416
  msgstr "ONEMOGOČENA"
417
 
418
+ #: ad-inserter.php:2941
419
  msgid "JAVASCRIPT NOT WORKING"
420
  msgstr "JAVASCRIPT NE DELA"
421
 
422
+ #: ad-inserter.php:2941
423
  msgid "NO JAVASCRIPT ERRORS"
424
  msgstr "BREZ JAVASCRIPT NAPAK"
425
 
426
+ #: ad-inserter.php:2941
427
  msgid "JAVASCRIPT ERRORS"
428
  msgstr "JAVASCRIPT NAPAKE"
429
 
430
  #. translators: block name (block with default settings)
431
+ #: ad-inserter.php:4998
432
  msgctxt "Block name"
433
  msgid "Default"
434
  msgstr "Privzeti"
435
 
436
  #. translators: %s: Ad Inserter
437
+ #: ad-inserter.php:5569
438
  msgid "Error importing %s settings."
439
  msgstr "Napaka pri uvozu %s nastavitev."
440
 
441
+ #: ad-inserter.php:5570
442
  msgid "Error importing settings for block"
443
  msgid_plural "Error importing settings for blocks:"
444
  msgstr[0] "Napaka pri uvozu nastavitev za blok"
446
  msgstr[2] "Napaka pri uvozu nastavitev za bloke:"
447
  msgstr[3] "Napaka pri uvozu nastavitev za bloke:"
448
 
449
+ #: ad-inserter.php:5619
450
  msgid "Settings saved."
451
  msgstr "Nastavitve shranjene."
452
 
453
+ #: ad-inserter.php:5704
454
  msgid "Settings cleared."
455
  msgstr "Nastavitve ponastavljene."
456
 
457
+ #: ad-inserter.php:6048 ad-inserter.php:6050 ad-inserter.php:6073
458
  msgid "word"
459
  msgid_plural "words"
460
  msgstr[0] "beseda"
462
  msgstr[2] "besede"
463
  msgstr[3] "besed"
464
 
465
+ #: ad-inserter.php:6089 ad-inserter.php:6201
466
  msgid "HTML TAGS REMOVED"
467
  msgstr "HTML ZNAČKE ODSTRANJENE"
468
 
469
+ #: ad-inserter.php:6277
470
  msgid "BEFORE COMMENTS"
471
  msgstr "PRED KOMENTARJI"
472
 
473
+ #: ad-inserter.php:6385
474
  msgid "AFTER COMMENTS"
475
  msgstr "PO KOMETARJIH"
476
 
477
+ #: ad-inserter.php:6448
478
  msgid "BETWEEN COMMENTS"
479
  msgstr "MED KOMENTARJI"
480
 
481
+ #: ad-inserter.php:7500
482
  msgid "requires WordPress 4.0 or newer"
483
  msgstr "potrebuje WordPress 4.0 ali novejši"
484
 
485
+ #: ad-inserter.php:7500
486
  msgid "Please update!"
487
  msgstr "Prosimo, posodobite!"
488
 
489
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
490
  #. name with HTML tags will be added)
491
+ #: ad-inserter.php:7725
492
  msgid "Thank you for installing"
493
  msgstr "Hvala za namestitev vtičnika"
494
 
495
  #. translators: Opt-in message: %s: HTML tags
496
+ #: ad-inserter.php:7727
497
  msgid ""
498
  "We would like to %s track its usage %s on your site. This is completely "
499
  "optional and can be disabled at any time."
501
  "Radi bi %s sledili njegovi uporabi %s na vašem spletnem mestu. To je povsem "
502
  "izbirno in se lahko izključi kadarkoli."
503
 
504
+ #: ad-inserter.php:7729
505
  msgid ""
506
  "We don't record any sensitive data, only information regarding the WordPress "
507
  "environment and plugin usage, which will help us to make improvements to the "
511
  "uporabe vtičnika, kar nam bo omogočilo izdelavo izboljšav za vtičnik."
512
 
513
  #. translators: Deactivation message: %s: HTML tags
514
+ #: ad-inserter.php:7766
515
  msgid ""
516
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
517
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
522
  "nam %s in poskušali vam bomo pomagati."
523
 
524
  #. translators: %s: Ad Inserter
525
+ #: ad-inserter.php:7809
526
  msgid "%s block."
527
  msgstr "%s blok."
528
 
529
  #. translators: widget title
530
+ #: ad-inserter.php:7825 ad-inserter.php:7861
531
  msgid "Processing log"
532
  msgstr "Dnevnik procesiranja"
533
 
534
  #. translators: widget title
535
+ #: ad-inserter.php:7827 ad-inserter.php:7862
536
  msgid "Dummy widget"
537
  msgstr "Prazen gradnik"
538
 
539
  #. translators: widget title
540
+ #: ad-inserter.php:7829 ad-inserter.php:7860
541
  msgid "Debugging tools"
542
  msgstr "Orodja za razhroščevanje"
543
 
544
  #. translators: block status (widget title)
545
+ #: ad-inserter.php:7836
546
  msgctxt "block"
547
  msgid "PAUSED"
548
  msgstr "USTAVLJEN"
549
 
550
+ #: ad-inserter.php:7837
551
  msgid "WIDGET DISABLED"
552
  msgstr "GRADNIK ONEMOGOČEN"
553
 
554
+ #: ad-inserter.php:7838
555
  msgid "Unknown block"
556
  msgstr "Neznan blok"
557
 
558
+ #: ad-inserter.php:7847 includes/functions.php:2608 settings.php:1033
559
  msgid "Title"
560
  msgstr "Naslov"
561
 
562
+ #: ad-inserter.php:7869
563
  msgctxt "Widget"
564
  msgid "Sticky"
565
  msgstr "Lepljiv"
566
 
567
+ #: ad-inserter.php:7918
568
  msgid ""
569
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
570
  "Inserter you need to first deactivate Ad Inserter Pro."
573
  "aktiven! Za aktivacijo vtičnika Ad Inserter morate najprej onemogočiti Ad "
574
  "Inserter Pro."
575
 
576
+ #: ad-inserter.php:7919
577
  msgid ""
578
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
579
  "will clear all settings that are available only in the Pro version "
584
  "različici (dodatne nastavitve blokov in vtičnika)!"
585
 
586
  #. translators: %s: Ad Inserter
587
+ #: class.php:459 class.php:468 class.php:471
588
  msgid "PHP error in %s block"
589
  msgstr "PHP napaka v bloku %s"
590
 
591
+ #: class.php:1899
592
  msgid "Counters"
593
  msgstr "Števci"
594
 
595
+ #: class.php:1903
596
  msgid "Content"
597
  msgstr "Vsebina"
598
 
599
+ #: class.php:1908
600
  msgid "Excerpt"
601
  msgstr "Izvleček"
602
 
603
+ #: class.php:1913 strings.php:17
604
  msgid "Before post"
605
  msgstr "Pred prispevkom"
606
 
607
+ #: class.php:1918 strings.php:18
608
  msgid "After post"
609
  msgstr "Za prispevkom"
610
 
611
+ #: class.php:1923 settings.php:1619 settings.php:3344
612
  msgid "Widget"
613
  msgstr "Gradnik"
614
 
615
+ #: class.php:1928 settings.php:3342
616
  msgid "PHP function call"
617
  msgstr "Klic PHP funkcije"
618
 
619
+ #: class.php:1963
620
  msgid "AJAX REQUEST"
621
  msgstr "AJAX ZAHTEVEK"
622
 
623
+ #: class.php:1966
624
  msgid "Ajax request for block in iframe"
625
  msgstr "Ajax zahtevek za blok v iframe-u"
626
 
627
+ #: class.php:1985
628
  msgid "Ajax request url, click to open it in a new tab"
629
  msgstr "Url Ajax zahtevka, kliknite, da ga odprete v novem zavihku"
630
 
631
+ #: class.php:1988
632
  msgid "IN THE LOOP"
633
  msgstr "V ZANKI"
634
 
635
+ #: class.php:1988
636
  msgid "YES"
637
  msgstr "DA"
638
 
639
+ #: class.php:1988
640
  msgid "NO"
641
  msgstr "NE"
642
 
643
+ #: class.php:2024
644
  msgid "BLOCK"
645
  msgstr "BLOK"
646
 
647
+ #: class.php:2024
648
  msgctxt "block or widget"
649
  msgid "INSERTED BUT NOT VISIBLE"
650
  msgstr "VSTAVLJEN, VENDAR NI VIDEN"
651
 
652
  #. translators: %s: list parameters and type
653
+ #: class.php:2475
654
  msgid "parameters='%s' type='%s'"
655
  msgstr "parametri='%s' tip='%s'"
656
 
657
  #. translators: %s: list parameters and type
658
+ #: class.php:2477
659
  msgid "referers='%s' type='%s'"
660
  msgstr "napotitelji='%s' tip='%s'"
661
 
662
  #. translators: %s: list parameters and type
663
+ #: class.php:2538
664
  msgid "countries='%s' type='%s'"
665
  msgstr "države='%s' tip='%s'"
666
 
667
  #. translators: %s: list parameters and type
668
+ #: class.php:2540
669
  msgid "ip addresses='%s' type='%s'"
670
  msgstr "ip naslovi='%s' tip='%s'"
671
 
672
+ #: class.php:2763 strings.php:228
673
  msgid "BEFORE"
674
  msgstr "PRED"
675
 
676
+ #: class.php:2771 strings.php:230
677
  msgid "PREPEND CONTENT"
678
  msgstr "DODAJ PRED VSEBINO"
679
 
680
+ #: class.php:2775 strings.php:231
681
  msgid "APPEND CONTENT"
682
  msgstr "DODAJ ZA VSEBINO"
683
 
684
+ #: class.php:2779 strings.php:232
685
  msgid "REPLACE CONTENT"
686
  msgstr "NADOMESTI VSEBINO"
687
 
688
+ #: class.php:2783 strings.php:233
689
  msgid "REPLACE ELEMENT"
690
  msgstr "NADOMESTI ELEMENT"
691
 
692
+ #: class.php:2794 strings.php:229
693
  msgid "AFTER"
694
  msgstr "ZA"
695
 
696
+ #: class.php:2861
697
  msgctxt "JavaScript"
698
  msgid "script"
699
  msgstr "skripta"
700
 
701
+ #: class.php:2864 settings.php:1888
702
  msgid "for"
703
  msgstr "za"
704
 
705
+ #: class.php:5387 class.php:5439
706
  msgctxt "category name"
707
  msgid "Uncategorized"
708
  msgstr "Nekategorizirano"
709
 
710
+ #: class.php:5930
711
  msgid ""
712
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
713
  "extension for PHP."
716
  "namestiti DOM razširitev za PHP."
717
 
718
  #: includes/editor.php:7 includes/placeholders.php:345
719
+ #: includes/preview.php:1780 strings.php:235
720
  msgid "Use"
721
  msgstr "Uporabi"
722
 
723
+ #: includes/editor.php:8 includes/preview.php:1781
724
  msgid "Reset"
725
  msgstr "Ponastavi"
726
 
727
  #: includes/editor.php:9 includes/placeholders.php:347
728
+ #: includes/preview.php:1783 strings.php:199 strings.php:234
729
  msgid "Cancel"
730
  msgstr "Prekliči"
731
 
734
  msgstr "Vizualni Urejevalnik Kode"
735
 
736
  #: includes/editor.php:262 includes/preview-adb.php:289
737
+ #: includes/preview.php:1770
738
  msgid ""
739
  "This page was not loaded properly. Please check browser, plugins and ad "
740
  "blockers."
747
  msgstr "Napaka pri nalaganju strani"
748
 
749
  #: includes/editor.php:264 includes/preview-adb.php:291
750
+ #: includes/preview.php:1772
751
  msgid "PAGE BLOCKED"
752
  msgstr "STRAN BLOKIRANA"
753
 
754
+ #: includes/functions.php:252
755
  msgid "%d of %d names shown"
756
  msgstr "Prikazanih %d od %d imen"
757
 
758
  #. translators: %s: name filter
759
+ #: includes/functions.php:271
760
  msgid "No name matches filter"
761
  msgstr "Noben podatek ne ustreza filtru"
762
 
763
+ #: includes/functions.php:327 settings.php:174
764
  msgid "Online documentation"
765
  msgstr "Spletna Dokumentacija"
766
 
767
+ #: includes/functions.php:327 settings.php:174
768
  msgid "Documentation"
769
  msgstr "Dokumentacija"
770
 
771
+ #: includes/functions.php:340 settings.php:187
772
  msgid "Blocks"
773
  msgstr "Bloki"
774
 
775
  #. translators: %s: Ad Inserter Pro
776
+ #: includes/functions.php:363
777
  msgid ""
778
  "Import %s settings when saving - if checked, the encoded settings below will "
779
  "be imported for all blocks and settings"
781
  "Uvozi %s nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
782
  "nastavitve spodaj uvozile za vse bloke in nastavitve"
783
 
784
+ #: includes/functions.php:363
785
  msgid "Import Settings for"
786
  msgstr "Uvozi Nastavitve za"
787
 
788
+ #: includes/functions.php:367
789
  msgid "Saved settings for"
790
  msgstr "Shranjene nastavitve za"
791
 
792
+ #: includes/functions.php:386
793
  msgid "License Key"
794
  msgstr "Licenčni Ključ"
795
 
796
+ #: includes/functions.php:389
797
  msgid "License Key for"
798
  msgstr "Licenčni Ključ za"
799
 
800
+ #: includes/functions.php:395
801
  msgid "Hide license key"
802
  msgstr "Skrij licenčni ključ"
803
 
804
+ #: includes/functions.php:395
805
  msgid "Hide key"
806
  msgstr "Skrij ključ"
807
 
808
+ #: includes/functions.php:416
809
  msgid "Main content element"
810
  msgstr "Glavni element vsebine"
811
 
812
+ #: includes/functions.php:419
813
  msgid ""
814
  "Main content element (#id or .class) for 'Stick to the content' position. "
815
  "Leave empty unless position is not properly calculated."
817
  "Glavni element vsebine (#id ali .razred) za položaj 'Lepljiv na vsebino'. "
818
  "Pustite prazno razen v primeru, ko položaj ni pravilno izračunan."
819
 
820
+ #: includes/functions.php:420 settings.php:1189 settings.php:2444
821
  msgid "Open HTML element selector"
822
  msgstr "Odpri izbirnik HTML elementa"
823
 
824
+ #: includes/functions.php:425
825
  msgid "Lazy loading offset"
826
  msgstr "Zamik za leno nalaganje"
827
 
828
+ #: includes/functions.php:428
829
  msgid "Offset of the block from the visible viewport when it should be loaded"
830
  msgstr "Zamik bloka od vidnega pogleda, ko bi ta moral biti naložen"
831
 
832
+ #: includes/functions.php:439
833
  msgid "Export / Import Block Settings"
834
  msgstr "Izvozi / Uvozi Nastavitve Bloka"
835
 
836
+ #: includes/functions.php:454
837
  msgid "Track impressions and clicks for this block"
838
  msgstr "Sledi prikazom in klikom za ta blok"
839
 
840
+ #: includes/functions.php:454
841
  msgid " - global tracking disabled"
842
  msgstr " - globalno sledenje onemogočeno"
843
 
844
+ #: includes/functions.php:458
845
+ msgid "Generate report"
846
+ msgstr "Generiraj poročilo"
847
+
848
+ #: includes/functions.php:467
849
  msgid "Toggle Ad Blocking Statistics"
850
  msgstr "Preklopi Statistiko Blokiranja Oglasov"
851
 
852
+ #: includes/functions.php:475 includes/functions.php:2437
853
  msgid "Toggle Statistics"
854
  msgstr "Preklopi Statistiko"
855
 
856
  #. translators: %s: Ad Inserter Pro
857
+ #: includes/functions.php:491
858
  msgid "%s license key is not set. Continue?"
859
  msgstr "%s licenčni ključ ni nastavljen. Nadaljujem?"
860
 
861
  #. translators: %s: Ad Inserter Pro
862
+ #: includes/functions.php:495
863
  msgid "Invalid %s license key. Continue?"
864
  msgstr "Neveljaven %s licenčni ključ. Nadaljujem?"
865
 
866
  #. translators: %s: Ad Inserter Pro
867
+ #: includes/functions.php:499
868
  msgid "%s license overused. Continue?"
869
  msgstr "%s licenca prekomerno uporabljena. Nadaljujem?"
870
 
871
+ #: includes/functions.php:503 settings.php:1958
872
  msgid "Save Settings"
873
  msgstr "Sharani Nastavitve"
874
 
875
+ #: includes/functions.php:563 includes/preview.php:1915
876
  msgid "Horizontal position"
877
  msgstr "Vodoravni položaj"
878
 
879
+ #: includes/functions.php:586
880
  msgid ""
881
  "Horizontal margin from the content or screen edge, empty means default value "
882
  "from CSS"
884
  "Vodoravni odmik od vsebine ali roba zaslona, prazno pomeni privzeta vrednost "
885
  "iz CSS"
886
 
887
+ #: includes/functions.php:594 includes/preview.php:1970
888
  msgid "Vertical position"
889
  msgstr "Navpični položaj"
890
 
891
+ #: includes/functions.php:609
892
  msgid ""
893
  "Vertical margin from the top or bottom screen edge, empty means default "
894
  "value from CSS"
896
  "Navpični odmik od roba vrha ali dna zaslona, prazno pomeni privzeta vrednost "
897
  "iz CSS"
898
 
899
+ #: includes/functions.php:634 includes/preview.php:2021
900
  msgid "Animation"
901
  msgstr "Animacija"
902
 
903
+ #: includes/functions.php:652
904
  msgid "Trigger"
905
  msgstr "Sporžilec"
906
 
907
+ #: includes/functions.php:661
908
  msgid ""
909
  "Trigger value: page scroll in %, page scroll in px or element with selector "
910
  "(#id or .class) becomes visible"
912
  "Sprožilna vrednost: pomik strani v %, pomik strani v px ali element s "
913
  "selektorjem (#id ali .razred) postane viden"
914
 
915
+ #: includes/functions.php:665
916
  msgid "Offset"
917
  msgstr "Zamik"
918
 
919
+ #: includes/functions.php:665
920
  msgid "Offset of trigger element"
921
  msgstr "Zamik sprožilnega elementa"
922
 
923
+ #: includes/functions.php:669
924
  msgid "Delay"
925
  msgstr "Zakasnitev"
926
 
927
+ #: includes/functions.php:669
928
  msgid "Delay animation after trigger condition"
929
  msgstr "Zakasni animacijo po izpolnitvi pogoja sprožilca"
930
 
931
+ #: includes/functions.php:673
932
  msgid "Trigger once"
933
  msgstr "Sproži enkrat"
934
 
935
+ #: includes/functions.php:675
936
  msgid "Trigger animation only once"
937
  msgstr "Sproži animacijo samo enkrat"
938
 
939
+ #: includes/functions.php:714
940
  msgid "Tracking is globally disabled"
941
  msgstr "Sledenje je globalno onemogočeno"
942
 
943
+ #: includes/functions.php:718
944
  msgid "Tracking for this block is disabled"
945
  msgstr "Sledenje za ta blok je onemogočeno"
946
 
947
+ #: includes/functions.php:728 settings.php:3105 settings.php:3141
948
+ #: strings.php:209
949
  msgid "Loading..."
950
  msgstr "Nalagam..."
951
 
952
+ #: includes/functions.php:744
953
  msgid ""
954
  "Clear statistics data for the selected range - clear both dates to delete "
955
  "all data for this block"
957
  "Pobriši podatke o statistiki za izbrano obdobje - pobriši oba datuma za "
958
  "brisanje vseh podatkov za ta blok"
959
 
960
+ #: includes/functions.php:748
961
  msgid "Auto refresh data for the selected range every 60 seconds"
962
  msgstr "Samodejna osvežitev podatkov za izbrano obdobje vsakih 60 sekund"
963
 
964
+ #: includes/functions.php:751
965
  msgid "Load data for last month"
966
  msgstr "Naloži podatke za zadnji mesec"
967
 
968
+ #: includes/functions.php:751
969
  msgid "Last Month"
970
  msgstr "Zadnji Mesec"
971
 
972
+ #: includes/functions.php:754
973
  msgid "Load data for this month"
974
  msgstr "Naloži podatke za ta mesec"
975
 
976
+ #: includes/functions.php:754
977
  msgid "This Month"
978
  msgstr "Ta Mesec"
979
 
980
+ #: includes/functions.php:757
981
  msgid "Load data for this year"
982
  msgstr "Naloži podatke za to leto"
983
 
984
+ #: includes/functions.php:757
985
  msgid "This Year"
986
  msgstr "To Leto"
987
 
988
+ #: includes/functions.php:760
989
  msgid "Load data for the last 15 days"
990
  msgstr "Naloži podatke za zadnjih 15 dni"
991
 
992
+ #: includes/functions.php:763
993
  msgid "Load data for the last 30 days"
994
  msgstr "Naloži podatke za zadnjih 30 dni"
995
 
996
+ #: includes/functions.php:766
997
  msgid "Load data for the last 90 days"
998
  msgstr "Naloži podatke za zadnjih 90 dni"
999
 
1000
+ #: includes/functions.php:769
1001
  msgid "Load data for the last 180 days"
1002
  msgstr "Naloži podatke za zadnjih 180 dni"
1003
 
1004
+ #: includes/functions.php:772
1005
  msgid "Load data for the last 365 days"
1006
  msgstr "Naloži podatke za zadnjih 365 dni"
1007
 
1008
+ #: includes/functions.php:782
1009
  msgid "Load data for the selected range"
1010
  msgstr "Naloži podatke za izbrano obdobje"
1011
 
1012
+ #: includes/functions.php:798
1013
  msgid ""
1014
  "Import settings when saving - if checked, the encoded settings below will be "
1015
  "imported for this block"
1017
  "Uvozi nastavitve pri shranjevanju - če je odkljukano, se bodo kodirane "
1018
  "nastavitve spodaj uvozile za ta blok"
1019
 
1020
+ #: includes/functions.php:798
1021
  msgid "Import settings for block"
1022
  msgstr "Uvozi nastavitve za blok"
1023
 
1024
+ #: includes/functions.php:802
1025
  msgid ""
1026
  "Import block name when saving - if checked and 'Import settings for block' "
1027
  "is also checked, the name from encoded settings below will be imported for "
1031
  "nastavitve za blok' odkljukano, se bo ime iz kodiranih nastavitev spodaj "
1032
  "uvozilo za ta blok"
1033
 
1034
+ #: includes/functions.php:802
1035
  msgid "Import block name"
1036
  msgstr "Uvozi ime bloka"
1037
 
1038
+ #: includes/functions.php:806
1039
  msgid "Saved settings for block"
1040
  msgstr "Shranjene nastavitve za blok"
1041
 
1042
+ #: includes/functions.php:819
1043
  msgid "Export / Import Ad Inserter Pro Settings"
1044
  msgstr "Izvozi / Uvozi Ad Inserter Pro Nastavitve"
1045
 
1046
+ #: includes/functions.php:828
1047
  msgid "Are you sure you want to clear all statistics data for all blocks?"
1048
  msgstr ""
1049
  "Ali ste prepričani, da želite pobrisati vse podatke o statistiki za vse "
1050
  "bloke?"
1051
 
1052
+ #: includes/functions.php:830
1053
  msgid "Clear All Statistics Data"
1054
  msgstr "Pobriši Vse Podatke o Statistiki"
1055
 
1056
+ #: includes/functions.php:856
1057
  msgid "Toggle country/city editor"
1058
  msgstr "Preklopi urejevalnik držav/mest"
1059
 
1060
+ #: includes/functions.php:862
1061
  msgid "IP Addresses"
1062
  msgstr "IP Naslovi"
1063
 
1064
+ #: includes/functions.php:865
1065
  msgid "Toggle IP address editor"
1066
  msgstr "Preklopi urejevalnik IP nslovov"
1067
 
1068
+ #: includes/functions.php:868
1069
  msgid ""
1070
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1071
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1073
  "Z vejico ločeni IP naslovi, uporabite lahko tudi delne IP naslove z * (ip-"
1074
  "naslov-začetek*. *ip-naslov-vzorec*, *ip-naslov-konec)"
1075
 
1076
+ #: includes/functions.php:872
1077
  msgid "Blacklist IP addresses"
1078
  msgstr "Črni seznam IP naslovov"
1079
 
1080
+ #: includes/functions.php:876
1081
  msgid "Whitelist IP addresses"
1082
  msgstr "Beli seznam IP naslovov"
1083
 
1084
+ #: includes/functions.php:887
1085
  msgid "Countries"
1086
  msgstr "Države"
1087
 
1088
+ #: includes/functions.php:888
1089
  msgid "Cities"
1090
  msgstr "Mesta"
1091
 
1092
+ #: includes/functions.php:892 includes/functions.php:2397
1093
  msgid "Toggle country editor"
1094
  msgstr "Preklopi urejevalnik držav"
1095
 
1096
+ #: includes/functions.php:895
1097
  msgid "Toggle city editor"
1098
  msgstr "Preklopi urejevalnik mest"
1099
 
1100
+ #: includes/functions.php:899 includes/functions.php:2400
1101
  msgid "Comma separated country ISO Alpha-2 codes"
1102
  msgstr "Z vejico ločene ISO Alpha-2 kode držav"
1103
 
1104
+ #: includes/functions.php:903
1105
  msgid "Blacklist countries"
1106
  msgstr "Črni seznam držav"
1107
 
1108
+ #: includes/functions.php:907
1109
  msgid "Whitelist countries"
1110
  msgstr "Beli seznam držav"
1111
 
1112
+ #: includes/functions.php:1221 includes/functions.php:1439
1113
  msgid "Enter license key"
1114
  msgstr "Vnesite licenčni ključ"
1115
 
1116
  #. translators: %s: Ad Inserter Pro
1117
+ #: includes/functions.php:1227
1118
  msgid ""
1119
  "%s license key is not set. Plugin functionality is limited and updates are "
1120
  "disabled."
1122
  "%s licenčni ključ ni vnešen. Funkcionalnosti vtičnika so omejene in "
1123
  "posodobitve onemogočene."
1124
 
1125
+ #: includes/functions.php:1236 includes/functions.php:1448
1126
  msgid "Check license key"
1127
  msgstr "Preverite licenčni ključ"
1128
 
1129
  #. translators: %s: Ad Inserter Pro
1130
+ #: includes/functions.php:1242
1131
  msgid "Invalid %s license key."
1132
  msgstr "Neveljaven %s licenčni ključ."
1133
 
1134
  #. translators: %s: Ad Inserter Pro
1135
+ #: includes/functions.php:1251
1136
  msgid "%s license expired. Plugin updates are disabled."
1137
  msgstr "%s licenca je potekla. Posodobitve vtičnika so onemogočene."
1138
 
1139
+ #: includes/functions.php:1252
1140
  msgid "Renew license"
1141
  msgstr "Obnovite licenco"
1142
 
1143
  #. translators: %s: Ad Inserter Pro
1144
+ #: includes/functions.php:1260
1145
  msgid "%s license overused. Plugin updates are disabled."
1146
  msgstr ""
1147
  "%s licenca je prekomerno uporabljena. Posodobitve vtičnika so onemogočene."
1148
 
1149
+ #: includes/functions.php:1261
1150
  msgid "Upgrade license"
1151
  msgstr "Nadgradite licenco"
1152
 
1153
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1154
+ #: includes/functions.php:1441
1155
  msgid ""
1156
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1157
  "limited and updates are disabled."
1160
  "so omejene in posodobitve onemogočene."
1161
 
1162
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1163
+ #: includes/functions.php:1450
1164
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1165
  msgstr "%1$s Opozorilo: %2$s Neveljaven %3$s licenčni ključ."
1166
 
1167
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1168
+ #: includes/functions.php:1464
1169
  msgid ""
1170
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1171
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1175
  "pogrešate. %3$s"
1176
 
1177
  #. translators: 1, 3: HTML tags, 2: percentage
1178
+ #: includes/functions.php:1471
1179
  msgid ""
1180
  "During the license period and 30 days after the license has expired we offer "
1181
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1183
  "V obdobju licence in 30 dni po tem, ko licenca poteče, vam ponujamo %1$s "
1184
  "%2$s popust na vse obnovitve in nadgradnje licenc. %3$s"
1185
 
1186
+ #: includes/functions.php:1494
1187
  msgid "Renew the licence"
1188
  msgstr "Obnovi licenco"
1189
 
1190
+ #: includes/functions.php:1496
1191
  msgid "Update license status"
1192
  msgstr "Posodobi status licence"
1193
 
1194
  #. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
1195
+ #: includes/functions.php:1507
1196
  msgid ""
1197
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1198
  "Upgrade license %5$s"
1201
  "vtičnika so onemogočene. %4$s Nadgradite licenco %5$s"
1202
 
1203
  #. Translators: %s: HTML tag
1204
+ #: includes/functions.php:1527
1205
  msgid "Warning: %s MaxMind IP geolocation database not found."
1206
  msgstr "Opozorilo: %s MaxMind IP geolocijska podatkovna baza ni najdena."
1207
 
1208
+ #: includes/functions.php:2034
1209
  msgid "Geolocation"
1210
  msgstr "Geolokacija"
1211
 
1212
+ #: includes/functions.php:2038
1213
  msgid "Exceptions"
1214
  msgstr "Izjeme"
1215
 
1216
+ #: includes/functions.php:2043
1217
  msgid "Multisite"
1218
  msgstr "Multisite"
1219
 
1220
+ #: includes/functions.php:2048
1221
  msgid "Tracking"
1222
  msgstr "Sledenje"
1223
 
1224
  #. translators: %d: days, hours, minutes
1225
+ #: includes/functions.php:2079
1226
  msgid "Scheduled in %d days %d hours %d minutes"
1227
  msgstr "Planirano v %d dneh %d urah %d minutah"
1228
 
1229
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1230
  #. HTML code for long dash separator
1231
+ #: includes/functions.php:2088
1232
  msgid "Active %s expires in %d days %d hours %d minutes"
1233
  msgstr "Aktivno %s poteče v %d dneh %d urah %d minutah"
1234
 
1235
+ #: includes/functions.php:2092
1236
  msgid "Expired"
1237
  msgstr "Poteklo"
1238
 
1239
+ #: includes/functions.php:2100 settings.php:1272 settings.php:1287
1240
  #: settings.php:1874
1241
  msgid "and"
1242
  msgstr "in"
1243
 
1244
+ #: includes/functions.php:2103
1245
  msgid "fallback"
1246
  msgstr "rezerva"
1247
 
1248
+ #: includes/functions.php:2104
1249
  msgid "Block to be used when scheduling expires"
1250
  msgstr "Blok, ki se bo uporabil, ko urnik poteče"
1251
 
1252
+ #: includes/functions.php:2129
1253
  msgid "Load in iframe"
1254
  msgstr "Naloži v iframe-u"
1255
 
1256
+ #: includes/functions.php:2133 includes/placeholders.php:382
1257
  msgid "Width"
1258
  msgstr "Širina"
1259
 
1260
+ #: includes/functions.php:2134
1261
  msgid "iframe width, empty means full width (100%)"
1262
  msgstr "širina iframe-a, prazno pomeni polna širina (100%)"
1263
 
1264
+ #: includes/functions.php:2140 includes/placeholders.php:377
1265
  msgid "Height"
1266
  msgstr "Višina"
1267
 
1268
+ #: includes/functions.php:2141
1269
  msgid "iframe height, empty means adjust it to iframe content height"
1270
  msgstr ""
1271
  "Višina iframe-a, prazno pomeni poravnavo glede na višino vsebine iframe-a"
1272
 
1273
+ #: includes/functions.php:2148
1274
  msgid "Ad label in iframe"
1275
  msgstr "Oznaka oglasa v iframe-u"
1276
 
1277
+ #: includes/functions.php:2153
1278
  msgid "Preview iframe code"
1279
  msgstr "Predpreglej kodo iframe"
1280
 
1281
+ #: includes/functions.php:2153 includes/preview.php:1792 settings.php:949
1282
  #: settings.php:2506
1283
  msgid "Preview"
1284
  msgstr "Predogled"
1285
 
1286
+ #: includes/functions.php:2167 includes/functions.php:3575
1287
+ #: includes/functions.php:3638 settings.php:1991
1288
  msgid "Ad Blocking"
1289
  msgstr "Blokiranje Oglasov"
1290
 
1291
  #. translators: 1, 2 and 3, 4: HTML tags
1292
+ #: includes/functions.php:2176
1293
  msgid ""
1294
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1295
  "for tracking!"
1299
 
1300
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1301
  #. header
1302
+ #: includes/functions.php:2185
1303
  msgid ""
1304
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1305
  "enabled and automatic insertion %6$s!"
1307
  "%1$s OPOZORILO: %2$s vertikalni položaj %3$s potrebuje %4$s Predpomnjenje "
1308
  "izhoda %5$s omogočeno in samodejno vstavljanje %6$s!"
1309
 
1310
+ #: includes/functions.php:2203
1311
  msgid "When ad blocking is detected"
1312
  msgstr "Ko je blokiranje oglasov zaznano"
1313
 
1314
+ #: includes/functions.php:2212
1315
  msgid "replacement"
1316
  msgstr "nadomestek"
1317
 
1318
+ #: includes/functions.php:2213
1319
  msgid "Block to be shown when ad blocking is detected"
1320
  msgstr "Blok, ki naj bo prikazan, ko je zaznano blokiranje oglasov"
1321
 
1322
+ #: includes/functions.php:2214
1323
  msgctxt "replacement"
1324
  msgid "None"
1325
  msgstr "Noben"
1326
 
1327
+ #: includes/functions.php:2231
1328
  msgid "Close button"
1329
  msgstr "Gumb Zapri"
1330
 
1331
+ #: includes/functions.php:2278
1332
  msgid "Lazy loading"
1333
  msgstr "Leno nalaganje"
1334
 
1335
  #. Translators: %s MaxMind
1336
+ #: includes/functions.php:2332
1337
  msgid "This product includes GeoLite2 data created by %s"
1338
  msgstr "Ta izdelek vsebuje %s GeoLite2 podatke"
1339
 
1340
+ #: includes/functions.php:2343
1341
  msgid "IP geolocation database"
1342
  msgstr "Podatkovna baza za IP geolokacijo"
1343
 
1344
+ #: includes/functions.php:2346
1345
  msgid "Select IP geolocation database."
1346
  msgstr "Izberite podatkovno bazo za IP geolokacijo."
1347
 
1348
+ #: includes/functions.php:2357
1349
  msgid "Automatic database updates"
1350
  msgstr "Samodejna posodobitev podatkovne baze"
1351
 
1352
+ #: includes/functions.php:2360
1353
  msgid ""
1354
  "Automatically download and update free GeoLite2 IP geolocation database by "
1355
  "MaxMind"
1357
  "Samodejno prenesi in posodobi prostodostopno GeoLite2 IP geolokacijsko "
1358
  "podatkovno bazo MaxMind"
1359
 
1360
+ #: includes/functions.php:2368
1361
  msgid "Database"
1362
  msgstr "Podatkovna baza"
1363
 
1364
+ #: includes/functions.php:2371
1365
  msgid ""
1366
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1367
  "file"
1370
  "podatkovne baze"
1371
 
1372
  #. translators: %d: group number
1373
+ #: includes/functions.php:2389
1374
  msgid "Group %d"
1375
  msgstr "Skupina %d"
1376
 
1377
+ #: includes/functions.php:2395
1378
  msgid "countries"
1379
  msgstr "države"
1380
 
1381
+ #: includes/functions.php:2430
1382
  msgid "Enable tracking"
1383
  msgstr "Omogoči sledenje"
1384
 
1385
+ #: includes/functions.php:2445
1386
  msgid "Impression and Click Tracking"
1387
  msgstr "Sledenje Prikazov in Klikov"
1388
 
1389
+ #: includes/functions.php:2461
1390
  msgid "Internal"
1391
  msgstr "Notranje"
1392
 
1393
+ #: includes/functions.php:2465
1394
  msgid "Track impressions and clicks with internal tracking and statistics"
1395
  msgstr "Sledi prikazom in klikom z notranjim sledenjem in statistiko"
1396
 
1397
+ #: includes/functions.php:2470
1398
  msgid "External"
1399
  msgstr "Zunanje"
1400
 
1401
+ #: includes/functions.php:2474
1402
  msgid ""
1403
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1404
  "code installed)"
1406
  "Sledi prikazom in klikom z Google Analytics ali Matomo (potrebuje nameščeno "
1407
  "kodo za sledenje)"
1408
 
1409
+ #: includes/functions.php:2479
1410
  msgid "Track Pageviews"
1411
  msgstr "Sledi Ogledom Strani"
1412
 
1413
+ #: includes/functions.php:2485
1414
  msgid "Track Pageviews by Device (as configured for viewports)"
1415
  msgstr "Sledi Ogledom Strani po Napravah (kot so nastavljene za poglede)"
1416
 
1417
+ #: includes/functions.php:2495
1418
  msgid "Track for Logged in Users"
1419
  msgstr "Sledi za Prijavljene Upor."
1420
 
1421
+ #: includes/functions.php:2501
1422
  msgid "Track impressions and clicks from logged in users"
1423
  msgstr "Sledi prikazom in klikom neprijavljenih uporabnikov"
1424
 
1425
+ #: includes/functions.php:2511
1426
  msgid "Click Detection"
1427
  msgstr "Zaznavanje klikov"
1428
 
1429
+ #: includes/functions.php:2517
1430
  msgid ""
1431
  "Standard method detects clicks only on banners with links, Advanced method "
1432
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1434
  "Standardni način zazna klike samo na pasicah s povezavami, Napredni način "
1435
  "lahko zazna klike na kateremkoli oglasu, ampak je rahlo manj zanesljiv"
1436
 
1437
+ #: includes/functions.php:2543
1438
+ msgid "Report header image"
1439
+ msgstr "Slika v glavi poročila"
1440
+
1441
+ #: includes/functions.php:2546
1442
+ msgid ""
1443
+ "Image or logo to be displayed in the header of the statistins report. "
1444
+ "Aabsolute path starting with '/' or relative path to the image file."
1445
+ msgstr ""
1446
+ "Slika ali logo, ki bo prikazan v glavi poročila statistike. Absolutna pot, "
1447
+ "ki se začne z '/' ali relativna pot do datoteke slike."
1448
+
1449
+ #: includes/functions.php:2547 strings.php:221
1450
+ msgid "Select or upload header image"
1451
+ msgstr "Izberi ali naloži sliko glave"
1452
+
1453
+ #: includes/functions.php:2552
1454
+ msgid "Report header title"
1455
+ msgstr "Naslov v glavi poročila"
1456
+
1457
+ #: includes/functions.php:2555
1458
+ msgid ""
1459
+ "Title to be displayed in the header of the statistins report. Text or HTML "
1460
+ "code."
1461
+ msgstr ""
1462
+ "Naslov, ki bo prikazan v glavi poročila statistike. Besedilo ali HTML koda."
1463
+
1464
+ #: includes/functions.php:2560
1465
+ msgid "Report header description"
1466
+ msgstr "Opis v glavi poročila"
1467
+
1468
+ #: includes/functions.php:2563
1469
+ msgid ""
1470
+ "Description to be displayed in the header of the statistins report. Text or "
1471
+ "HTML code."
1472
+ msgstr ""
1473
+ "Opis, ki bo prikazan v glavi poročila statistike. Besedilo ali HTML koda."
1474
+
1475
+ #: includes/functions.php:2595
1476
  msgid "Are you sure you want to clear all exceptions for block"
1477
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za blok"
1478
 
1479
+ #: includes/functions.php:2596 settings.php:1036
1480
  msgid "Clear all exceptions for block"
1481
  msgstr "Pobriši vse izjeme za blok"
1482
 
1483
+ #: includes/functions.php:2603
1484
  msgid "Are you sure you want to clear all exceptions?"
1485
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme?"
1486
 
1487
+ #: includes/functions.php:2603
1488
  msgid "Clear all exceptions for all blocks"
1489
  msgstr "Pobriši vse izjeme za vse bloke"
1490
 
1491
+ #: includes/functions.php:2608 settings.php:3414
1492
  msgid "Type"
1493
  msgstr "Vrsta"
1494
 
1495
+ #: includes/functions.php:2626
1496
  msgid "View"
1497
  msgstr "Poglej"
1498
 
1499
+ #: includes/functions.php:2627 includes/placeholders.php:346
1500
+ #: includes/preview.php:2083 settings.php:1175
1501
  msgid "Edit"
1502
  msgstr "Uredi"
1503
 
1504
+ #: includes/functions.php:2657
1505
  msgid "Are you sure you want to clear all exceptions for"
1506
  msgstr "Ali ste prepričani, da želite pobrisati vse izjeme za"
1507
 
1508
+ #: includes/functions.php:2658
1509
  msgid "Clear all exceptions for"
1510
  msgstr "Pobriši vse izjeme za"
1511
 
1512
+ #: includes/functions.php:2671
1513
  msgid "No exceptions"
1514
  msgstr "Brez izjem"
1515
 
1516
  #. translators: %s: Ad Inserter Pro
1517
+ #: includes/functions.php:2682
1518
  msgid "%s options for network blogs"
1519
  msgstr "%s izbire za omrežne bloge"
1520
 
1521
  #. translators: %s: Ad Inserter Pro
1522
+ #: includes/functions.php:2687
1523
  msgid "Enable %s widgets for sub-sites"
1524
  msgstr "Omogoči %s gradnik za pod-spletišča"
1525
 
1526
+ #: includes/functions.php:2687
1527
  msgid "Widgets"
1528
  msgstr "Gradniki"
1529
 
1530
+ #: includes/functions.php:2692
1531
  msgid "Enable PHP code processing for sub-sites"
1532
  msgstr "Omogoči procesiranje PHP kode za pod-spletišča"
1533
 
1534
+ #: includes/functions.php:2692
1535
  msgid "PHP Processing"
1536
  msgstr "PHP Procesiranje"
1537
 
1538
  #. translators: %s: Ad Inserter Pro
1539
+ #: includes/functions.php:2697
1540
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1541
  msgstr ""
1542
  "Omogoči %s izjeme blokov v urejevalniku prispevkov/strani za pod-spletišča"
1543
 
1544
+ #: includes/functions.php:2697
1545
  msgid "Post/Page exceptions"
1546
  msgstr "Izjeme prispevkov/strani"
1547
 
1548
  #. translators: %s: Ad Inserter Pro
1549
+ #: includes/functions.php:2702
1550
  msgid "Enable %s settings page for sub-sites"
1551
  msgstr "Omogoči nastavitveno stran %s za pod-spletišča"
1552
 
1553
+ #: includes/functions.php:2702
1554
  msgid "Settings page"
1555
  msgstr "Stran z nastavitvami"
1556
 
1557
  #. translators: %s: Ad Inserter Pro
1558
+ #: includes/functions.php:2707
1559
  msgid "Enable %s settings of main site to be used for all blogs"
1560
  msgstr "Omogoči %s nastavitve glavnega spletišča za uporabo na vseh blogih"
1561
 
1562
+ #: includes/functions.php:2707
1563
  msgid "Main site settings used for all blogs"
1564
  msgstr "Nastavitve glavnega spletišča uporabljene na vseh blogih"
1565
 
1566
+ #: includes/functions.php:2718 settings.php:2402
1567
  msgid "Ad Blocking Detection"
1568
  msgstr "Zaznavanje Blokiranja Oglasov"
1569
 
1570
+ #: includes/functions.php:2724
1571
  msgid ""
1572
  "Standard method is reliable but should be used only if Advanced method does "
1573
  "not work. Advanced method recreates files used for detection with random "
1579
  "imeni in mogoče ne bo deloval s skriptami v upload mapi, če ta ni javno "
1580
  "dostopna"
1581
 
1582
+ #: includes/functions.php:3120 includes/functions.php:3210
1583
+ #: includes/functions.php:3230
1584
  msgid "AD BLOCKING"
1585
  msgstr "BLOKIRANJE OGLASOV"
1586
 
1587
+ #: includes/functions.php:3121 includes/functions.php:3161
1588
+ #: includes/functions.php:3204 includes/functions.php:3231
1589
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1590
  msgstr "BLOK VSTAVLJEN, VENDAR NI VIDEN"
1591
 
1592
+ #: includes/functions.php:3124 includes/functions.php:3203
1593
+ #: includes/functions.php:3237
1594
  msgid "NO AD BLOCKING"
1595
  msgstr "NI BLOKIRANJA OGLASOV"
1596
 
1597
+ #: includes/functions.php:3160 includes/functions.php:3167
1598
  msgid "AD BLOCKING REPLACEMENT"
1599
  msgstr "NADOMESTEK V PRIMERU BLOKIRANJA OGLASOV"
1600
 
1601
+ #: includes/functions.php:3428 includes/functions.php:3637
1602
+ msgid "Pageviews"
1603
+ msgstr "Ogledi strani"
1604
+
1605
+ #: includes/functions.php:3574
1606
  msgctxt "Version"
1607
  msgid "Unknown"
1608
  msgstr "Neznana"
1609
 
1610
+ #: includes/functions.php:3574
1611
  msgctxt "Times"
1612
  msgid "DISPLAYED"
1613
  msgstr "PRIKAZANO"
1614
 
1615
+ #: includes/functions.php:3574
1616
  msgid "No version"
1617
  msgstr "Brez različice"
1618
 
1619
+ #: includes/functions.php:3575
1620
  msgctxt "Times"
1621
  msgid "BLOCKED"
1622
  msgstr "BLOKIRANO"
1623
 
1624
+ #: includes/functions.php:3637
 
 
 
 
1625
  msgid "Impressions"
1626
  msgstr "Prikazi"
1627
 
1628
+ #: includes/functions.php:3638 includes/functions.php:3639
1629
+ #: includes/functions.php:3669
1630
  msgid "Clicks"
1631
  msgstr "Kliki"
1632
 
1633
+ #: includes/functions.php:3639
1634
  msgid "events"
1635
  msgstr "dogodki"
1636
 
1637
+ #: includes/functions.php:3640
1638
  msgid "Ad Blocking Share"
1639
  msgstr "Delež blokiranja oglasov"
1640
 
1641
  #. translators: CTR as Click Through Rate
1642
+ #: includes/functions.php:3640 includes/functions.php:3675
1643
  msgid "CTR"
1644
  msgstr "CTR"
1645
 
1646
+ #: includes/functions.php:3757
1647
  msgid "pageviews"
1648
  msgid_plural "pageviews"
1649
  msgstr[0] "ogled strani"
1651
  msgstr[2] "ogledi strani"
1652
  msgstr[3] "ogledov strani"
1653
 
1654
+ #: includes/functions.php:3757
1655
  msgid "impressions"
1656
  msgid_plural "impressions"
1657
  msgstr[0] "prikaz"
1659
  msgstr[2] "prikazi"
1660
  msgstr[3] "prikazov"
1661
 
1662
+ #: includes/functions.php:3761
1663
  msgid "event"
1664
  msgid_plural "events"
1665
  msgstr[0] "dogodek"
1667
  msgstr[2] "dogodki"
1668
  msgstr[3] "dogodkov"
1669
 
1670
+ #: includes/functions.php:3761
1671
  msgid "click"
1672
  msgid_plural "clicks"
1673
  msgstr[0] "klik"
1675
  msgstr[2] "kliki"
1676
  msgstr[3] "klikov"
1677
 
1678
+ #: includes/functions.php:3856
1679
  msgctxt "Pageviews / Impressions"
1680
  msgid "Average"
1681
  msgstr "Povprečni"
1682
 
1683
+ #: includes/functions.php:3877
1684
  msgctxt "Ad Blocking / Clicks"
1685
  msgid "Average"
1686
  msgstr "Povprečno"
1687
 
1688
+ #: includes/functions.php:3901
1689
  msgctxt "Ad Blocking Share / CTR"
1690
  msgid "Average"
1691
  msgstr "Povprečni"
1692
 
1693
+ #. Translators: %s: Ad Inserter Pro
1694
+ #: includes/functions.php:3953
1695
+ msgid "%s Report"
1696
+ msgstr "%s Poročilo"
1697
+
1698
+ #: includes/functions.php:4031
1699
+ msgid "Advanced WordPress Ad Management Plugin"
1700
+ msgstr "Napredni WordPress Vtičnik za Upravljanje z Oglasi"
1701
+
1702
  #: includes/placeholders.php:19
1703
  msgid "Custom"
1704
  msgstr "Po meri"
1816
  msgid "Remove dummy paragraph"
1817
  msgstr "Odstrani testni odstavek"
1818
 
1819
+ #: includes/preview-adb.php:9 includes/preview.php:1780
1820
  msgid "Use current settings"
1821
  msgstr "Uporabi trenutne nastavitve"
1822
 
1843
  msgid "Default"
1844
  msgstr "Privzeto"
1845
 
1846
+ #: includes/preview-adb.php:12 includes/preview.php:1783
1847
  msgid "Close preview window"
1848
  msgstr "Zapri okno predogleda"
1849
 
1864
  msgid "Overlay CSS"
1865
  msgstr "CSS prevleke"
1866
 
1867
+ #: includes/preview.php:146
1868
  msgid "Sticky Code Preview"
1869
  msgstr "Predogled Lepljive Kode"
1870
 
1871
+ #: includes/preview.php:146
1872
  msgid "Code Preview"
1873
  msgstr "Predogled Kode"
1874
 
1875
+ #: includes/preview.php:1778
1876
  msgid "Highlight inserted code"
1877
  msgstr "Označi vstavljeno kodo"
1878
 
1879
+ #: includes/preview.php:1778
1880
  msgid "Highlight"
1881
  msgstr "Označi"
1882
 
1883
+ #: includes/preview.php:1781
1884
  msgid "Reset to block settings"
1885
  msgstr "Ponastavi na nastavitve bloka"
1886
 
1887
+ #: includes/preview.php:1796
1888
  msgid "AdSense ad unit"
1889
  msgstr "Oglasna enota AdSense"
1890
 
1891
+ #: includes/preview.php:1838 includes/preview.php:1875
1892
  msgid "Code"
1893
  msgstr "Koda"
1894
 
1895
+ #: includes/preview.php:1864
1896
  msgid "wrapping div"
1897
  msgstr "div za ovijanje"
1898
 
1899
+ #: includes/preview.php:1869 includes/preview.php:1876
1900
  msgid "background"
1901
  msgstr "ozadje"
1902
 
1903
+ #: includes/preview.php:1894 includes/preview.php:2040
1904
  msgid "Alignment and style"
1905
  msgstr "Poravnava in slog"
1906
 
1907
+ #: includes/preview.php:1962
1908
  msgid "Horizontal margin"
1909
  msgstr "Vodoravni odmik"
1910
 
1911
+ #: includes/preview.php:2011
1912
  msgid "Vertical margin"
1913
  msgstr "Navpični odmik"
1914
 
1915
+ #: includes/preview.php:2033
1916
  msgid "Animate"
1917
  msgstr "Animiraj"
1918
 
1919
+ #: includes/preview.php:2092
1920
  msgid ""
1921
  "This is a preview of the code between dummy paragraphs. Here you can test "
1922
  "various block alignments, visually edit margin and padding values of the "
1931
  "označi ozadje, margin območje div-a za ovijanje in območje kode, gumb "
1932
  "Ponastavi pa vrne vse vrednosti na tiste od trenutnega bloka."
1933
 
1934
+ #: includes/preview.php:2095
1935
  msgid ""
1936
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1937
  "code with the alignment and style as it is set for this block. Highlight "
1941
  "poravnavo in slogom kot je nastavljen za ta blok. Gump Označi označi ozadje, "
1942
  "margin območje div-a za ovijanje in območje kode."
1943
 
1944
+ #: includes/preview.php:2097
1945
  msgid ""
1946
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1947
  "code was loaded from your AdSense account. The ad block is displayed on a "
1953
  "testnimi odstavki, zato je lahko prazen (brez oglasov). Kliknite na gumb "
1954
  "Označi za označitev bloka."
1955
 
1956
+ #: includes/preview.php:2103
1957
  msgid ""
1958
  "You can resize the window (and refresh the page to reload ads) to check "
1959
  "display with different screen widths.\n"
1965
  "Ko ste zadovoljni s poravnavo kliknite na gumb Uporabi in nastavitve se bodo "
1966
  "prenesle v aktivni blok."
1967
 
1968
+ #: includes/preview.php:2105
1969
  msgid ""
1970
  "Please note that the code, block name, alignment and style are taken from "
1971
  "the current block settings (may not be saved).\n"
1978
  "margin in padding ne morete nastaviti. Seveda pa lahko uporabite lastno HTML "
1979
  "kodo za blok."
1980
 
1981
+ #: includes/preview.php:2110 includes/preview.php:2124
1982
+ #: includes/preview.php:2134 includes/preview.php:2144
1983
+ #: includes/preview.php:2154
1984
  msgid ""
1985
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1986
  "code with it's settings is called a block.\n"
2004
  "številka pomeni, da blok uporablja ročno vstavljanje, medtem ko vijolična "
2005
  "številka pomeni, da blok uporablja samodejno in ročno vstavljanje."
2006
 
2007
+ #: includes/preview.php:2115 includes/preview.php:2129
2008
+ #: includes/preview.php:2139 includes/preview.php:2149
2009
+ #: includes/preview.php:2159
2010
  msgid ""
2011
  "Few very important things you need to know in order to insert code and "
2012
  "display some ad:\n"
2029
  "za posamezne izjeme. Uporabite privzeto prazno vrednost, razen, če "
2030
  "uporabljate posamezne izjeme za prispevke/strani."
2031
 
2032
+ #: includes/preview.php:2121
2033
  msgid ""
2034
  "This is a preview of the code for sticky ads. Here you can test various "
2035
  "horizontal and vertical alignments, close button locations, visually edit "
3612
  msgstr ""
3613
  "Položaj ni na razpolago ker predpomnjenje izhoda (zavihek [*]) ni omogočeno"
3614
 
3615
+ #: settings.php:3058 strings.php:217
3616
  msgid "Position not checked yet"
3617
  msgstr "Položaj še ni bil preverjen"
3618
 
3620
  msgid "Toggle active/all blocks"
3621
  msgstr "Preklopi aktive/vse bloke"
3622
 
3623
+ #: settings.php:3093 strings.php:204
3624
  msgid "Rearrange block order"
3625
  msgstr "Preuredi vrstni red blokov"
3626
 
3644
  msgid "Clear authorization to access AdSense account"
3645
  msgstr "Odstrani avtorizacijo za dostop do računa AdSense"
3646
 
3647
+ #: settings.php:3135 settings.php:3500 settings.php:3567 strings.php:212
3648
  msgid "Google AdSense Homepage"
3649
  msgstr "Google AdSense Domača Stran"
3650
 
5051
  msgid "Fixed by viewport"
5052
  msgstr "Fiksna glede na pogled"
5053
 
5054
+ #: strings.php:178
5055
+ msgid "Ad Inserter Pro Report"
5056
+ msgstr "Ad Inserter Pro Poročilo"
5057
+
5058
+ #: strings.php:179
5059
+ msgid "Impressions and clicks"
5060
+ msgstr "Prikazi in Kliki"
5061
+
5062
+ #: strings.php:184
5063
  msgctxt "Button"
5064
  msgid "Hide"
5065
  msgstr "Skrij"
5066
 
5067
+ #: strings.php:185
5068
  msgctxt "Button"
5069
  msgid "Show"
5070
  msgstr "Pokaži"
5071
 
5072
+ #: strings.php:186
5073
  msgid "Insertion expired"
5074
  msgstr "Vstavljanje poteklo"
5075
 
5076
+ #: strings.php:187
5077
  msgid "Duration"
5078
  msgstr "Trajanje"
5079
 
5080
+ #: strings.php:188
5081
  msgid "Invalid end date - must be after start date"
5082
  msgstr "Neveljaven končni datum - mora biti za začetnim datumom"
5083
 
5084
+ #: strings.php:189
5085
  msgid "Invalid start date - only data for 1 year back is available"
5086
  msgstr "Neveljaven začetni datum - na voljo so samo pdatki za 1 leto nataj"
5087
 
5088
+ #: strings.php:190
5089
  msgid "Invalid date range - only data for 1 year can be displayed"
5090
  msgstr ""
5091
  "Neveljavno časovno oddobje - prikažejo se lahko samo podatki za 1 leto nazaj"
5092
 
5093
+ #: strings.php:191 strings.php:192 strings.php:193 strings.php:194
5094
+ #: strings.php:195 strings.php:196
5095
  msgid "day"
5096
  msgid_plural "days"
5097
  msgstr[0] "dan"
5099
  msgstr[2] "dni"
5100
  msgstr[3] "dni"
5101
 
5102
+ #: strings.php:197
5103
  msgid "Warning"
5104
  msgstr "Opozorilo"
5105
 
5106
+ #: strings.php:198
5107
  msgid "Delete"
5108
  msgstr "Pobriši"
5109
 
5110
+ #: strings.php:200
5111
  msgid "Delete all statistics data?"
5112
  msgstr "Pobrišem vse podatke o statistiki?"
5113
 
5114
  #. translators: %s: dates
5115
+ #: strings.php:202
5116
  msgid "Delete statistics data between %s and %s?"
5117
  msgstr "Pobrišem podatke o statistiki med %s in %s?"
5118
 
5119
+ #: strings.php:203
5120
  msgid "Cancel block order rearrangement"
5121
  msgstr "Prekliči preureditev vrstnega reda blokov"
5122
 
5123
+ #: strings.php:205
5124
  msgid "downloading..."
5125
  msgstr "prenašam..."
5126
 
5127
+ #: strings.php:206
5128
  msgid "download error"
5129
  msgstr "napaka pri prenosu"
5130
 
5131
+ #: strings.php:207
5132
  msgid "update error"
5133
  msgstr "napaka pri posodobitvi"
5134
 
5135
+ #: strings.php:208
5136
  msgid "Updating..."
5137
  msgstr "Posodabljam..."
5138
 
5139
+ #: strings.php:210
5140
  msgid "ERROR"
5141
  msgstr "NAPAKA"
5142
 
5143
+ #: strings.php:211
5144
  msgid "Error reloading settings"
5145
  msgstr "Napaka pri nalaganju nastavitev"
5146
 
5147
+ #: strings.php:213
5148
  msgctxt "Search field placeholder"
5149
  msgid "Search..."
5150
  msgstr "Išči..."
5151
 
5152
+ #: strings.php:214
5153
  msgctxt "Search field placeholder"
5154
  msgid "Filter..."
5155
  msgstr "Filter..."
5156
 
5157
+ #: strings.php:215
5158
  msgid "Use filter to limit names in the list"
5159
  msgstr "Uporabite filter za omejitev imen v seznamu"
5160
 
5161
+ #: strings.php:216
5162
  msgctxt "Button"
5163
  msgid "Filter"
5164
  msgstr "Filter"
5165
 
5166
+ #: strings.php:218
5167
  msgid "Position not available"
5168
  msgstr "Položaj ni na razpolago"
5169
 
5170
+ #: strings.php:219
5171
  msgid ""
5172
  "Theme check | Selected position for automatic insertion might not be not "
5173
  "available on this page type"
5175
  "Preverjanje teme | Izbran položaj za samodejno vstavljanje mogoče ni na "
5176
  "razpolago na tem tipu strani"
5177
 
5178
+ #: strings.php:220
5179
  msgid "Position available"
5180
  msgstr "Položaj na razpolago"
5181
 
5182
+ #: strings.php:222
5183
+ msgid "Select or upload banner image"
5184
+ msgstr "Izberi ali naloži sliko pasice"
5185
+
5186
+ #: strings.php:223
5187
+ msgid "Use this image"
5188
+ msgstr "Uporabi to sliko"
5189
+
5190
+ #: strings.php:236
5191
  msgid "Add"
5192
  msgstr "Dodaj"
5193
 
5194
+ #: strings.php:237
5195
  msgid "Parent"
5196
  msgstr "Starš"
5197
 
5198
+ #: strings.php:238
5199
  msgid "Cancel element selection"
5200
  msgstr "Prekliči izbor HTML elementa"
5201
 
5202
+ #: strings.php:239
5203
  msgid "Select parent element"
5204
  msgstr "Izberi starševski element"
5205
 
5206
+ #: strings.php:240
5207
  msgid "CSS selector"
5208
  msgstr "CSS selektor"
5209
 
5210
+ #: strings.php:241
5211
  msgid "Use current selector"
5212
  msgstr "Uporabi trenutni selektor"
5213
 
5214
+ #: strings.php:242
5215
  msgid "ELEMENT"
5216
  msgstr "ELEMENT"
5217
 
5218
+ #: strings.php:243
5219
  msgid "PATH"
5220
  msgstr "POT"
5221
 
5222
+ #: strings.php:244
5223
  msgid "SELECTOR"
5224
  msgstr "SELEKTOR"
5225
 
5226
+ #: strings.php:245
5227
  msgctxt "Block"
5228
  msgid "VISIBLE"
5229
  msgstr "VIDEN"
5230
 
5231
+ #: strings.php:246
5232
  msgctxt "Block"
5233
  msgid "HIDDEN"
5234
  msgstr "SKRIT"
5241
  "Upravljanje z oglasi z veliko naprednimi funkcijami za vstavljanje oglasov "
5242
  "na optimalna mesta"
5243
 
5244
+ #~ msgid "Export Statistics"
5245
+ #~ msgstr "Izvozi Statistiko"
5246
+
5247
  #~ msgid "Position not available on single pages"
5248
  #~ msgstr "Položaj ni na razpolago na enojnih straneh"
5249
 
languages/ad-inserter.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Ad Inserter package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Ad Inserter 2.4.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
- "POT-Creation-Date: 2019-01-16 20:23:00+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,465 +12,465 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: ad-inserter.php:296
16
  msgctxt "Menu item"
17
  msgid "Debugging DEMO"
18
  msgstr ""
19
 
20
- #: ad-inserter.php:312
21
  msgctxt "Menu item"
22
  msgid "Label Blocks"
23
  msgstr ""
24
 
25
- #: ad-inserter.php:319
26
  msgctxt "Menu item"
27
  msgid "Show Positions"
28
  msgstr ""
29
 
30
- #: ad-inserter.php:390
31
  msgctxt "Menu item"
32
  msgid "Show HTML Tags"
33
  msgstr ""
34
 
35
- #: ad-inserter.php:397
36
  msgctxt "Menu item"
37
  msgid "Disable Insertion"
38
  msgstr ""
39
 
40
- #: ad-inserter.php:406
41
  msgctxt "Menu item"
42
  msgid "Ad Blocking Status"
43
  msgstr ""
44
 
45
- #: ad-inserter.php:413
46
  msgctxt "Menu item"
47
  msgid "Simulate Ad Blocking"
48
  msgstr ""
49
 
50
- #: ad-inserter.php:423
51
  msgctxt "Menu item"
52
  msgid "Log Processing"
53
  msgstr ""
54
 
55
  #. translators: Debugging position name Before HTML element
56
- #: ad-inserter.php:947
57
  msgid "Before"
58
  msgstr ""
59
 
60
  #. translators: Debugging position name After HTML element
61
- #: ad-inserter.php:952
62
  msgid "After"
63
  msgstr ""
64
 
65
  #. translators: Debugging position name Prepend content of HTML element (before
66
  #. the content of the HTML element)
67
- #: ad-inserter.php:957 strings.php:98
68
  msgid "Prepend content"
69
  msgstr ""
70
 
71
  #. translators: Debugging position name Append content of HTML element (after
72
  #. the content of the HTML element)
73
- #: ad-inserter.php:962 strings.php:99
74
  msgid "Append content"
75
  msgstr ""
76
 
77
  #. translators: Debugging position name Replace content of HTML element
78
- #: ad-inserter.php:967 strings.php:100
79
  msgid "Replace content"
80
  msgstr ""
81
 
82
  #. translators: Debugging position name Replace HTML element
83
- #: ad-inserter.php:972 strings.php:150
84
  msgid "Replace"
85
  msgstr ""
86
 
87
  #. translators: Debugging message when output buffering is enabled
88
- #: ad-inserter.php:1017
89
  msgid "OUTPUT BUFFERING"
90
  msgstr ""
91
 
92
  #. translators: Debugging position
93
- #: ad-inserter.php:1021
94
  msgid "Above Header"
95
  msgstr ""
96
 
97
- #: ad-inserter.php:1223
98
  msgctxt "Menu item"
99
  msgid "Log In"
100
  msgstr ""
101
 
102
  #. translators: %s: Ad Inserter
103
- #: ad-inserter.php:1498 ad-inserter.php:2361
104
  msgid "%s Settings"
105
  msgstr ""
106
 
107
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
108
- #: ad-inserter.php:1932
109
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
110
  msgstr ""
111
 
112
- #: ad-inserter.php:1932
113
  msgid "NO ACTION"
114
  msgstr ""
115
 
116
- #: ad-inserter.php:1933
117
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
118
  msgstr ""
119
 
120
- #: ad-inserter.php:1934
121
  msgid "AD BLOCKING DETECTED - ACTION"
122
  msgstr ""
123
 
124
- #: ad-inserter.php:1935
125
  msgid "AD BLOCKING NOT DETECTED"
126
  msgstr ""
127
 
128
- #: ad-inserter.php:1936
129
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
130
  msgstr ""
131
 
132
- #: ad-inserter.php:1937
133
  msgid "AD BLOCKING DETECTED - NO ACTION"
134
  msgstr ""
135
 
136
  #. Translators: 1: number of blocks, 2: Ad Inserter
137
- #: ad-inserter.php:2132
138
  msgid "Hey, you are now using %1$s %2$s block."
139
  msgid_plural "Hey, you are now using %1$s %2$s blocks."
140
  msgstr[0] ""
141
  msgstr[1] ""
142
 
143
- #: ad-inserter.php:2133 includes/functions.php:1464
144
  msgid "No, thank you."
145
  msgstr ""
146
 
147
  #. Translators: %s: Ad Inserter
148
- #: ad-inserter.php:2136
149
  msgid ""
150
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
151
  msgstr ""
152
 
153
- #: ad-inserter.php:2137 includes/functions.php:1466
154
  msgid "Not now, maybe later."
155
  msgstr ""
156
 
157
- #: ad-inserter.php:2147
158
  msgid ""
159
  "I would really appreciate it if you could give the plugin a 5-star rating on "
160
  "WordPres."
161
  msgstr ""
162
 
163
- #: ad-inserter.php:2149
164
  msgid ""
165
  "Positive reviews are a great incentive to fix bugs and to add new features "
166
  "for better monetization of your website. Thank you, Igor"
167
  msgstr ""
168
 
169
  #. translators: %s: Ad Inserter
170
- #: ad-inserter.php:2155
171
  msgid "Rate %s"
172
  msgstr ""
173
 
174
- #: ad-inserter.php:2160
175
  msgid "I already did."
176
  msgstr ""
177
 
178
- #: ad-inserter.php:2174
179
  msgctxt "Menu item"
180
  msgid "Settings"
181
  msgstr ""
182
 
183
  #. translators: %s: Ad Inserter
184
- #: ad-inserter.php:2248
185
  msgctxt "Meta box name"
186
  msgid "%s Individual Exceptions"
187
  msgstr ""
188
 
189
- #: ad-inserter.php:2277 ad-inserter.php:7754 class.php:1926
190
- #: includes/preview.php:1792 includes/preview.php:1836
191
- #: includes/preview.php:1873 settings.php:3337 strings.php:3
192
  msgid "Block"
193
  msgstr ""
194
 
195
- #: ad-inserter.php:2278 settings.php:3338 settings.php:3412
196
  msgid "Name"
197
  msgstr ""
198
 
199
- #: ad-inserter.php:2279 settings.php:3340
200
  msgid "Automatic insertion"
201
  msgstr ""
202
 
203
- #: ad-inserter.php:2282
204
  msgid "Default insertion for pages"
205
  msgstr ""
206
 
207
- #: ad-inserter.php:2283
208
  msgid "Default insertion for posts"
209
  msgstr ""
210
 
211
  #. translators: For this post or page
212
- #: ad-inserter.php:2286
213
  msgctxt "Page"
214
  msgid "For this"
215
  msgstr ""
216
 
217
- #: ad-inserter.php:2287
218
  msgctxt "Post"
219
  msgid "For this"
220
  msgstr ""
221
 
222
- #: ad-inserter.php:2295
223
  msgctxt "Enabled/disabled on all"
224
  msgid "pages"
225
  msgstr ""
226
 
227
- #: ad-inserter.php:2296
228
  msgctxt "Default insertion for"
229
  msgid "pages"
230
  msgstr ""
231
 
232
- #: ad-inserter.php:2300
233
  msgctxt "Enabled/disabled on all"
234
  msgid "posts"
235
  msgstr ""
236
 
237
- #: ad-inserter.php:2301
238
  msgctxt "Default insertion for"
239
  msgid "posts"
240
  msgstr ""
241
 
242
- #: ad-inserter.php:2320 ad-inserter.php:2333 strings.php:156
243
  msgid "Enabled"
244
  msgstr ""
245
 
246
  #. translators: Menu items
247
- #: ad-inserter.php:2320 ad-inserter.php:2333 includes/functions.php:2048
248
  #: strings.php:16
249
  msgid "Disabled"
250
  msgstr ""
251
 
252
  #. translators: Enabled on all pages or posts
253
- #: ad-inserter.php:2323
254
  msgid "Enabled on all"
255
  msgstr ""
256
 
257
  #. translators: Disabled on all pages or posts
258
- #: ad-inserter.php:2325
259
  msgid "Disabled on all"
260
  msgstr ""
261
 
262
  #. translators: No individual exceptions enabled for pages or posts
263
- #: ad-inserter.php:2353
264
  msgid "No individual exceptions enabled for"
265
  msgstr ""
266
 
267
  #. translators: 1: pages or posts, 2: Ad Inserter Settings (page)
268
- #: ad-inserter.php:2358
269
  msgid ""
270
  "Default insertion for %1$s can be configured for each block on %2$s page - "
271
  "selection next to <strong>Posts</strong> / <strong>Static pages</strong> "
272
  "checkbox.<br />"
273
  msgstr ""
274
 
275
- #: ad-inserter.php:2363
276
  msgid ""
277
  "Default value is <strong>blank</strong> and means no individual exceptions "
278
  "(even if previously defined here).<br />"
279
  msgstr ""
280
 
281
- #: ad-inserter.php:2366
282
  msgctxt "Pages"
283
  msgid ""
284
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
285
  "enabled</strong> to enable individual exception settings on this page.<br />"
286
  msgstr ""
287
 
288
- #: ad-inserter.php:2367
289
  msgctxt "Posts"
290
  msgid ""
291
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
292
  "enabled</strong> to enable individual exception settings on this page.<br />"
293
  msgstr ""
294
 
295
- #: ad-inserter.php:2369
296
  msgid "For more information check page %s"
297
  msgstr ""
298
 
299
  #. translators: Ad Inserter Exceptions documentation page
300
- #: ad-inserter.php:2371
301
  msgid "Individual Exceptions"
302
  msgstr ""
303
 
304
- #: ad-inserter.php:2416
305
  msgid "STATIC PAGE"
306
  msgstr ""
307
 
308
- #: ad-inserter.php:2419
309
  msgid "POST"
310
  msgstr ""
311
 
312
- #: ad-inserter.php:2422
313
  msgid "HOMEPAGE"
314
  msgstr ""
315
 
316
- #: ad-inserter.php:2425
317
  msgid "CATEGORY PAGE"
318
  msgstr ""
319
 
320
- #: ad-inserter.php:2428
321
  msgid "SEARCH PAGE"
322
  msgstr ""
323
 
324
- #: ad-inserter.php:2431
325
  msgid "ARCHIVE PAGE"
326
  msgstr ""
327
 
328
- #: ad-inserter.php:2434
329
  msgid "ERROR 404 PAGE"
330
  msgstr ""
331
 
332
- #: ad-inserter.php:2437
333
  msgid "AJAX CALL"
334
  msgstr ""
335
 
336
- #: ad-inserter.php:2440
337
  msgid "UNKNOWN PAGE TYPE"
338
  msgstr ""
339
 
340
- #: ad-inserter.php:2457
341
  msgid "Click to delete ad blocking detection cokies"
342
  msgstr ""
343
 
344
- #: ad-inserter.php:2458
345
  msgid "AD BLOCKING STATUS UNKNOWN"
346
  msgstr ""
347
 
348
  #. translators: %s: AdSense Auto Ads
349
- #: ad-inserter.php:2482
350
  msgid ""
351
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
352
  "positions"
353
  msgstr ""
354
 
355
- #: ad-inserter.php:2605
356
  msgid "Code for insertion"
357
  msgstr ""
358
 
359
- #: ad-inserter.php:2605
360
  msgid "character"
361
  msgid_plural "characters"
362
  msgstr[0] ""
363
  msgstr[1] ""
364
 
365
- #: ad-inserter.php:2648
366
  msgid "Header code"
367
  msgstr ""
368
 
369
- #: ad-inserter.php:2648
370
  msgctxt "Header code"
371
  msgid "DISABLED"
372
  msgstr ""
373
 
374
- #: ad-inserter.php:2648 ad-inserter.php:2867
375
  msgid "character inserted"
376
  msgid_plural "characters inserted"
377
  msgstr[0] ""
378
  msgstr[1] ""
379
 
380
- #: ad-inserter.php:2681
381
  msgid "Automatically placed by AdSense Auto ads code"
382
  msgstr ""
383
 
384
- #: ad-inserter.php:2867
385
  msgid "Footer code"
386
  msgstr ""
387
 
388
- #: ad-inserter.php:2867
389
  msgctxt "Footer code"
390
  msgid "DISABLED"
391
  msgstr ""
392
 
393
- #: ad-inserter.php:2873
394
  msgid "JAVASCRIPT NOT WORKING"
395
  msgstr ""
396
 
397
- #: ad-inserter.php:2873
398
  msgid "NO JAVASCRIPT ERRORS"
399
  msgstr ""
400
 
401
- #: ad-inserter.php:2873
402
  msgid "JAVASCRIPT ERRORS"
403
  msgstr ""
404
 
405
  #. translators: block name (block with default settings)
406
- #: ad-inserter.php:4922
407
  msgctxt "Block name"
408
  msgid "Default"
409
  msgstr ""
410
 
411
  #. translators: %s: Ad Inserter
412
- #: ad-inserter.php:5493
413
  msgid "Error importing %s settings."
414
  msgstr ""
415
 
416
- #: ad-inserter.php:5494
417
  msgid "Error importing settings for block"
418
  msgid_plural "Error importing settings for blocks:"
419
  msgstr[0] ""
420
  msgstr[1] ""
421
 
422
- #: ad-inserter.php:5543
423
  msgid "Settings saved."
424
  msgstr ""
425
 
426
- #: ad-inserter.php:5628
427
  msgid "Settings cleared."
428
  msgstr ""
429
 
430
- #: ad-inserter.php:5972 ad-inserter.php:5974 ad-inserter.php:5997
431
  msgid "word"
432
  msgid_plural "words"
433
  msgstr[0] ""
434
  msgstr[1] ""
435
 
436
- #: ad-inserter.php:6013 ad-inserter.php:6125
437
  msgid "HTML TAGS REMOVED"
438
  msgstr ""
439
 
440
- #: ad-inserter.php:6201
441
  msgid "BEFORE COMMENTS"
442
  msgstr ""
443
 
444
- #: ad-inserter.php:6309
445
  msgid "AFTER COMMENTS"
446
  msgstr ""
447
 
448
- #: ad-inserter.php:6372
449
  msgid "BETWEEN COMMENTS"
450
  msgstr ""
451
 
452
- #: ad-inserter.php:7404
453
  msgid "requires WordPress 4.0 or newer"
454
  msgstr ""
455
 
456
- #: ad-inserter.php:7404
457
  msgid "Please update!"
458
  msgstr ""
459
 
460
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
461
  #. name with HTML tags will be added)
462
- #: ad-inserter.php:7627
463
  msgid "Thank you for installing"
464
  msgstr ""
465
 
466
  #. translators: Opt-in message: %s: HTML tags
467
- #: ad-inserter.php:7629
468
  msgid ""
469
  "We would like to %s track its usage %s on your site. This is completely "
470
  "optional and can be disabled at any time."
471
  msgstr ""
472
 
473
- #: ad-inserter.php:7631
474
  msgid ""
475
  "We don't record any sensitive data, only information regarding the WordPress "
476
  "environment and plugin usage, which will help us to make improvements to the "
@@ -478,7 +478,7 @@ msgid ""
478
  msgstr ""
479
 
480
  #. translators: Deactivation message: %s: HTML tags
481
- #: ad-inserter.php:7668
482
  msgid ""
483
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
484
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
@@ -486,55 +486,55 @@ msgid ""
486
  msgstr ""
487
 
488
  #. translators: %s: Ad Inserter
489
- #: ad-inserter.php:7711
490
  msgid "%s block."
491
  msgstr ""
492
 
493
  #. translators: widget title
494
- #: ad-inserter.php:7727 ad-inserter.php:7763
495
  msgid "Processing log"
496
  msgstr ""
497
 
498
  #. translators: widget title
499
- #: ad-inserter.php:7729 ad-inserter.php:7764
500
  msgid "Dummy widget"
501
  msgstr ""
502
 
503
  #. translators: widget title
504
- #: ad-inserter.php:7731 ad-inserter.php:7762
505
  msgid "Debugging tools"
506
  msgstr ""
507
 
508
  #. translators: block status (widget title)
509
- #: ad-inserter.php:7738
510
  msgctxt "block"
511
  msgid "PAUSED"
512
  msgstr ""
513
 
514
- #: ad-inserter.php:7739
515
  msgid "WIDGET DISABLED"
516
  msgstr ""
517
 
518
- #: ad-inserter.php:7740
519
  msgid "Unknown block"
520
  msgstr ""
521
 
522
- #: ad-inserter.php:7749 includes/functions.php:2507 settings.php:1033
523
  msgid "Title"
524
  msgstr ""
525
 
526
- #: ad-inserter.php:7771
527
  msgctxt "Widget"
528
  msgid "Sticky"
529
  msgstr ""
530
 
531
- #: ad-inserter.php:7820
532
  msgid ""
533
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
534
  "Inserter you need to first deactivate Ad Inserter Pro."
535
  msgstr ""
536
 
537
- #: ad-inserter.php:7821
538
  msgid ""
539
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
540
  "will clear all settings that are available only in the Pro version "
@@ -542,146 +542,146 @@ msgid ""
542
  msgstr ""
543
 
544
  #. translators: %s: Ad Inserter
545
- #: class.php:452 class.php:461 class.php:464
546
  msgid "PHP error in %s block"
547
  msgstr ""
548
 
549
- #: class.php:1892
550
  msgid "Counters"
551
  msgstr ""
552
 
553
- #: class.php:1896
554
  msgid "Content"
555
  msgstr ""
556
 
557
- #: class.php:1901
558
  msgid "Excerpt"
559
  msgstr ""
560
 
561
- #: class.php:1906 strings.php:17
562
  msgid "Before post"
563
  msgstr ""
564
 
565
- #: class.php:1911 strings.php:18
566
  msgid "After post"
567
  msgstr ""
568
 
569
- #: class.php:1916 settings.php:1619 settings.php:3344
570
  msgid "Widget"
571
  msgstr ""
572
 
573
- #: class.php:1921 settings.php:3342
574
  msgid "PHP function call"
575
  msgstr ""
576
 
577
- #: class.php:1956
578
  msgid "AJAX REQUEST"
579
  msgstr ""
580
 
581
- #: class.php:1959
582
  msgid "Ajax request for block in iframe"
583
  msgstr ""
584
 
585
- #: class.php:1978
586
  msgid "Ajax request url, click to open it in a new tab"
587
  msgstr ""
588
 
589
- #: class.php:1981
590
  msgid "IN THE LOOP"
591
  msgstr ""
592
 
593
- #: class.php:1981
594
  msgid "YES"
595
  msgstr ""
596
 
597
- #: class.php:1981
598
  msgid "NO"
599
  msgstr ""
600
 
601
- #: class.php:2017
602
  msgid "BLOCK"
603
  msgstr ""
604
 
605
- #: class.php:2017
606
  msgctxt "block or widget"
607
  msgid "INSERTED BUT NOT VISIBLE"
608
  msgstr ""
609
 
610
  #. translators: %s: list parameters and type
611
- #: class.php:2410
612
  msgid "parameters='%s' type='%s'"
613
  msgstr ""
614
 
615
  #. translators: %s: list parameters and type
616
- #: class.php:2412
617
  msgid "referers='%s' type='%s'"
618
  msgstr ""
619
 
620
  #. translators: %s: list parameters and type
621
- #: class.php:2473
622
  msgid "countries='%s' type='%s'"
623
  msgstr ""
624
 
625
  #. translators: %s: list parameters and type
626
- #: class.php:2475
627
  msgid "ip addresses='%s' type='%s'"
628
  msgstr ""
629
 
630
- #: class.php:2687 strings.php:222
631
  msgid "BEFORE"
632
  msgstr ""
633
 
634
- #: class.php:2695 strings.php:224
635
  msgid "PREPEND CONTENT"
636
  msgstr ""
637
 
638
- #: class.php:2699 strings.php:225
639
  msgid "APPEND CONTENT"
640
  msgstr ""
641
 
642
- #: class.php:2703 strings.php:226
643
  msgid "REPLACE CONTENT"
644
  msgstr ""
645
 
646
- #: class.php:2707 strings.php:227
647
  msgid "REPLACE ELEMENT"
648
  msgstr ""
649
 
650
- #: class.php:2718 strings.php:223
651
  msgid "AFTER"
652
  msgstr ""
653
 
654
- #: class.php:2785
655
  msgctxt "JavaScript"
656
  msgid "script"
657
  msgstr ""
658
 
659
- #: class.php:2788 settings.php:1888
660
  msgid "for"
661
  msgstr ""
662
 
663
- #: class.php:5308 class.php:5360
664
  msgctxt "category name"
665
  msgid "Uncategorized"
666
  msgstr ""
667
 
668
- #: class.php:5849
669
  msgid ""
670
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
671
  "extension for PHP."
672
  msgstr ""
673
 
674
  #: includes/editor.php:7 includes/placeholders.php:345
675
- #: includes/preview.php:1778 strings.php:229
676
  msgid "Use"
677
  msgstr ""
678
 
679
- #: includes/editor.php:8 includes/preview.php:1779
680
  msgid "Reset"
681
  msgstr ""
682
 
683
  #: includes/editor.php:9 includes/placeholders.php:347
684
- #: includes/preview.php:1781 strings.php:196 strings.php:228
685
  msgid "Cancel"
686
  msgstr ""
687
 
@@ -690,7 +690,7 @@ msgid "Visual Code Editor"
690
  msgstr ""
691
 
692
  #: includes/editor.php:262 includes/preview-adb.php:289
693
- #: includes/preview.php:1768
694
  msgid ""
695
  "This page was not loaded properly. Please check browser, plugins and ad "
696
  "blockers."
@@ -701,511 +701,515 @@ msgid "Error loading page"
701
  msgstr ""
702
 
703
  #: includes/editor.php:264 includes/preview-adb.php:291
704
- #: includes/preview.php:1770
705
  msgid "PAGE BLOCKED"
706
  msgstr ""
707
 
708
- #: includes/functions.php:253
709
  msgid "%d of %d names shown"
710
  msgstr ""
711
 
712
  #. translators: %s: name filter
713
- #: includes/functions.php:272
714
  msgid "No name matches filter"
715
  msgstr ""
716
 
717
- #: includes/functions.php:328 settings.php:174
718
  msgid "Online documentation"
719
  msgstr ""
720
 
721
- #: includes/functions.php:328 settings.php:174
722
  msgid "Documentation"
723
  msgstr ""
724
 
725
- #: includes/functions.php:341 settings.php:187
726
  msgid "Blocks"
727
  msgstr ""
728
 
729
  #. translators: %s: Ad Inserter Pro
730
- #: includes/functions.php:364
731
  msgid ""
732
  "Import %s settings when saving - if checked, the encoded settings below will "
733
  "be imported for all blocks and settings"
734
  msgstr ""
735
 
736
- #: includes/functions.php:364
737
  msgid "Import Settings for"
738
  msgstr ""
739
 
740
- #: includes/functions.php:368
741
  msgid "Saved settings for"
742
  msgstr ""
743
 
744
- #: includes/functions.php:387
745
  msgid "License Key"
746
  msgstr ""
747
 
748
- #: includes/functions.php:390
749
  msgid "License Key for"
750
  msgstr ""
751
 
752
- #: includes/functions.php:396
753
  msgid "Hide license key"
754
  msgstr ""
755
 
756
- #: includes/functions.php:396
757
  msgid "Hide key"
758
  msgstr ""
759
 
760
- #: includes/functions.php:417
761
  msgid "Main content element"
762
  msgstr ""
763
 
764
- #: includes/functions.php:420
765
  msgid ""
766
  "Main content element (#id or .class) for 'Stick to the content' position. "
767
  "Leave empty unless position is not properly calculated."
768
  msgstr ""
769
 
770
- #: includes/functions.php:421 settings.php:1189 settings.php:2444
771
  msgid "Open HTML element selector"
772
  msgstr ""
773
 
774
- #: includes/functions.php:426
775
  msgid "Lazy loading offset"
776
  msgstr ""
777
 
778
- #: includes/functions.php:429
779
  msgid "Offset of the block from the visible viewport when it should be loaded"
780
  msgstr ""
781
 
782
- #: includes/functions.php:440
783
  msgid "Export / Import Block Settings"
784
  msgstr ""
785
 
786
- #: includes/functions.php:455
787
  msgid "Track impressions and clicks for this block"
788
  msgstr ""
789
 
790
- #: includes/functions.php:455
791
  msgid " - global tracking disabled"
792
  msgstr ""
793
 
794
- #: includes/functions.php:464
 
 
 
 
795
  msgid "Toggle Ad Blocking Statistics"
796
  msgstr ""
797
 
798
- #: includes/functions.php:473 includes/functions.php:2377
799
  msgid "Toggle Statistics"
800
  msgstr ""
801
 
802
  #. translators: %s: Ad Inserter Pro
803
- #: includes/functions.php:489
804
  msgid "%s license key is not set. Continue?"
805
  msgstr ""
806
 
807
  #. translators: %s: Ad Inserter Pro
808
- #: includes/functions.php:493
809
  msgid "Invalid %s license key. Continue?"
810
  msgstr ""
811
 
812
  #. translators: %s: Ad Inserter Pro
813
- #: includes/functions.php:497
814
  msgid "%s license overused. Continue?"
815
  msgstr ""
816
 
817
- #: includes/functions.php:501 settings.php:1958
818
  msgid "Save Settings"
819
  msgstr ""
820
 
821
- #: includes/functions.php:561 includes/preview.php:1913
822
  msgid "Horizontal position"
823
  msgstr ""
824
 
825
- #: includes/functions.php:584
826
  msgid ""
827
  "Horizontal margin from the content or screen edge, empty means default value "
828
  "from CSS"
829
  msgstr ""
830
 
831
- #: includes/functions.php:592 includes/preview.php:1968
832
  msgid "Vertical position"
833
  msgstr ""
834
 
835
- #: includes/functions.php:607
836
  msgid ""
837
  "Vertical margin from the top or bottom screen edge, empty means default "
838
  "value from CSS"
839
  msgstr ""
840
 
841
- #: includes/functions.php:632 includes/preview.php:2019
842
  msgid "Animation"
843
  msgstr ""
844
 
845
- #: includes/functions.php:650
846
  msgid "Trigger"
847
  msgstr ""
848
 
849
- #: includes/functions.php:659
850
  msgid ""
851
  "Trigger value: page scroll in %, page scroll in px or element with selector "
852
  "(#id or .class) becomes visible"
853
  msgstr ""
854
 
855
- #: includes/functions.php:663
856
  msgid "Offset"
857
  msgstr ""
858
 
859
- #: includes/functions.php:663
860
  msgid "Offset of trigger element"
861
  msgstr ""
862
 
863
- #: includes/functions.php:667
864
  msgid "Delay"
865
  msgstr ""
866
 
867
- #: includes/functions.php:667
868
  msgid "Delay animation after trigger condition"
869
  msgstr ""
870
 
871
- #: includes/functions.php:671
872
  msgid "Trigger once"
873
  msgstr ""
874
 
875
- #: includes/functions.php:673
876
  msgid "Trigger animation only once"
877
  msgstr ""
878
 
879
- #: includes/functions.php:712
880
  msgid "Tracking is globally disabled"
881
  msgstr ""
882
 
883
- #: includes/functions.php:716
884
  msgid "Tracking for this block is disabled"
885
  msgstr ""
886
 
887
- #: includes/functions.php:726 settings.php:3105 settings.php:3141
888
- #: strings.php:206
889
  msgid "Loading..."
890
  msgstr ""
891
 
892
- #: includes/functions.php:742
893
  msgid ""
894
  "Clear statistics data for the selected range - clear both dates to delete "
895
  "all data for this block"
896
  msgstr ""
897
 
898
- #: includes/functions.php:746
899
  msgid "Auto refresh data for the selected range every 60 seconds"
900
  msgstr ""
901
 
902
- #: includes/functions.php:749
903
  msgid "Load data for last month"
904
  msgstr ""
905
 
906
- #: includes/functions.php:749
907
  msgid "Last Month"
908
  msgstr ""
909
 
910
- #: includes/functions.php:752
911
  msgid "Load data for this month"
912
  msgstr ""
913
 
914
- #: includes/functions.php:752
915
  msgid "This Month"
916
  msgstr ""
917
 
918
- #: includes/functions.php:755
919
  msgid "Load data for this year"
920
  msgstr ""
921
 
922
- #: includes/functions.php:755
923
  msgid "This Year"
924
  msgstr ""
925
 
926
- #: includes/functions.php:758
927
  msgid "Load data for the last 15 days"
928
  msgstr ""
929
 
930
- #: includes/functions.php:761
931
  msgid "Load data for the last 30 days"
932
  msgstr ""
933
 
934
- #: includes/functions.php:764
935
  msgid "Load data for the last 90 days"
936
  msgstr ""
937
 
938
- #: includes/functions.php:767
939
  msgid "Load data for the last 180 days"
940
  msgstr ""
941
 
942
- #: includes/functions.php:770
943
  msgid "Load data for the last 365 days"
944
  msgstr ""
945
 
946
- #: includes/functions.php:780
947
  msgid "Load data for the selected range"
948
  msgstr ""
949
 
950
- #: includes/functions.php:796
951
  msgid ""
952
  "Import settings when saving - if checked, the encoded settings below will be "
953
  "imported for this block"
954
  msgstr ""
955
 
956
- #: includes/functions.php:796
957
  msgid "Import settings for block"
958
  msgstr ""
959
 
960
- #: includes/functions.php:800
961
  msgid ""
962
  "Import block name when saving - if checked and 'Import settings for block' "
963
  "is also checked, the name from encoded settings below will be imported for "
964
  "this block"
965
  msgstr ""
966
 
967
- #: includes/functions.php:800
968
  msgid "Import block name"
969
  msgstr ""
970
 
971
- #: includes/functions.php:804
972
  msgid "Saved settings for block"
973
  msgstr ""
974
 
975
- #: includes/functions.php:817
976
  msgid "Export / Import Ad Inserter Pro Settings"
977
  msgstr ""
978
 
979
- #: includes/functions.php:826
980
  msgid "Are you sure you want to clear all statistics data for all blocks?"
981
  msgstr ""
982
 
983
- #: includes/functions.php:828
984
  msgid "Clear All Statistics Data"
985
  msgstr ""
986
 
987
- #: includes/functions.php:854
988
  msgid "Toggle country/city editor"
989
  msgstr ""
990
 
991
- #: includes/functions.php:860
992
  msgid "IP Addresses"
993
  msgstr ""
994
 
995
- #: includes/functions.php:863
996
  msgid "Toggle IP address editor"
997
  msgstr ""
998
 
999
- #: includes/functions.php:866
1000
  msgid ""
1001
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1002
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1003
  msgstr ""
1004
 
1005
- #: includes/functions.php:870
1006
  msgid "Blacklist IP addresses"
1007
  msgstr ""
1008
 
1009
- #: includes/functions.php:874
1010
  msgid "Whitelist IP addresses"
1011
  msgstr ""
1012
 
1013
- #: includes/functions.php:885
1014
  msgid "Countries"
1015
  msgstr ""
1016
 
1017
- #: includes/functions.php:886
1018
  msgid "Cities"
1019
  msgstr ""
1020
 
1021
- #: includes/functions.php:890 includes/functions.php:2337
1022
  msgid "Toggle country editor"
1023
  msgstr ""
1024
 
1025
- #: includes/functions.php:893
1026
  msgid "Toggle city editor"
1027
  msgstr ""
1028
 
1029
- #: includes/functions.php:897 includes/functions.php:2340
1030
  msgid "Comma separated country ISO Alpha-2 codes"
1031
  msgstr ""
1032
 
1033
- #: includes/functions.php:901
1034
  msgid "Blacklist countries"
1035
  msgstr ""
1036
 
1037
- #: includes/functions.php:905
1038
  msgid "Whitelist countries"
1039
  msgstr ""
1040
 
1041
- #: includes/functions.php:1215 includes/functions.php:1425
1042
  msgid "Enter license key"
1043
  msgstr ""
1044
 
1045
  #. translators: %s: Ad Inserter Pro
1046
- #: includes/functions.php:1221
1047
  msgid ""
1048
  "%s license key is not set. Plugin functionality is limited and updates are "
1049
  "disabled."
1050
  msgstr ""
1051
 
1052
- #: includes/functions.php:1230 includes/functions.php:1434
1053
  msgid "Check license key"
1054
  msgstr ""
1055
 
1056
  #. translators: %s: Ad Inserter Pro
1057
- #: includes/functions.php:1236
1058
  msgid "Invalid %s license key."
1059
  msgstr ""
1060
 
1061
  #. translators: %s: Ad Inserter Pro
1062
- #: includes/functions.php:1245
1063
  msgid "%s license expired. Plugin updates are disabled."
1064
  msgstr ""
1065
 
1066
- #: includes/functions.php:1246
1067
  msgid "Renew license"
1068
  msgstr ""
1069
 
1070
  #. translators: %s: Ad Inserter Pro
1071
- #: includes/functions.php:1254
1072
  msgid "%s license overused. Plugin updates are disabled."
1073
  msgstr ""
1074
 
1075
- #: includes/functions.php:1255
1076
  msgid "Upgrade license"
1077
  msgstr ""
1078
 
1079
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1080
- #: includes/functions.php:1427
1081
  msgid ""
1082
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1083
  "limited and updates are disabled."
1084
  msgstr ""
1085
 
1086
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1087
- #: includes/functions.php:1436
1088
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1089
  msgstr ""
1090
 
1091
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1092
- #: includes/functions.php:1450
1093
  msgid ""
1094
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1095
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1096
  msgstr ""
1097
 
1098
  #. translators: 1, 3: HTML tags, 2: percentage
1099
- #: includes/functions.php:1457
1100
  msgid ""
1101
  "During the license period and 30 days after the license has expired we offer "
1102
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1103
  msgstr ""
1104
 
1105
- #: includes/functions.php:1480
1106
  msgid "Renew the licence"
1107
  msgstr ""
1108
 
1109
- #: includes/functions.php:1482
1110
  msgid "Update license status"
1111
  msgstr ""
1112
 
1113
  #. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
1114
- #: includes/functions.php:1493
1115
  msgid ""
1116
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1117
  "Upgrade license %5$s"
1118
  msgstr ""
1119
 
1120
  #. Translators: %s: HTML tag
1121
- #: includes/functions.php:1513
1122
  msgid "Warning: %s MaxMind IP geolocation database not found."
1123
  msgstr ""
1124
 
1125
- #: includes/functions.php:1977
1126
  msgid "Geolocation"
1127
  msgstr ""
1128
 
1129
- #: includes/functions.php:1981
1130
  msgid "Exceptions"
1131
  msgstr ""
1132
 
1133
- #: includes/functions.php:1986
1134
  msgid "Multisite"
1135
  msgstr ""
1136
 
1137
- #: includes/functions.php:1991
1138
  msgid "Tracking"
1139
  msgstr ""
1140
 
1141
  #. translators: %d: days, hours, minutes
1142
- #: includes/functions.php:2022
1143
  msgid "Scheduled in %d days %d hours %d minutes"
1144
  msgstr ""
1145
 
1146
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1147
  #. HTML code for long dash separator
1148
- #: includes/functions.php:2031
1149
  msgid "Active %s expires in %d days %d hours %d minutes"
1150
  msgstr ""
1151
 
1152
- #: includes/functions.php:2035
1153
  msgid "Expired"
1154
  msgstr ""
1155
 
1156
- #: includes/functions.php:2043 settings.php:1272 settings.php:1287
1157
  #: settings.php:1874
1158
  msgid "and"
1159
  msgstr ""
1160
 
1161
- #: includes/functions.php:2046
1162
  msgid "fallback"
1163
  msgstr ""
1164
 
1165
- #: includes/functions.php:2047
1166
  msgid "Block to be used when scheduling expires"
1167
  msgstr ""
1168
 
1169
- #: includes/functions.php:2072
1170
  msgid "Load in iframe"
1171
  msgstr ""
1172
 
1173
- #: includes/functions.php:2076 includes/placeholders.php:382
1174
  msgid "Width"
1175
  msgstr ""
1176
 
1177
- #: includes/functions.php:2077
1178
  msgid "iframe width, empty means full width (100%)"
1179
  msgstr ""
1180
 
1181
- #: includes/functions.php:2083 includes/placeholders.php:377
1182
  msgid "Height"
1183
  msgstr ""
1184
 
1185
- #: includes/functions.php:2084
1186
  msgid "iframe height, empty means adjust it to iframe content height"
1187
  msgstr ""
1188
 
1189
- #: includes/functions.php:2091
1190
  msgid "Ad label in iframe"
1191
  msgstr ""
1192
 
1193
- #: includes/functions.php:2096
1194
  msgid "Preview iframe code"
1195
  msgstr ""
1196
 
1197
- #: includes/functions.php:2096 includes/preview.php:1790 settings.php:949
1198
  #: settings.php:2506
1199
  msgid "Preview"
1200
  msgstr ""
1201
 
1202
- #: includes/functions.php:2110 includes/functions.php:3465
1203
- #: includes/functions.php:3528 settings.php:1991
1204
  msgid "Ad Blocking"
1205
  msgstr ""
1206
 
1207
  #. translators: 1, 2 and 3, 4: HTML tags
1208
- #: includes/functions.php:2119
1209
  msgid ""
1210
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1211
  "for tracking!"
@@ -1213,226 +1217,260 @@ msgstr ""
1213
 
1214
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1215
  #. header
1216
- #: includes/functions.php:2128
1217
  msgid ""
1218
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1219
  "enabled and automatic insertion %6$s!"
1220
  msgstr ""
1221
 
1222
- #: includes/functions.php:2146
1223
  msgid "When ad blocking is detected"
1224
  msgstr ""
1225
 
1226
- #: includes/functions.php:2155
1227
  msgid "replacement"
1228
  msgstr ""
1229
 
1230
- #: includes/functions.php:2156
1231
  msgid "Block to be shown when ad blocking is detected"
1232
  msgstr ""
1233
 
1234
- #: includes/functions.php:2157
1235
  msgctxt "replacement"
1236
  msgid "None"
1237
  msgstr ""
1238
 
1239
- #: includes/functions.php:2174
1240
  msgid "Close button"
1241
  msgstr ""
1242
 
1243
- #: includes/functions.php:2221
1244
  msgid "Lazy loading"
1245
  msgstr ""
1246
 
1247
  #. Translators: %s MaxMind
1248
- #: includes/functions.php:2272
1249
  msgid "This product includes GeoLite2 data created by %s"
1250
  msgstr ""
1251
 
1252
- #: includes/functions.php:2283
1253
  msgid "IP geolocation database"
1254
  msgstr ""
1255
 
1256
- #: includes/functions.php:2286
1257
  msgid "Select IP geolocation database."
1258
  msgstr ""
1259
 
1260
- #: includes/functions.php:2297
1261
  msgid "Automatic database updates"
1262
  msgstr ""
1263
 
1264
- #: includes/functions.php:2300
1265
  msgid ""
1266
  "Automatically download and update free GeoLite2 IP geolocation database by "
1267
  "MaxMind"
1268
  msgstr ""
1269
 
1270
- #: includes/functions.php:2308
1271
  msgid "Database"
1272
  msgstr ""
1273
 
1274
- #: includes/functions.php:2311
1275
  msgid ""
1276
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1277
  "file"
1278
  msgstr ""
1279
 
1280
  #. translators: %d: group number
1281
- #: includes/functions.php:2329
1282
  msgid "Group %d"
1283
  msgstr ""
1284
 
1285
- #: includes/functions.php:2335
1286
  msgid "countries"
1287
  msgstr ""
1288
 
1289
- #: includes/functions.php:2370
1290
  msgid "Enable tracking"
1291
  msgstr ""
1292
 
1293
- #: includes/functions.php:2385
1294
  msgid "Impression and Click Tracking"
1295
  msgstr ""
1296
 
1297
- #: includes/functions.php:2399
1298
  msgid "Internal"
1299
  msgstr ""
1300
 
1301
- #: includes/functions.php:2403
1302
  msgid "Track impressions and clicks with internal tracking and statistics"
1303
  msgstr ""
1304
 
1305
- #: includes/functions.php:2408
1306
  msgid "External"
1307
  msgstr ""
1308
 
1309
- #: includes/functions.php:2412
1310
  msgid ""
1311
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1312
  "code installed)"
1313
  msgstr ""
1314
 
1315
- #: includes/functions.php:2417
1316
  msgid "Track Pageviews"
1317
  msgstr ""
1318
 
1319
- #: includes/functions.php:2423
1320
  msgid "Track Pageviews by Device (as configured for viewports)"
1321
  msgstr ""
1322
 
1323
- #: includes/functions.php:2433
1324
  msgid "Track for Logged in Users"
1325
  msgstr ""
1326
 
1327
- #: includes/functions.php:2439
1328
  msgid "Track impressions and clicks from logged in users"
1329
  msgstr ""
1330
 
1331
- #: includes/functions.php:2449
1332
  msgid "Click Detection"
1333
  msgstr ""
1334
 
1335
- #: includes/functions.php:2455
1336
  msgid ""
1337
  "Standard method detects clicks only on banners with links, Advanced method "
1338
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1339
  msgstr ""
1340
 
1341
- #: includes/functions.php:2494
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1342
  msgid "Are you sure you want to clear all exceptions for block"
1343
  msgstr ""
1344
 
1345
- #: includes/functions.php:2495 settings.php:1036
1346
  msgid "Clear all exceptions for block"
1347
  msgstr ""
1348
 
1349
- #: includes/functions.php:2502
1350
  msgid "Are you sure you want to clear all exceptions?"
1351
  msgstr ""
1352
 
1353
- #: includes/functions.php:2502
1354
  msgid "Clear all exceptions for all blocks"
1355
  msgstr ""
1356
 
1357
- #: includes/functions.php:2507 settings.php:3414
1358
  msgid "Type"
1359
  msgstr ""
1360
 
1361
- #: includes/functions.php:2525
1362
  msgid "View"
1363
  msgstr ""
1364
 
1365
- #: includes/functions.php:2526 includes/placeholders.php:346
1366
- #: includes/preview.php:2081 settings.php:1175
1367
  msgid "Edit"
1368
  msgstr ""
1369
 
1370
- #: includes/functions.php:2556
1371
  msgid "Are you sure you want to clear all exceptions for"
1372
  msgstr ""
1373
 
1374
- #: includes/functions.php:2557
1375
  msgid "Clear all exceptions for"
1376
  msgstr ""
1377
 
1378
- #: includes/functions.php:2570
1379
  msgid "No exceptions"
1380
  msgstr ""
1381
 
1382
  #. translators: %s: Ad Inserter Pro
1383
- #: includes/functions.php:2581
1384
  msgid "%s options for network blogs"
1385
  msgstr ""
1386
 
1387
  #. translators: %s: Ad Inserter Pro
1388
- #: includes/functions.php:2586
1389
  msgid "Enable %s widgets for sub-sites"
1390
  msgstr ""
1391
 
1392
- #: includes/functions.php:2586
1393
  msgid "Widgets"
1394
  msgstr ""
1395
 
1396
- #: includes/functions.php:2591
1397
  msgid "Enable PHP code processing for sub-sites"
1398
  msgstr ""
1399
 
1400
- #: includes/functions.php:2591
1401
  msgid "PHP Processing"
1402
  msgstr ""
1403
 
1404
  #. translators: %s: Ad Inserter Pro
1405
- #: includes/functions.php:2596
1406
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1407
  msgstr ""
1408
 
1409
- #: includes/functions.php:2596
1410
  msgid "Post/Page exceptions"
1411
  msgstr ""
1412
 
1413
  #. translators: %s: Ad Inserter Pro
1414
- #: includes/functions.php:2601
1415
  msgid "Enable %s settings page for sub-sites"
1416
  msgstr ""
1417
 
1418
- #: includes/functions.php:2601
1419
  msgid "Settings page"
1420
  msgstr ""
1421
 
1422
  #. translators: %s: Ad Inserter Pro
1423
- #: includes/functions.php:2606
1424
  msgid "Enable %s settings of main site to be used for all blogs"
1425
  msgstr ""
1426
 
1427
- #: includes/functions.php:2606
1428
  msgid "Main site settings used for all blogs"
1429
  msgstr ""
1430
 
1431
- #: includes/functions.php:2617 settings.php:2402
1432
  msgid "Ad Blocking Detection"
1433
  msgstr ""
1434
 
1435
- #: includes/functions.php:2623
1436
  msgid ""
1437
  "Standard method is reliable but should be used only if Advanced method does "
1438
  "not work. Advanced method recreates files used for detection with random "
@@ -1440,109 +1478,118 @@ msgid ""
1440
  "publicly accessible"
1441
  msgstr ""
1442
 
1443
- #: includes/functions.php:3019 includes/functions.php:3109
1444
- #: includes/functions.php:3129
1445
  msgid "AD BLOCKING"
1446
  msgstr ""
1447
 
1448
- #: includes/functions.php:3020 includes/functions.php:3060
1449
- #: includes/functions.php:3103 includes/functions.php:3130
1450
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1451
  msgstr ""
1452
 
1453
- #: includes/functions.php:3023 includes/functions.php:3102
1454
- #: includes/functions.php:3136
1455
  msgid "NO AD BLOCKING"
1456
  msgstr ""
1457
 
1458
- #: includes/functions.php:3059 includes/functions.php:3066
1459
  msgid "AD BLOCKING REPLACEMENT"
1460
  msgstr ""
1461
 
1462
- #: includes/functions.php:3464
 
 
 
 
1463
  msgctxt "Version"
1464
  msgid "Unknown"
1465
  msgstr ""
1466
 
1467
- #: includes/functions.php:3464
1468
  msgctxt "Times"
1469
  msgid "DISPLAYED"
1470
  msgstr ""
1471
 
1472
- #: includes/functions.php:3464
1473
  msgid "No version"
1474
  msgstr ""
1475
 
1476
- #: includes/functions.php:3465
1477
  msgctxt "Times"
1478
  msgid "BLOCKED"
1479
  msgstr ""
1480
 
1481
- #: includes/functions.php:3527
1482
- msgid "Pageviews"
1483
- msgstr ""
1484
-
1485
- #: includes/functions.php:3527
1486
  msgid "Impressions"
1487
  msgstr ""
1488
 
1489
- #: includes/functions.php:3528 includes/functions.php:3529
1490
- #: includes/functions.php:3537
1491
  msgid "Clicks"
1492
  msgstr ""
1493
 
1494
- #: includes/functions.php:3529
1495
  msgid "events"
1496
  msgstr ""
1497
 
1498
- #: includes/functions.php:3530
1499
  msgid "Ad Blocking Share"
1500
  msgstr ""
1501
 
1502
  #. translators: CTR as Click Through Rate
1503
- #: includes/functions.php:3530 includes/functions.php:3542
1504
  msgid "CTR"
1505
  msgstr ""
1506
 
1507
- #: includes/functions.php:3624
1508
  msgid "pageviews"
1509
  msgid_plural "pageviews"
1510
  msgstr[0] ""
1511
  msgstr[1] ""
1512
 
1513
- #: includes/functions.php:3624
1514
  msgid "impressions"
1515
  msgid_plural "impressions"
1516
  msgstr[0] ""
1517
  msgstr[1] ""
1518
 
1519
- #: includes/functions.php:3628
1520
  msgid "event"
1521
  msgid_plural "events"
1522
  msgstr[0] ""
1523
  msgstr[1] ""
1524
 
1525
- #: includes/functions.php:3628
1526
  msgid "click"
1527
  msgid_plural "clicks"
1528
  msgstr[0] ""
1529
  msgstr[1] ""
1530
 
1531
- #: includes/functions.php:3696
1532
  msgctxt "Pageviews / Impressions"
1533
  msgid "Average"
1534
  msgstr ""
1535
 
1536
- #: includes/functions.php:3714
1537
  msgctxt "Ad Blocking / Clicks"
1538
  msgid "Average"
1539
  msgstr ""
1540
 
1541
- #: includes/functions.php:3731
1542
  msgctxt "Ad Blocking Share / CTR"
1543
  msgid "Average"
1544
  msgstr ""
1545
 
 
 
 
 
 
 
 
 
 
1546
  #: includes/placeholders.php:19
1547
  msgid "Custom"
1548
  msgstr ""
@@ -1635,7 +1682,7 @@ msgstr ""
1635
  msgid "Remove dummy paragraph"
1636
  msgstr ""
1637
 
1638
- #: includes/preview-adb.php:9 includes/preview.php:1778
1639
  msgid "Use current settings"
1640
  msgstr ""
1641
 
@@ -1662,7 +1709,7 @@ msgctxt "Button"
1662
  msgid "Default"
1663
  msgstr ""
1664
 
1665
- #: includes/preview-adb.php:12 includes/preview.php:1781
1666
  msgid "Close preview window"
1667
  msgstr ""
1668
 
@@ -1683,59 +1730,59 @@ msgstr ""
1683
  msgid "Overlay CSS"
1684
  msgstr ""
1685
 
1686
- #: includes/preview.php:144
1687
  msgid "Sticky Code Preview"
1688
  msgstr ""
1689
 
1690
- #: includes/preview.php:144
1691
  msgid "Code Preview"
1692
  msgstr ""
1693
 
1694
- #: includes/preview.php:1776
1695
  msgid "Highlight inserted code"
1696
  msgstr ""
1697
 
1698
- #: includes/preview.php:1776
1699
  msgid "Highlight"
1700
  msgstr ""
1701
 
1702
- #: includes/preview.php:1779
1703
  msgid "Reset to block settings"
1704
  msgstr ""
1705
 
1706
- #: includes/preview.php:1794
1707
  msgid "AdSense ad unit"
1708
  msgstr ""
1709
 
1710
- #: includes/preview.php:1836 includes/preview.php:1873
1711
  msgid "Code"
1712
  msgstr ""
1713
 
1714
- #: includes/preview.php:1862
1715
  msgid "wrapping div"
1716
  msgstr ""
1717
 
1718
- #: includes/preview.php:1867 includes/preview.php:1874
1719
  msgid "background"
1720
  msgstr ""
1721
 
1722
- #: includes/preview.php:1892 includes/preview.php:2038
1723
  msgid "Alignment and style"
1724
  msgstr ""
1725
 
1726
- #: includes/preview.php:1960
1727
  msgid "Horizontal margin"
1728
  msgstr ""
1729
 
1730
- #: includes/preview.php:2009
1731
  msgid "Vertical margin"
1732
  msgstr ""
1733
 
1734
- #: includes/preview.php:2031
1735
  msgid "Animate"
1736
  msgstr ""
1737
 
1738
- #: includes/preview.php:2090
1739
  msgid ""
1740
  "This is a preview of the code between dummy paragraphs. Here you can test "
1741
  "various block alignments, visually edit margin and padding values of the "
@@ -1745,14 +1792,14 @@ msgid ""
1745
  "restores all the values to those of the current block."
1746
  msgstr ""
1747
 
1748
- #: includes/preview.php:2093
1749
  msgid ""
1750
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1751
  "code with the alignment and style as it is set for this block. Highlight "
1752
  "button highlights background, wrapping div margin and code area."
1753
  msgstr ""
1754
 
1755
- #: includes/preview.php:2095
1756
  msgid ""
1757
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1758
  "code was loaded from your AdSense account. The ad block is displayed on a "
@@ -1760,7 +1807,7 @@ msgid ""
1760
  "highlight ad block."
1761
  msgstr ""
1762
 
1763
- #: includes/preview.php:2101
1764
  msgid ""
1765
  "You can resize the window (and refresh the page to reload ads) to check "
1766
  "display with different screen widths.\n"
@@ -1768,7 +1815,7 @@ msgid ""
1768
  "settings will be copied to the active block."
1769
  msgstr ""
1770
 
1771
- #: includes/preview.php:2103
1772
  msgid ""
1773
  "Please note that the code, block name, alignment and style are taken from "
1774
  "the current block settings (may not be saved).\n"
@@ -1776,9 +1823,9 @@ msgid ""
1776
  "padding can't be set. However, you can use own HTML code for the block."
1777
  msgstr ""
1778
 
1779
- #: includes/preview.php:2108 includes/preview.php:2122
1780
- #: includes/preview.php:2132 includes/preview.php:2142
1781
- #: includes/preview.php:2152
1782
  msgid ""
1783
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1784
  "code with it's settings is called a block.\n"
@@ -1792,9 +1839,9 @@ msgid ""
1792
  "and manual insertion."
1793
  msgstr ""
1794
 
1795
- #: includes/preview.php:2113 includes/preview.php:2127
1796
- #: includes/preview.php:2137 includes/preview.php:2147
1797
- #: includes/preview.php:2157
1798
  msgid ""
1799
  "Few very important things you need to know in order to insert code and "
1800
  "display some ad:\n"
@@ -1807,7 +1854,7 @@ msgid ""
1807
  "individual post/page exceptions."
1808
  msgstr ""
1809
 
1810
- #: includes/preview.php:2119
1811
  msgid ""
1812
  "This is a preview of the code for sticky ads. Here you can test various "
1813
  "horizontal and vertical alignments, close button locations, visually edit "
@@ -3233,7 +3280,7 @@ msgid ""
3233
  "Position not available because output buffering (tab [*]) is not enabled"
3234
  msgstr ""
3235
 
3236
- #: settings.php:3058 strings.php:214
3237
  msgid "Position not checked yet"
3238
  msgstr ""
3239
 
@@ -3241,7 +3288,7 @@ msgstr ""
3241
  msgid "Toggle active/all blocks"
3242
  msgstr ""
3243
 
3244
- #: settings.php:3093 strings.php:201
3245
  msgid "Rearrange block order"
3246
  msgstr ""
3247
 
@@ -3265,7 +3312,7 @@ msgstr ""
3265
  msgid "Clear authorization to access AdSense account"
3266
  msgstr ""
3267
 
3268
- #: settings.php:3135 settings.php:3500 settings.php:3567 strings.php:209
3269
  msgid "Google AdSense Homepage"
3270
  msgstr ""
3271
 
@@ -4575,163 +4622,179 @@ msgctxt "size"
4575
  msgid "Fixed by viewport"
4576
  msgstr ""
4577
 
4578
- #: strings.php:181
 
 
 
 
 
 
 
 
4579
  msgctxt "Button"
4580
  msgid "Hide"
4581
  msgstr ""
4582
 
4583
- #: strings.php:182
4584
  msgctxt "Button"
4585
  msgid "Show"
4586
  msgstr ""
4587
 
4588
- #: strings.php:183
4589
  msgid "Insertion expired"
4590
  msgstr ""
4591
 
4592
- #: strings.php:184
4593
  msgid "Duration"
4594
  msgstr ""
4595
 
4596
- #: strings.php:185
4597
  msgid "Invalid end date - must be after start date"
4598
  msgstr ""
4599
 
4600
- #: strings.php:186
4601
  msgid "Invalid start date - only data for 1 year back is available"
4602
  msgstr ""
4603
 
4604
- #: strings.php:187
4605
  msgid "Invalid date range - only data for 1 year can be displayed"
4606
  msgstr ""
4607
 
4608
- #: strings.php:188 strings.php:189 strings.php:190 strings.php:191
4609
- #: strings.php:192 strings.php:193
4610
  msgid "day"
4611
  msgid_plural "days"
4612
  msgstr[0] ""
4613
  msgstr[1] ""
4614
 
4615
- #: strings.php:194
4616
  msgid "Warning"
4617
  msgstr ""
4618
 
4619
- #: strings.php:195
4620
  msgid "Delete"
4621
  msgstr ""
4622
 
4623
- #: strings.php:197
4624
  msgid "Delete all statistics data?"
4625
  msgstr ""
4626
 
4627
  #. translators: %s: dates
4628
- #: strings.php:199
4629
  msgid "Delete statistics data between %s and %s?"
4630
  msgstr ""
4631
 
4632
- #: strings.php:200
4633
  msgid "Cancel block order rearrangement"
4634
  msgstr ""
4635
 
4636
- #: strings.php:202
4637
  msgid "downloading..."
4638
  msgstr ""
4639
 
4640
- #: strings.php:203
4641
  msgid "download error"
4642
  msgstr ""
4643
 
4644
- #: strings.php:204
4645
  msgid "update error"
4646
  msgstr ""
4647
 
4648
- #: strings.php:205
4649
  msgid "Updating..."
4650
  msgstr ""
4651
 
4652
- #: strings.php:207
4653
  msgid "ERROR"
4654
  msgstr ""
4655
 
4656
- #: strings.php:208
4657
  msgid "Error reloading settings"
4658
  msgstr ""
4659
 
4660
- #: strings.php:210
4661
  msgctxt "Search field placeholder"
4662
  msgid "Search..."
4663
  msgstr ""
4664
 
4665
- #: strings.php:211
4666
  msgctxt "Search field placeholder"
4667
  msgid "Filter..."
4668
  msgstr ""
4669
 
4670
- #: strings.php:212
4671
  msgid "Use filter to limit names in the list"
4672
  msgstr ""
4673
 
4674
- #: strings.php:213
4675
  msgctxt "Button"
4676
  msgid "Filter"
4677
  msgstr ""
4678
 
4679
- #: strings.php:215
4680
  msgid "Position not available"
4681
  msgstr ""
4682
 
4683
- #: strings.php:216
4684
  msgid ""
4685
  "Theme check | Selected position for automatic insertion might not be not "
4686
  "available on this page type"
4687
  msgstr ""
4688
 
4689
- #: strings.php:217
4690
  msgid "Position available"
4691
  msgstr ""
4692
 
4693
- #: strings.php:230
 
 
 
 
 
 
 
 
4694
  msgid "Add"
4695
  msgstr ""
4696
 
4697
- #: strings.php:231
4698
  msgid "Parent"
4699
  msgstr ""
4700
 
4701
- #: strings.php:232
4702
  msgid "Cancel element selection"
4703
  msgstr ""
4704
 
4705
- #: strings.php:233
4706
  msgid "Select parent element"
4707
  msgstr ""
4708
 
4709
- #: strings.php:234
4710
  msgid "CSS selector"
4711
  msgstr ""
4712
 
4713
- #: strings.php:235
4714
  msgid "Use current selector"
4715
  msgstr ""
4716
 
4717
- #: strings.php:236
4718
  msgid "ELEMENT"
4719
  msgstr ""
4720
 
4721
- #: strings.php:237
4722
  msgid "PATH"
4723
  msgstr ""
4724
 
4725
- #: strings.php:238
4726
  msgid "SELECTOR"
4727
  msgstr ""
4728
 
4729
- #: strings.php:239
4730
  msgctxt "Block"
4731
  msgid "VISIBLE"
4732
  msgstr ""
4733
 
4734
- #: strings.php:240
4735
  msgctxt "Block"
4736
  msgid "HIDDEN"
4737
  msgstr ""
2
  # This file is distributed under the same license as the Ad Inserter package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Ad Inserter 2.4.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ad-inserter\n"
7
+ "POT-Creation-Date: 2019-02-02 16:01:49+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: ad-inserter.php:304
16
  msgctxt "Menu item"
17
  msgid "Debugging DEMO"
18
  msgstr ""
19
 
20
+ #: ad-inserter.php:320
21
  msgctxt "Menu item"
22
  msgid "Label Blocks"
23
  msgstr ""
24
 
25
+ #: ad-inserter.php:327
26
  msgctxt "Menu item"
27
  msgid "Show Positions"
28
  msgstr ""
29
 
30
+ #: ad-inserter.php:398
31
  msgctxt "Menu item"
32
  msgid "Show HTML Tags"
33
  msgstr ""
34
 
35
+ #: ad-inserter.php:405
36
  msgctxt "Menu item"
37
  msgid "Disable Insertion"
38
  msgstr ""
39
 
40
+ #: ad-inserter.php:414
41
  msgctxt "Menu item"
42
  msgid "Ad Blocking Status"
43
  msgstr ""
44
 
45
+ #: ad-inserter.php:421
46
  msgctxt "Menu item"
47
  msgid "Simulate Ad Blocking"
48
  msgstr ""
49
 
50
+ #: ad-inserter.php:431
51
  msgctxt "Menu item"
52
  msgid "Log Processing"
53
  msgstr ""
54
 
55
  #. translators: Debugging position name Before HTML element
56
+ #: ad-inserter.php:987
57
  msgid "Before"
58
  msgstr ""
59
 
60
  #. translators: Debugging position name After HTML element
61
+ #: ad-inserter.php:992
62
  msgid "After"
63
  msgstr ""
64
 
65
  #. translators: Debugging position name Prepend content of HTML element (before
66
  #. the content of the HTML element)
67
+ #: ad-inserter.php:997 strings.php:98
68
  msgid "Prepend content"
69
  msgstr ""
70
 
71
  #. translators: Debugging position name Append content of HTML element (after
72
  #. the content of the HTML element)
73
+ #: ad-inserter.php:1002 strings.php:99
74
  msgid "Append content"
75
  msgstr ""
76
 
77
  #. translators: Debugging position name Replace content of HTML element
78
+ #: ad-inserter.php:1007 strings.php:100
79
  msgid "Replace content"
80
  msgstr ""
81
 
82
  #. translators: Debugging position name Replace HTML element
83
+ #: ad-inserter.php:1012 strings.php:150
84
  msgid "Replace"
85
  msgstr ""
86
 
87
  #. translators: Debugging message when output buffering is enabled
88
+ #: ad-inserter.php:1059
89
  msgid "OUTPUT BUFFERING"
90
  msgstr ""
91
 
92
  #. translators: Debugging position
93
+ #: ad-inserter.php:1063
94
  msgid "Above Header"
95
  msgstr ""
96
 
97
+ #: ad-inserter.php:1268
98
  msgctxt "Menu item"
99
  msgid "Log In"
100
  msgstr ""
101
 
102
  #. translators: %s: Ad Inserter
103
+ #: ad-inserter.php:1543 ad-inserter.php:2406
104
  msgid "%s Settings"
105
  msgstr ""
106
 
107
  #. translators: AD BLOCKING DETECTED, PAGE VIEWS: n - NO ACTION
108
+ #: ad-inserter.php:1977
109
  msgid "AD BLOCKING DETECTED, PAGE VIEWS"
110
  msgstr ""
111
 
112
+ #: ad-inserter.php:1977
113
  msgid "NO ACTION"
114
  msgstr ""
115
 
116
+ #: ad-inserter.php:1978
117
  msgid "AD BLOCKING DETECTED, COOKIE DETECTED - NO ACTION"
118
  msgstr ""
119
 
120
+ #: ad-inserter.php:1979
121
  msgid "AD BLOCKING DETECTED - ACTION"
122
  msgstr ""
123
 
124
+ #: ad-inserter.php:1980
125
  msgid "AD BLOCKING NOT DETECTED"
126
  msgstr ""
127
 
128
+ #: ad-inserter.php:1981
129
  msgid "AD BLOCKING DETECTION COOKIES DELETED"
130
  msgstr ""
131
 
132
+ #: ad-inserter.php:1982
133
  msgid "AD BLOCKING DETECTED - NO ACTION"
134
  msgstr ""
135
 
136
  #. Translators: 1: number of blocks, 2: Ad Inserter
137
+ #: ad-inserter.php:2177
138
  msgid "Hey, you are now using %1$s %2$s block."
139
  msgid_plural "Hey, you are now using %1$s %2$s blocks."
140
  msgstr[0] ""
141
  msgstr[1] ""
142
 
143
+ #: ad-inserter.php:2178 includes/functions.php:1478
144
  msgid "No, thank you."
145
  msgstr ""
146
 
147
  #. Translators: %s: Ad Inserter
148
+ #: ad-inserter.php:2181
149
  msgid ""
150
  "Hey, you've been using %s for a while now, and I hope you're happy with it."
151
  msgstr ""
152
 
153
+ #: ad-inserter.php:2182 includes/functions.php:1480
154
  msgid "Not now, maybe later."
155
  msgstr ""
156
 
157
+ #: ad-inserter.php:2192
158
  msgid ""
159
  "I would really appreciate it if you could give the plugin a 5-star rating on "
160
  "WordPres."
161
  msgstr ""
162
 
163
+ #: ad-inserter.php:2194
164
  msgid ""
165
  "Positive reviews are a great incentive to fix bugs and to add new features "
166
  "for better monetization of your website. Thank you, Igor"
167
  msgstr ""
168
 
169
  #. translators: %s: Ad Inserter
170
+ #: ad-inserter.php:2200
171
  msgid "Rate %s"
172
  msgstr ""
173
 
174
+ #: ad-inserter.php:2205
175
  msgid "I already did."
176
  msgstr ""
177
 
178
+ #: ad-inserter.php:2219
179
  msgctxt "Menu item"
180
  msgid "Settings"
181
  msgstr ""
182
 
183
  #. translators: %s: Ad Inserter
184
+ #: ad-inserter.php:2293
185
  msgctxt "Meta box name"
186
  msgid "%s Individual Exceptions"
187
  msgstr ""
188
 
189
+ #: ad-inserter.php:2322 ad-inserter.php:7852 class.php:1933
190
+ #: includes/preview.php:1794 includes/preview.php:1838
191
+ #: includes/preview.php:1875 settings.php:3337 strings.php:3
192
  msgid "Block"
193
  msgstr ""
194
 
195
+ #: ad-inserter.php:2323 settings.php:3338 settings.php:3412
196
  msgid "Name"
197
  msgstr ""
198
 
199
+ #: ad-inserter.php:2324 settings.php:3340
200
  msgid "Automatic insertion"
201
  msgstr ""
202
 
203
+ #: ad-inserter.php:2327
204
  msgid "Default insertion for pages"
205
  msgstr ""
206
 
207
+ #: ad-inserter.php:2328
208
  msgid "Default insertion for posts"
209
  msgstr ""
210
 
211
  #. translators: For this post or page
212
+ #: ad-inserter.php:2331
213
  msgctxt "Page"
214
  msgid "For this"
215
  msgstr ""
216
 
217
+ #: ad-inserter.php:2332
218
  msgctxt "Post"
219
  msgid "For this"
220
  msgstr ""
221
 
222
+ #: ad-inserter.php:2340
223
  msgctxt "Enabled/disabled on all"
224
  msgid "pages"
225
  msgstr ""
226
 
227
+ #: ad-inserter.php:2341
228
  msgctxt "Default insertion for"
229
  msgid "pages"
230
  msgstr ""
231
 
232
+ #: ad-inserter.php:2345
233
  msgctxt "Enabled/disabled on all"
234
  msgid "posts"
235
  msgstr ""
236
 
237
+ #: ad-inserter.php:2346
238
  msgctxt "Default insertion for"
239
  msgid "posts"
240
  msgstr ""
241
 
242
+ #: ad-inserter.php:2365 ad-inserter.php:2378 strings.php:156
243
  msgid "Enabled"
244
  msgstr ""
245
 
246
  #. translators: Menu items
247
+ #: ad-inserter.php:2365 ad-inserter.php:2378 includes/functions.php:2105
248
  #: strings.php:16
249
  msgid "Disabled"
250
  msgstr ""
251
 
252
  #. translators: Enabled on all pages or posts
253
+ #: ad-inserter.php:2368
254
  msgid "Enabled on all"
255
  msgstr ""
256
 
257
  #. translators: Disabled on all pages or posts
258
+ #: ad-inserter.php:2370
259
  msgid "Disabled on all"
260
  msgstr ""
261
 
262
  #. translators: No individual exceptions enabled for pages or posts
263
+ #: ad-inserter.php:2398
264
  msgid "No individual exceptions enabled for"
265
  msgstr ""
266
 
267
  #. translators: 1: pages or posts, 2: Ad Inserter Settings (page)
268
+ #: ad-inserter.php:2403
269
  msgid ""
270
  "Default insertion for %1$s can be configured for each block on %2$s page - "
271
  "selection next to <strong>Posts</strong> / <strong>Static pages</strong> "
272
  "checkbox.<br />"
273
  msgstr ""
274
 
275
+ #: ad-inserter.php:2408
276
  msgid ""
277
  "Default value is <strong>blank</strong> and means no individual exceptions "
278
  "(even if previously defined here).<br />"
279
  msgstr ""
280
 
281
+ #: ad-inserter.php:2411
282
  msgctxt "Pages"
283
  msgid ""
284
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
285
  "enabled</strong> to enable individual exception settings on this page.<br />"
286
  msgstr ""
287
 
288
+ #: ad-inserter.php:2412
289
  msgctxt "Posts"
290
  msgid ""
291
  "Set to <strong>Individually disabled</strong> or <strong>Individually "
292
  "enabled</strong> to enable individual exception settings on this page.<br />"
293
  msgstr ""
294
 
295
+ #: ad-inserter.php:2414
296
  msgid "For more information check page %s"
297
  msgstr ""
298
 
299
  #. translators: Ad Inserter Exceptions documentation page
300
+ #: ad-inserter.php:2416
301
  msgid "Individual Exceptions"
302
  msgstr ""
303
 
304
+ #: ad-inserter.php:2461
305
  msgid "STATIC PAGE"
306
  msgstr ""
307
 
308
+ #: ad-inserter.php:2464
309
  msgid "POST"
310
  msgstr ""
311
 
312
+ #: ad-inserter.php:2467
313
  msgid "HOMEPAGE"
314
  msgstr ""
315
 
316
+ #: ad-inserter.php:2470
317
  msgid "CATEGORY PAGE"
318
  msgstr ""
319
 
320
+ #: ad-inserter.php:2473
321
  msgid "SEARCH PAGE"
322
  msgstr ""
323
 
324
+ #: ad-inserter.php:2476
325
  msgid "ARCHIVE PAGE"
326
  msgstr ""
327
 
328
+ #: ad-inserter.php:2479
329
  msgid "ERROR 404 PAGE"
330
  msgstr ""
331
 
332
+ #: ad-inserter.php:2482
333
  msgid "AJAX CALL"
334
  msgstr ""
335
 
336
+ #: ad-inserter.php:2485
337
  msgid "UNKNOWN PAGE TYPE"
338
  msgstr ""
339
 
340
+ #: ad-inserter.php:2502
341
  msgid "Click to delete ad blocking detection cokies"
342
  msgstr ""
343
 
344
+ #: ad-inserter.php:2503
345
  msgid "AD BLOCKING STATUS UNKNOWN"
346
  msgstr ""
347
 
348
  #. translators: %s: AdSense Auto Ads
349
+ #: ad-inserter.php:2527
350
  msgid ""
351
  "Code for %s detected - Code will automatically insert AdSense ads at optimal "
352
  "positions"
353
  msgstr ""
354
 
355
+ #: ad-inserter.php:2666
356
  msgid "Code for insertion"
357
  msgstr ""
358
 
359
+ #: ad-inserter.php:2666
360
  msgid "character"
361
  msgid_plural "characters"
362
  msgstr[0] ""
363
  msgstr[1] ""
364
 
365
+ #: ad-inserter.php:2709
366
  msgid "Header code"
367
  msgstr ""
368
 
369
+ #: ad-inserter.php:2709
370
  msgctxt "Header code"
371
  msgid "DISABLED"
372
  msgstr ""
373
 
374
+ #: ad-inserter.php:2709 ad-inserter.php:2935
375
  msgid "character inserted"
376
  msgid_plural "characters inserted"
377
  msgstr[0] ""
378
  msgstr[1] ""
379
 
380
+ #: ad-inserter.php:2742
381
  msgid "Automatically placed by AdSense Auto ads code"
382
  msgstr ""
383
 
384
+ #: ad-inserter.php:2935
385
  msgid "Footer code"
386
  msgstr ""
387
 
388
+ #: ad-inserter.php:2935
389
  msgctxt "Footer code"
390
  msgid "DISABLED"
391
  msgstr ""
392
 
393
+ #: ad-inserter.php:2941
394
  msgid "JAVASCRIPT NOT WORKING"
395
  msgstr ""
396
 
397
+ #: ad-inserter.php:2941
398
  msgid "NO JAVASCRIPT ERRORS"
399
  msgstr ""
400
 
401
+ #: ad-inserter.php:2941
402
  msgid "JAVASCRIPT ERRORS"
403
  msgstr ""
404
 
405
  #. translators: block name (block with default settings)
406
+ #: ad-inserter.php:4998
407
  msgctxt "Block name"
408
  msgid "Default"
409
  msgstr ""
410
 
411
  #. translators: %s: Ad Inserter
412
+ #: ad-inserter.php:5569
413
  msgid "Error importing %s settings."
414
  msgstr ""
415
 
416
+ #: ad-inserter.php:5570
417
  msgid "Error importing settings for block"
418
  msgid_plural "Error importing settings for blocks:"
419
  msgstr[0] ""
420
  msgstr[1] ""
421
 
422
+ #: ad-inserter.php:5619
423
  msgid "Settings saved."
424
  msgstr ""
425
 
426
+ #: ad-inserter.php:5704
427
  msgid "Settings cleared."
428
  msgstr ""
429
 
430
+ #: ad-inserter.php:6048 ad-inserter.php:6050 ad-inserter.php:6073
431
  msgid "word"
432
  msgid_plural "words"
433
  msgstr[0] ""
434
  msgstr[1] ""
435
 
436
+ #: ad-inserter.php:6089 ad-inserter.php:6201
437
  msgid "HTML TAGS REMOVED"
438
  msgstr ""
439
 
440
+ #: ad-inserter.php:6277
441
  msgid "BEFORE COMMENTS"
442
  msgstr ""
443
 
444
+ #: ad-inserter.php:6385
445
  msgid "AFTER COMMENTS"
446
  msgstr ""
447
 
448
+ #: ad-inserter.php:6448
449
  msgid "BETWEEN COMMENTS"
450
  msgstr ""
451
 
452
+ #: ad-inserter.php:7500
453
  msgid "requires WordPress 4.0 or newer"
454
  msgstr ""
455
 
456
+ #: ad-inserter.php:7500
457
  msgid "Please update!"
458
  msgstr ""
459
 
460
  #. translators: Opt-in message: Thank you for installing Ad Inserter (plugin
461
  #. name with HTML tags will be added)
462
+ #: ad-inserter.php:7725
463
  msgid "Thank you for installing"
464
  msgstr ""
465
 
466
  #. translators: Opt-in message: %s: HTML tags
467
+ #: ad-inserter.php:7727
468
  msgid ""
469
  "We would like to %s track its usage %s on your site. This is completely "
470
  "optional and can be disabled at any time."
471
  msgstr ""
472
 
473
+ #: ad-inserter.php:7729
474
  msgid ""
475
  "We don't record any sensitive data, only information regarding the WordPress "
476
  "environment and plugin usage, which will help us to make improvements to the "
478
  msgstr ""
479
 
480
  #. translators: Deactivation message: %s: HTML tags
481
+ #: ad-inserter.php:7766
482
  msgid ""
483
  "Looking for %s Documentation, %s %s Common Settings, %s %s Quick Start %s or "
484
  "help for %s AdSense ads? %s The plugin doesn't work with your theme? %s Let "
486
  msgstr ""
487
 
488
  #. translators: %s: Ad Inserter
489
+ #: ad-inserter.php:7809
490
  msgid "%s block."
491
  msgstr ""
492
 
493
  #. translators: widget title
494
+ #: ad-inserter.php:7825 ad-inserter.php:7861
495
  msgid "Processing log"
496
  msgstr ""
497
 
498
  #. translators: widget title
499
+ #: ad-inserter.php:7827 ad-inserter.php:7862
500
  msgid "Dummy widget"
501
  msgstr ""
502
 
503
  #. translators: widget title
504
+ #: ad-inserter.php:7829 ad-inserter.php:7860
505
  msgid "Debugging tools"
506
  msgstr ""
507
 
508
  #. translators: block status (widget title)
509
+ #: ad-inserter.php:7836
510
  msgctxt "block"
511
  msgid "PAUSED"
512
  msgstr ""
513
 
514
+ #: ad-inserter.php:7837
515
  msgid "WIDGET DISABLED"
516
  msgstr ""
517
 
518
+ #: ad-inserter.php:7838
519
  msgid "Unknown block"
520
  msgstr ""
521
 
522
+ #: ad-inserter.php:7847 includes/functions.php:2608 settings.php:1033
523
  msgid "Title"
524
  msgstr ""
525
 
526
+ #: ad-inserter.php:7869
527
  msgctxt "Widget"
528
  msgid "Sticky"
529
  msgstr ""
530
 
531
+ #: ad-inserter.php:7918
532
  msgid ""
533
  "Ad Inserter can't be used while Ad Inserter Pro is active! To activate Ad "
534
  "Inserter you need to first deactivate Ad Inserter Pro."
535
  msgstr ""
536
 
537
+ #: ad-inserter.php:7919
538
  msgid ""
539
  "<strong>WARNING</strong>: Please note that saving settings in Ad Inserter "
540
  "will clear all settings that are available only in the Pro version "
542
  msgstr ""
543
 
544
  #. translators: %s: Ad Inserter
545
+ #: class.php:459 class.php:468 class.php:471
546
  msgid "PHP error in %s block"
547
  msgstr ""
548
 
549
+ #: class.php:1899
550
  msgid "Counters"
551
  msgstr ""
552
 
553
+ #: class.php:1903
554
  msgid "Content"
555
  msgstr ""
556
 
557
+ #: class.php:1908
558
  msgid "Excerpt"
559
  msgstr ""
560
 
561
+ #: class.php:1913 strings.php:17
562
  msgid "Before post"
563
  msgstr ""
564
 
565
+ #: class.php:1918 strings.php:18
566
  msgid "After post"
567
  msgstr ""
568
 
569
+ #: class.php:1923 settings.php:1619 settings.php:3344
570
  msgid "Widget"
571
  msgstr ""
572
 
573
+ #: class.php:1928 settings.php:3342
574
  msgid "PHP function call"
575
  msgstr ""
576
 
577
+ #: class.php:1963
578
  msgid "AJAX REQUEST"
579
  msgstr ""
580
 
581
+ #: class.php:1966
582
  msgid "Ajax request for block in iframe"
583
  msgstr ""
584
 
585
+ #: class.php:1985
586
  msgid "Ajax request url, click to open it in a new tab"
587
  msgstr ""
588
 
589
+ #: class.php:1988
590
  msgid "IN THE LOOP"
591
  msgstr ""
592
 
593
+ #: class.php:1988
594
  msgid "YES"
595
  msgstr ""
596
 
597
+ #: class.php:1988
598
  msgid "NO"
599
  msgstr ""
600
 
601
+ #: class.php:2024
602
  msgid "BLOCK"
603
  msgstr ""
604
 
605
+ #: class.php:2024
606
  msgctxt "block or widget"
607
  msgid "INSERTED BUT NOT VISIBLE"
608
  msgstr ""
609
 
610
  #. translators: %s: list parameters and type
611
+ #: class.php:2475
612
  msgid "parameters='%s' type='%s'"
613
  msgstr ""
614
 
615
  #. translators: %s: list parameters and type
616
+ #: class.php:2477
617
  msgid "referers='%s' type='%s'"
618
  msgstr ""
619
 
620
  #. translators: %s: list parameters and type
621
+ #: class.php:2538
622
  msgid "countries='%s' type='%s'"
623
  msgstr ""
624
 
625
  #. translators: %s: list parameters and type
626
+ #: class.php:2540
627
  msgid "ip addresses='%s' type='%s'"
628
  msgstr ""
629
 
630
+ #: class.php:2763 strings.php:228
631
  msgid "BEFORE"
632
  msgstr ""
633
 
634
+ #: class.php:2771 strings.php:230
635
  msgid "PREPEND CONTENT"
636
  msgstr ""
637
 
638
+ #: class.php:2775 strings.php:231
639
  msgid "APPEND CONTENT"
640
  msgstr ""
641
 
642
+ #: class.php:2779 strings.php:232
643
  msgid "REPLACE CONTENT"
644
  msgstr ""
645
 
646
+ #: class.php:2783 strings.php:233
647
  msgid "REPLACE ELEMENT"
648
  msgstr ""
649
 
650
+ #: class.php:2794 strings.php:229
651
  msgid "AFTER"
652
  msgstr ""
653
 
654
+ #: class.php:2861
655
  msgctxt "JavaScript"
656
  msgid "script"
657
  msgstr ""
658
 
659
+ #: class.php:2864 settings.php:1888
660
  msgid "for"
661
  msgstr ""
662
 
663
+ #: class.php:5387 class.php:5439
664
  msgctxt "category name"
665
  msgid "Uncategorized"
666
  msgstr ""
667
 
668
+ #: class.php:5930
669
  msgid ""
670
  "ERROR: class DOMDocument not found. Your webhost needs to install the DOM "
671
  "extension for PHP."
672
  msgstr ""
673
 
674
  #: includes/editor.php:7 includes/placeholders.php:345
675
+ #: includes/preview.php:1780 strings.php:235
676
  msgid "Use"
677
  msgstr ""
678
 
679
+ #: includes/editor.php:8 includes/preview.php:1781
680
  msgid "Reset"
681
  msgstr ""
682
 
683
  #: includes/editor.php:9 includes/placeholders.php:347
684
+ #: includes/preview.php:1783 strings.php:199 strings.php:234
685
  msgid "Cancel"
686
  msgstr ""
687
 
690
  msgstr ""
691
 
692
  #: includes/editor.php:262 includes/preview-adb.php:289
693
+ #: includes/preview.php:1770
694
  msgid ""
695
  "This page was not loaded properly. Please check browser, plugins and ad "
696
  "blockers."
701
  msgstr ""
702
 
703
  #: includes/editor.php:264 includes/preview-adb.php:291
704
+ #: includes/preview.php:1772
705
  msgid "PAGE BLOCKED"
706
  msgstr ""
707
 
708
+ #: includes/functions.php:252
709
  msgid "%d of %d names shown"
710
  msgstr ""
711
 
712
  #. translators: %s: name filter
713
+ #: includes/functions.php:271
714
  msgid "No name matches filter"
715
  msgstr ""
716
 
717
+ #: includes/functions.php:327 settings.php:174
718
  msgid "Online documentation"
719
  msgstr ""
720
 
721
+ #: includes/functions.php:327 settings.php:174
722
  msgid "Documentation"
723
  msgstr ""
724
 
725
+ #: includes/functions.php:340 settings.php:187
726
  msgid "Blocks"
727
  msgstr ""
728
 
729
  #. translators: %s: Ad Inserter Pro
730
+ #: includes/functions.php:363
731
  msgid ""
732
  "Import %s settings when saving - if checked, the encoded settings below will "
733
  "be imported for all blocks and settings"
734
  msgstr ""
735
 
736
+ #: includes/functions.php:363
737
  msgid "Import Settings for"
738
  msgstr ""
739
 
740
+ #: includes/functions.php:367
741
  msgid "Saved settings for"
742
  msgstr ""
743
 
744
+ #: includes/functions.php:386
745
  msgid "License Key"
746
  msgstr ""
747
 
748
+ #: includes/functions.php:389
749
  msgid "License Key for"
750
  msgstr ""
751
 
752
+ #: includes/functions.php:395
753
  msgid "Hide license key"
754
  msgstr ""
755
 
756
+ #: includes/functions.php:395
757
  msgid "Hide key"
758
  msgstr ""
759
 
760
+ #: includes/functions.php:416
761
  msgid "Main content element"
762
  msgstr ""
763
 
764
+ #: includes/functions.php:419
765
  msgid ""
766
  "Main content element (#id or .class) for 'Stick to the content' position. "
767
  "Leave empty unless position is not properly calculated."
768
  msgstr ""
769
 
770
+ #: includes/functions.php:420 settings.php:1189 settings.php:2444
771
  msgid "Open HTML element selector"
772
  msgstr ""
773
 
774
+ #: includes/functions.php:425
775
  msgid "Lazy loading offset"
776
  msgstr ""
777
 
778
+ #: includes/functions.php:428
779
  msgid "Offset of the block from the visible viewport when it should be loaded"
780
  msgstr ""
781
 
782
+ #: includes/functions.php:439
783
  msgid "Export / Import Block Settings"
784
  msgstr ""
785
 
786
+ #: includes/functions.php:454
787
  msgid "Track impressions and clicks for this block"
788
  msgstr ""
789
 
790
+ #: includes/functions.php:454
791
  msgid " - global tracking disabled"
792
  msgstr ""
793
 
794
+ #: includes/functions.php:458
795
+ msgid "Generate report"
796
+ msgstr ""
797
+
798
+ #: includes/functions.php:467
799
  msgid "Toggle Ad Blocking Statistics"
800
  msgstr ""
801
 
802
+ #: includes/functions.php:475 includes/functions.php:2437
803
  msgid "Toggle Statistics"
804
  msgstr ""
805
 
806
  #. translators: %s: Ad Inserter Pro
807
+ #: includes/functions.php:491
808
  msgid "%s license key is not set. Continue?"
809
  msgstr ""
810
 
811
  #. translators: %s: Ad Inserter Pro
812
+ #: includes/functions.php:495
813
  msgid "Invalid %s license key. Continue?"
814
  msgstr ""
815
 
816
  #. translators: %s: Ad Inserter Pro
817
+ #: includes/functions.php:499
818
  msgid "%s license overused. Continue?"
819
  msgstr ""
820
 
821
+ #: includes/functions.php:503 settings.php:1958
822
  msgid "Save Settings"
823
  msgstr ""
824
 
825
+ #: includes/functions.php:563 includes/preview.php:1915
826
  msgid "Horizontal position"
827
  msgstr ""
828
 
829
+ #: includes/functions.php:586
830
  msgid ""
831
  "Horizontal margin from the content or screen edge, empty means default value "
832
  "from CSS"
833
  msgstr ""
834
 
835
+ #: includes/functions.php:594 includes/preview.php:1970
836
  msgid "Vertical position"
837
  msgstr ""
838
 
839
+ #: includes/functions.php:609
840
  msgid ""
841
  "Vertical margin from the top or bottom screen edge, empty means default "
842
  "value from CSS"
843
  msgstr ""
844
 
845
+ #: includes/functions.php:634 includes/preview.php:2021
846
  msgid "Animation"
847
  msgstr ""
848
 
849
+ #: includes/functions.php:652
850
  msgid "Trigger"
851
  msgstr ""
852
 
853
+ #: includes/functions.php:661
854
  msgid ""
855
  "Trigger value: page scroll in %, page scroll in px or element with selector "
856
  "(#id or .class) becomes visible"
857
  msgstr ""
858
 
859
+ #: includes/functions.php:665
860
  msgid "Offset"
861
  msgstr ""
862
 
863
+ #: includes/functions.php:665
864
  msgid "Offset of trigger element"
865
  msgstr ""
866
 
867
+ #: includes/functions.php:669
868
  msgid "Delay"
869
  msgstr ""
870
 
871
+ #: includes/functions.php:669
872
  msgid "Delay animation after trigger condition"
873
  msgstr ""
874
 
875
+ #: includes/functions.php:673
876
  msgid "Trigger once"
877
  msgstr ""
878
 
879
+ #: includes/functions.php:675
880
  msgid "Trigger animation only once"
881
  msgstr ""
882
 
883
+ #: includes/functions.php:714
884
  msgid "Tracking is globally disabled"
885
  msgstr ""
886
 
887
+ #: includes/functions.php:718
888
  msgid "Tracking for this block is disabled"
889
  msgstr ""
890
 
891
+ #: includes/functions.php:728 settings.php:3105 settings.php:3141
892
+ #: strings.php:209
893
  msgid "Loading..."
894
  msgstr ""
895
 
896
+ #: includes/functions.php:744
897
  msgid ""
898
  "Clear statistics data for the selected range - clear both dates to delete "
899
  "all data for this block"
900
  msgstr ""
901
 
902
+ #: includes/functions.php:748
903
  msgid "Auto refresh data for the selected range every 60 seconds"
904
  msgstr ""
905
 
906
+ #: includes/functions.php:751
907
  msgid "Load data for last month"
908
  msgstr ""
909
 
910
+ #: includes/functions.php:751
911
  msgid "Last Month"
912
  msgstr ""
913
 
914
+ #: includes/functions.php:754
915
  msgid "Load data for this month"
916
  msgstr ""
917
 
918
+ #: includes/functions.php:754
919
  msgid "This Month"
920
  msgstr ""
921
 
922
+ #: includes/functions.php:757
923
  msgid "Load data for this year"
924
  msgstr ""
925
 
926
+ #: includes/functions.php:757
927
  msgid "This Year"
928
  msgstr ""
929
 
930
+ #: includes/functions.php:760
931
  msgid "Load data for the last 15 days"
932
  msgstr ""
933
 
934
+ #: includes/functions.php:763
935
  msgid "Load data for the last 30 days"
936
  msgstr ""
937
 
938
+ #: includes/functions.php:766
939
  msgid "Load data for the last 90 days"
940
  msgstr ""
941
 
942
+ #: includes/functions.php:769
943
  msgid "Load data for the last 180 days"
944
  msgstr ""
945
 
946
+ #: includes/functions.php:772
947
  msgid "Load data for the last 365 days"
948
  msgstr ""
949
 
950
+ #: includes/functions.php:782
951
  msgid "Load data for the selected range"
952
  msgstr ""
953
 
954
+ #: includes/functions.php:798
955
  msgid ""
956
  "Import settings when saving - if checked, the encoded settings below will be "
957
  "imported for this block"
958
  msgstr ""
959
 
960
+ #: includes/functions.php:798
961
  msgid "Import settings for block"
962
  msgstr ""
963
 
964
+ #: includes/functions.php:802
965
  msgid ""
966
  "Import block name when saving - if checked and 'Import settings for block' "
967
  "is also checked, the name from encoded settings below will be imported for "
968
  "this block"
969
  msgstr ""
970
 
971
+ #: includes/functions.php:802
972
  msgid "Import block name"
973
  msgstr ""
974
 
975
+ #: includes/functions.php:806
976
  msgid "Saved settings for block"
977
  msgstr ""
978
 
979
+ #: includes/functions.php:819
980
  msgid "Export / Import Ad Inserter Pro Settings"
981
  msgstr ""
982
 
983
+ #: includes/functions.php:828
984
  msgid "Are you sure you want to clear all statistics data for all blocks?"
985
  msgstr ""
986
 
987
+ #: includes/functions.php:830
988
  msgid "Clear All Statistics Data"
989
  msgstr ""
990
 
991
+ #: includes/functions.php:856
992
  msgid "Toggle country/city editor"
993
  msgstr ""
994
 
995
+ #: includes/functions.php:862
996
  msgid "IP Addresses"
997
  msgstr ""
998
 
999
+ #: includes/functions.php:865
1000
  msgid "Toggle IP address editor"
1001
  msgstr ""
1002
 
1003
+ #: includes/functions.php:868
1004
  msgid ""
1005
  "Comma separated IP addresses, you can also use partial IP addresses with * "
1006
  "(ip-address-start*. *ip-address-pattern*, *ip-address-end)"
1007
  msgstr ""
1008
 
1009
+ #: includes/functions.php:872
1010
  msgid "Blacklist IP addresses"
1011
  msgstr ""
1012
 
1013
+ #: includes/functions.php:876
1014
  msgid "Whitelist IP addresses"
1015
  msgstr ""
1016
 
1017
+ #: includes/functions.php:887
1018
  msgid "Countries"
1019
  msgstr ""
1020
 
1021
+ #: includes/functions.php:888
1022
  msgid "Cities"
1023
  msgstr ""
1024
 
1025
+ #: includes/functions.php:892 includes/functions.php:2397
1026
  msgid "Toggle country editor"
1027
  msgstr ""
1028
 
1029
+ #: includes/functions.php:895
1030
  msgid "Toggle city editor"
1031
  msgstr ""
1032
 
1033
+ #: includes/functions.php:899 includes/functions.php:2400
1034
  msgid "Comma separated country ISO Alpha-2 codes"
1035
  msgstr ""
1036
 
1037
+ #: includes/functions.php:903
1038
  msgid "Blacklist countries"
1039
  msgstr ""
1040
 
1041
+ #: includes/functions.php:907
1042
  msgid "Whitelist countries"
1043
  msgstr ""
1044
 
1045
+ #: includes/functions.php:1221 includes/functions.php:1439
1046
  msgid "Enter license key"
1047
  msgstr ""
1048
 
1049
  #. translators: %s: Ad Inserter Pro
1050
+ #: includes/functions.php:1227
1051
  msgid ""
1052
  "%s license key is not set. Plugin functionality is limited and updates are "
1053
  "disabled."
1054
  msgstr ""
1055
 
1056
+ #: includes/functions.php:1236 includes/functions.php:1448
1057
  msgid "Check license key"
1058
  msgstr ""
1059
 
1060
  #. translators: %s: Ad Inserter Pro
1061
+ #: includes/functions.php:1242
1062
  msgid "Invalid %s license key."
1063
  msgstr ""
1064
 
1065
  #. translators: %s: Ad Inserter Pro
1066
+ #: includes/functions.php:1251
1067
  msgid "%s license expired. Plugin updates are disabled."
1068
  msgstr ""
1069
 
1070
+ #: includes/functions.php:1252
1071
  msgid "Renew license"
1072
  msgstr ""
1073
 
1074
  #. translators: %s: Ad Inserter Pro
1075
+ #: includes/functions.php:1260
1076
  msgid "%s license overused. Plugin updates are disabled."
1077
  msgstr ""
1078
 
1079
+ #: includes/functions.php:1261
1080
  msgid "Upgrade license"
1081
  msgstr ""
1082
 
1083
  #. translators: 1, 2: HTML tags, 3: Ad Inserter Pro
1084
+ #: includes/functions.php:1441
1085
  msgid ""
1086
  "%1$s Warning: %2$s %3$s license key is not set. Plugin functionality is "
1087
  "limited and updates are disabled."
1088
  msgstr ""
1089
 
1090
  #. translators: 1, 2,: HTML tags, 3: Ad Inserter Pro
1091
+ #: includes/functions.php:1450
1092
  msgid "%1$s Warning: %2$s Invalid %3$s license key."
1093
  msgstr ""
1094
 
1095
  #. translators: 2, 3: HTML tags, 1: Ad Inserter Pro
1096
+ #: includes/functions.php:1464
1097
  msgid ""
1098
  "Hey, %1$s license has expired - plugin updates are now disabled. Please "
1099
  "renew the license to enable updates. Check %2$s what you are missing. %3$s"
1100
  msgstr ""
1101
 
1102
  #. translators: 1, 3: HTML tags, 2: percentage
1103
+ #: includes/functions.php:1471
1104
  msgid ""
1105
  "During the license period and 30 days after the license has expired we offer "
1106
  "%1$s %2$s discount on all license renewals and license upgrades. %3$s"
1107
  msgstr ""
1108
 
1109
+ #: includes/functions.php:1494
1110
  msgid "Renew the licence"
1111
  msgstr ""
1112
 
1113
+ #: includes/functions.php:1496
1114
  msgid "Update license status"
1115
  msgstr ""
1116
 
1117
  #. translators: 1, 2, 4, 5: HTML tags, 3: Ad Inserter Pro
1118
+ #: includes/functions.php:1507
1119
  msgid ""
1120
  "%1$s Warning: %2$s %3$s license overused. Plugin updates are disabled. %4$s "
1121
  "Upgrade license %5$s"
1122
  msgstr ""
1123
 
1124
  #. Translators: %s: HTML tag
1125
+ #: includes/functions.php:1527
1126
  msgid "Warning: %s MaxMind IP geolocation database not found."
1127
  msgstr ""
1128
 
1129
+ #: includes/functions.php:2034
1130
  msgid "Geolocation"
1131
  msgstr ""
1132
 
1133
+ #: includes/functions.php:2038
1134
  msgid "Exceptions"
1135
  msgstr ""
1136
 
1137
+ #: includes/functions.php:2043
1138
  msgid "Multisite"
1139
  msgstr ""
1140
 
1141
+ #: includes/functions.php:2048
1142
  msgid "Tracking"
1143
  msgstr ""
1144
 
1145
  #. translators: %d: days, hours, minutes
1146
+ #: includes/functions.php:2079
1147
  msgid "Scheduled in %d days %d hours %d minutes"
1148
  msgstr ""
1149
 
1150
  #. translators: %s: HTML dash separator, %d: days, hours, minutes, &mdash; is
1151
  #. HTML code for long dash separator
1152
+ #: includes/functions.php:2088
1153
  msgid "Active %s expires in %d days %d hours %d minutes"
1154
  msgstr ""
1155
 
1156
+ #: includes/functions.php:2092
1157
  msgid "Expired"
1158
  msgstr ""
1159
 
1160
+ #: includes/functions.php:2100 settings.php:1272 settings.php:1287
1161
  #: settings.php:1874
1162
  msgid "and"
1163
  msgstr ""
1164
 
1165
+ #: includes/functions.php:2103
1166
  msgid "fallback"
1167
  msgstr ""
1168
 
1169
+ #: includes/functions.php:2104
1170
  msgid "Block to be used when scheduling expires"
1171
  msgstr ""
1172
 
1173
+ #: includes/functions.php:2129
1174
  msgid "Load in iframe"
1175
  msgstr ""
1176
 
1177
+ #: includes/functions.php:2133 includes/placeholders.php:382
1178
  msgid "Width"
1179
  msgstr ""
1180
 
1181
+ #: includes/functions.php:2134
1182
  msgid "iframe width, empty means full width (100%)"
1183
  msgstr ""
1184
 
1185
+ #: includes/functions.php:2140 includes/placeholders.php:377
1186
  msgid "Height"
1187
  msgstr ""
1188
 
1189
+ #: includes/functions.php:2141
1190
  msgid "iframe height, empty means adjust it to iframe content height"
1191
  msgstr ""
1192
 
1193
+ #: includes/functions.php:2148
1194
  msgid "Ad label in iframe"
1195
  msgstr ""
1196
 
1197
+ #: includes/functions.php:2153
1198
  msgid "Preview iframe code"
1199
  msgstr ""
1200
 
1201
+ #: includes/functions.php:2153 includes/preview.php:1792 settings.php:949
1202
  #: settings.php:2506
1203
  msgid "Preview"
1204
  msgstr ""
1205
 
1206
+ #: includes/functions.php:2167 includes/functions.php:3575
1207
+ #: includes/functions.php:3638 settings.php:1991
1208
  msgid "Ad Blocking"
1209
  msgstr ""
1210
 
1211
  #. translators: 1, 2 and 3, 4: HTML tags
1212
+ #: includes/functions.php:2176
1213
  msgid ""
1214
  "%1$s WARNING: %2$s %3$s No wrapping %4$s style has no wrapping code needed "
1215
  "for tracking!"
1217
 
1218
  #. translators: 1, 2, 4, 5: HTML tags, 3: Scroll with the content, 6: Above
1219
  #. header
1220
+ #: includes/functions.php:2185
1221
  msgid ""
1222
  "%1$s WARNING: %2$s vertical position %3$s needs %4$s Output buffering %5$s "
1223
  "enabled and automatic insertion %6$s!"
1224
  msgstr ""
1225
 
1226
+ #: includes/functions.php:2203
1227
  msgid "When ad blocking is detected"
1228
  msgstr ""
1229
 
1230
+ #: includes/functions.php:2212
1231
  msgid "replacement"
1232
  msgstr ""
1233
 
1234
+ #: includes/functions.php:2213
1235
  msgid "Block to be shown when ad blocking is detected"
1236
  msgstr ""
1237
 
1238
+ #: includes/functions.php:2214
1239
  msgctxt "replacement"
1240
  msgid "None"
1241
  msgstr ""
1242
 
1243
+ #: includes/functions.php:2231
1244
  msgid "Close button"
1245
  msgstr ""
1246
 
1247
+ #: includes/functions.php:2278
1248
  msgid "Lazy loading"
1249
  msgstr ""
1250
 
1251
  #. Translators: %s MaxMind
1252
+ #: includes/functions.php:2332
1253
  msgid "This product includes GeoLite2 data created by %s"
1254
  msgstr ""
1255
 
1256
+ #: includes/functions.php:2343
1257
  msgid "IP geolocation database"
1258
  msgstr ""
1259
 
1260
+ #: includes/functions.php:2346
1261
  msgid "Select IP geolocation database."
1262
  msgstr ""
1263
 
1264
+ #: includes/functions.php:2357
1265
  msgid "Automatic database updates"
1266
  msgstr ""
1267
 
1268
+ #: includes/functions.php:2360
1269
  msgid ""
1270
  "Automatically download and update free GeoLite2 IP geolocation database by "
1271
  "MaxMind"
1272
  msgstr ""
1273
 
1274
+ #: includes/functions.php:2368
1275
  msgid "Database"
1276
  msgstr ""
1277
 
1278
+ #: includes/functions.php:2371
1279
  msgid ""
1280
  "Aabsolute path starting with '/' or relative path to the MaxMind database "
1281
  "file"
1282
  msgstr ""
1283
 
1284
  #. translators: %d: group number
1285
+ #: includes/functions.php:2389
1286
  msgid "Group %d"
1287
  msgstr ""
1288
 
1289
+ #: includes/functions.php:2395
1290
  msgid "countries"
1291
  msgstr ""
1292
 
1293
+ #: includes/functions.php:2430
1294
  msgid "Enable tracking"
1295
  msgstr ""
1296
 
1297
+ #: includes/functions.php:2445
1298
  msgid "Impression and Click Tracking"
1299
  msgstr ""
1300
 
1301
+ #: includes/functions.php:2461
1302
  msgid "Internal"
1303
  msgstr ""
1304
 
1305
+ #: includes/functions.php:2465
1306
  msgid "Track impressions and clicks with internal tracking and statistics"
1307
  msgstr ""
1308
 
1309
+ #: includes/functions.php:2470
1310
  msgid "External"
1311
  msgstr ""
1312
 
1313
+ #: includes/functions.php:2474
1314
  msgid ""
1315
  "Track impressions and clicks with Google Analytics or Matomo (needs tracking "
1316
  "code installed)"
1317
  msgstr ""
1318
 
1319
+ #: includes/functions.php:2479
1320
  msgid "Track Pageviews"
1321
  msgstr ""
1322
 
1323
+ #: includes/functions.php:2485
1324
  msgid "Track Pageviews by Device (as configured for viewports)"
1325
  msgstr ""
1326
 
1327
+ #: includes/functions.php:2495
1328
  msgid "Track for Logged in Users"
1329
  msgstr ""
1330
 
1331
+ #: includes/functions.php:2501
1332
  msgid "Track impressions and clicks from logged in users"
1333
  msgstr ""
1334
 
1335
+ #: includes/functions.php:2511
1336
  msgid "Click Detection"
1337
  msgstr ""
1338
 
1339
+ #: includes/functions.php:2517
1340
  msgid ""
1341
  "Standard method detects clicks only on banners with links, Advanced method "
1342
  "can detect clicks on any kind of ads, but it is slightly less accurate"
1343
  msgstr ""
1344
 
1345
+ #: includes/functions.php:2543
1346
+ msgid "Report header image"
1347
+ msgstr ""
1348
+
1349
+ #: includes/functions.php:2546
1350
+ msgid ""
1351
+ "Image or logo to be displayed in the header of the statistins report. "
1352
+ "Aabsolute path starting with '/' or relative path to the image file."
1353
+ msgstr ""
1354
+
1355
+ #: includes/functions.php:2547 strings.php:221
1356
+ msgid "Select or upload header image"
1357
+ msgstr ""
1358
+
1359
+ #: includes/functions.php:2552
1360
+ msgid "Report header title"
1361
+ msgstr ""
1362
+
1363
+ #: includes/functions.php:2555
1364
+ msgid ""
1365
+ "Title to be displayed in the header of the statistins report. Text or HTML "
1366
+ "code."
1367
+ msgstr ""
1368
+
1369
+ #: includes/functions.php:2560
1370
+ msgid "Report header description"
1371
+ msgstr ""
1372
+
1373
+ #: includes/functions.php:2563
1374
+ msgid ""
1375
+ "Description to be displayed in the header of the statistins report. Text or "
1376
+ "HTML code."
1377
+ msgstr ""
1378
+
1379
+ #: includes/functions.php:2595
1380
  msgid "Are you sure you want to clear all exceptions for block"
1381
  msgstr ""
1382
 
1383
+ #: includes/functions.php:2596 settings.php:1036
1384
  msgid "Clear all exceptions for block"
1385
  msgstr ""
1386
 
1387
+ #: includes/functions.php:2603
1388
  msgid "Are you sure you want to clear all exceptions?"
1389
  msgstr ""
1390
 
1391
+ #: includes/functions.php:2603
1392
  msgid "Clear all exceptions for all blocks"
1393
  msgstr ""
1394
 
1395
+ #: includes/functions.php:2608 settings.php:3414
1396
  msgid "Type"
1397
  msgstr ""
1398
 
1399
+ #: includes/functions.php:2626
1400
  msgid "View"
1401
  msgstr ""
1402
 
1403
+ #: includes/functions.php:2627 includes/placeholders.php:346
1404
+ #: includes/preview.php:2083 settings.php:1175
1405
  msgid "Edit"
1406
  msgstr ""
1407
 
1408
+ #: includes/functions.php:2657
1409
  msgid "Are you sure you want to clear all exceptions for"
1410
  msgstr ""
1411
 
1412
+ #: includes/functions.php:2658
1413
  msgid "Clear all exceptions for"
1414
  msgstr ""
1415
 
1416
+ #: includes/functions.php:2671
1417
  msgid "No exceptions"
1418
  msgstr ""
1419
 
1420
  #. translators: %s: Ad Inserter Pro
1421
+ #: includes/functions.php:2682
1422
  msgid "%s options for network blogs"
1423
  msgstr ""
1424
 
1425
  #. translators: %s: Ad Inserter Pro
1426
+ #: includes/functions.php:2687
1427
  msgid "Enable %s widgets for sub-sites"
1428
  msgstr ""
1429
 
1430
+ #: includes/functions.php:2687
1431
  msgid "Widgets"
1432
  msgstr ""
1433
 
1434
+ #: includes/functions.php:2692
1435
  msgid "Enable PHP code processing for sub-sites"
1436
  msgstr ""
1437
 
1438
+ #: includes/functions.php:2692
1439
  msgid "PHP Processing"
1440
  msgstr ""
1441
 
1442
  #. translators: %s: Ad Inserter Pro
1443
+ #: includes/functions.php:2697
1444
  msgid "Enable %s block exceptions in post/page editor for sub-sites"
1445
  msgstr ""
1446
 
1447
+ #: includes/functions.php:2697
1448
  msgid "Post/Page exceptions"
1449
  msgstr ""
1450
 
1451
  #. translators: %s: Ad Inserter Pro
1452
+ #: includes/functions.php:2702
1453
  msgid "Enable %s settings page for sub-sites"
1454
  msgstr ""
1455
 
1456
+ #: includes/functions.php:2702
1457
  msgid "Settings page"
1458
  msgstr ""
1459
 
1460
  #. translators: %s: Ad Inserter Pro
1461
+ #: includes/functions.php:2707
1462
  msgid "Enable %s settings of main site to be used for all blogs"
1463
  msgstr ""
1464
 
1465
+ #: includes/functions.php:2707
1466
  msgid "Main site settings used for all blogs"
1467
  msgstr ""
1468
 
1469
+ #: includes/functions.php:2718 settings.php:2402
1470
  msgid "Ad Blocking Detection"
1471
  msgstr ""
1472
 
1473
+ #: includes/functions.php:2724
1474
  msgid ""
1475
  "Standard method is reliable but should be used only if Advanced method does "
1476
  "not work. Advanced method recreates files used for detection with random "
1478
  "publicly accessible"
1479
  msgstr ""
1480
 
1481
+ #: includes/functions.php:3120 includes/functions.php:3210
1482
+ #: includes/functions.php:3230
1483
  msgid "AD BLOCKING"
1484
  msgstr ""
1485
 
1486
+ #: includes/functions.php:3121 includes/functions.php:3161
1487
+ #: includes/functions.php:3204 includes/functions.php:3231
1488
  msgid "BLOCK INSERTED BUT NOT VISIBLE"
1489
  msgstr ""
1490
 
1491
+ #: includes/functions.php:3124 includes/functions.php:3203
1492
+ #: includes/functions.php:3237
1493
  msgid "NO AD BLOCKING"
1494
  msgstr ""
1495
 
1496
+ #: includes/functions.php:3160 includes/functions.php:3167
1497
  msgid "AD BLOCKING REPLACEMENT"
1498
  msgstr ""
1499
 
1500
+ #: includes/functions.php:3428 includes/functions.php:3637
1501
+ msgid "Pageviews"
1502
+ msgstr ""
1503
+
1504
+ #: includes/functions.php:3574
1505
  msgctxt "Version"
1506
  msgid "Unknown"
1507
  msgstr ""
1508
 
1509
+ #: includes/functions.php:3574
1510
  msgctxt "Times"
1511
  msgid "DISPLAYED"
1512
  msgstr ""
1513
 
1514
+ #: includes/functions.php:3574
1515
  msgid "No version"
1516
  msgstr ""
1517
 
1518
+ #: includes/functions.php:3575
1519
  msgctxt "Times"
1520
  msgid "BLOCKED"
1521
  msgstr ""
1522
 
1523
+ #: includes/functions.php:3637
 
 
 
 
1524
  msgid "Impressions"
1525
  msgstr ""
1526
 
1527
+ #: includes/functions.php:3638 includes/functions.php:3639
1528
+ #: includes/functions.php:3669
1529
  msgid "Clicks"
1530
  msgstr ""
1531
 
1532
+ #: includes/functions.php:3639
1533
  msgid "events"
1534
  msgstr ""
1535
 
1536
+ #: includes/functions.php:3640
1537
  msgid "Ad Blocking Share"
1538
  msgstr ""
1539
 
1540
  #. translators: CTR as Click Through Rate
1541
+ #: includes/functions.php:3640 includes/functions.php:3675
1542
  msgid "CTR"
1543
  msgstr ""
1544
 
1545
+ #: includes/functions.php:3757
1546
  msgid "pageviews"
1547
  msgid_plural "pageviews"
1548
  msgstr[0] ""
1549
  msgstr[1] ""
1550
 
1551
+ #: includes/functions.php:3757
1552
  msgid "impressions"
1553
  msgid_plural "impressions"
1554
  msgstr[0] ""
1555
  msgstr[1] ""
1556
 
1557
+ #: includes/functions.php:3761
1558
  msgid "event"
1559
  msgid_plural "events"
1560
  msgstr[0] ""
1561
  msgstr[1] ""
1562
 
1563
+ #: includes/functions.php:3761
1564
  msgid "click"
1565
  msgid_plural "clicks"
1566
  msgstr[0] ""
1567
  msgstr[1] ""
1568
 
1569
+ #: includes/functions.php:3856
1570
  msgctxt "Pageviews / Impressions"
1571
  msgid "Average"
1572
  msgstr ""
1573
 
1574
+ #: includes/functions.php:3877
1575
  msgctxt "Ad Blocking / Clicks"
1576
  msgid "Average"
1577
  msgstr ""
1578
 
1579
+ #: includes/functions.php:3901
1580
  msgctxt "Ad Blocking Share / CTR"
1581
  msgid "Average"
1582
  msgstr ""
1583
 
1584
+ #. Translators: %s: Ad Inserter Pro
1585
+ #: includes/functions.php:3953
1586
+ msgid "%s Report"
1587
+ msgstr ""
1588
+
1589
+ #: includes/functions.php:4031
1590
+ msgid "Advanced WordPress Ad Management Plugin"
1591
+ msgstr ""
1592
+
1593
  #: includes/placeholders.php:19
1594
  msgid "Custom"
1595
  msgstr ""
1682
  msgid "Remove dummy paragraph"
1683
  msgstr ""
1684
 
1685
+ #: includes/preview-adb.php:9 includes/preview.php:1780
1686
  msgid "Use current settings"
1687
  msgstr ""
1688
 
1709
  msgid "Default"
1710
  msgstr ""
1711
 
1712
+ #: includes/preview-adb.php:12 includes/preview.php:1783
1713
  msgid "Close preview window"
1714
  msgstr ""
1715
 
1730
  msgid "Overlay CSS"
1731
  msgstr ""
1732
 
1733
+ #: includes/preview.php:146
1734
  msgid "Sticky Code Preview"
1735
  msgstr ""
1736
 
1737
+ #: includes/preview.php:146
1738
  msgid "Code Preview"
1739
  msgstr ""
1740
 
1741
+ #: includes/preview.php:1778
1742
  msgid "Highlight inserted code"
1743
  msgstr ""
1744
 
1745
+ #: includes/preview.php:1778
1746
  msgid "Highlight"
1747
  msgstr ""
1748
 
1749
+ #: includes/preview.php:1781
1750
  msgid "Reset to block settings"
1751
  msgstr ""
1752
 
1753
+ #: includes/preview.php:1796
1754
  msgid "AdSense ad unit"
1755
  msgstr ""
1756
 
1757
+ #: includes/preview.php:1838 includes/preview.php:1875
1758
  msgid "Code"
1759
  msgstr ""
1760
 
1761
+ #: includes/preview.php:1864
1762
  msgid "wrapping div"
1763
  msgstr ""
1764
 
1765
+ #: includes/preview.php:1869 includes/preview.php:1876
1766
  msgid "background"
1767
  msgstr ""
1768
 
1769
+ #: includes/preview.php:1894 includes/preview.php:2040
1770
  msgid "Alignment and style"
1771
  msgstr ""
1772
 
1773
+ #: includes/preview.php:1962
1774
  msgid "Horizontal margin"
1775
  msgstr ""
1776
 
1777
+ #: includes/preview.php:2011
1778
  msgid "Vertical margin"
1779
  msgstr ""
1780
 
1781
+ #: includes/preview.php:2033
1782
  msgid "Animate"
1783
  msgstr ""
1784
 
1785
+ #: includes/preview.php:2092
1786
  msgid ""
1787
  "This is a preview of the code between dummy paragraphs. Here you can test "
1788
  "various block alignments, visually edit margin and padding values of the "
1792
  "restores all the values to those of the current block."
1793
  msgstr ""
1794
 
1795
+ #: includes/preview.php:2095
1796
  msgid ""
1797
  "This is a preview of the saved block between dummy paragraphs. It shows the "
1798
  "code with the alignment and style as it is set for this block. Highlight "
1799
  "button highlights background, wrapping div margin and code area."
1800
  msgstr ""
1801
 
1802
+ #: includes/preview.php:2097
1803
  msgid ""
1804
  "This is a preview of AdSense ad block between dummy paragraphs. AdSense ad "
1805
  "code was loaded from your AdSense account. The ad block is displayed on a "
1807
  "highlight ad block."
1808
  msgstr ""
1809
 
1810
+ #: includes/preview.php:2103
1811
  msgid ""
1812
  "You can resize the window (and refresh the page to reload ads) to check "
1813
  "display with different screen widths.\n"
1815
  "settings will be copied to the active block."
1816
  msgstr ""
1817
 
1818
+ #: includes/preview.php:2105
1819
  msgid ""
1820
  "Please note that the code, block name, alignment and style are taken from "
1821
  "the current block settings (may not be saved).\n"
1823
  "padding can't be set. However, you can use own HTML code for the block."
1824
  msgstr ""
1825
 
1826
+ #: includes/preview.php:2110 includes/preview.php:2124
1827
+ #: includes/preview.php:2134 includes/preview.php:2144
1828
+ #: includes/preview.php:2154
1829
  msgid ""
1830
  "Ad Inserter can be configured to insert any code anywhere on the page. Each "
1831
  "code with it's settings is called a block.\n"
1839
  "and manual insertion."
1840
  msgstr ""
1841
 
1842
+ #: includes/preview.php:2115 includes/preview.php:2129
1843
+ #: includes/preview.php:2139 includes/preview.php:2149
1844
+ #: includes/preview.php:2159
1845
  msgid ""
1846
  "Few very important things you need to know in order to insert code and "
1847
  "display some ad:\n"
1854
  "individual post/page exceptions."
1855
  msgstr ""
1856
 
1857
+ #: includes/preview.php:2121
1858
  msgid ""
1859
  "This is a preview of the code for sticky ads. Here you can test various "
1860
  "horizontal and vertical alignments, close button locations, visually edit "
3280
  "Position not available because output buffering (tab [*]) is not enabled"
3281
  msgstr ""
3282
 
3283
+ #: settings.php:3058 strings.php:217
3284
  msgid "Position not checked yet"
3285
  msgstr ""
3286
 
3288
  msgid "Toggle active/all blocks"
3289
  msgstr ""
3290
 
3291
+ #: settings.php:3093 strings.php:204
3292
  msgid "Rearrange block order"
3293
  msgstr ""
3294
 
3312
  msgid "Clear authorization to access AdSense account"
3313
  msgstr ""
3314
 
3315
+ #: settings.php:3135 settings.php:3500 settings.php:3567 strings.php:212
3316
  msgid "Google AdSense Homepage"
3317
  msgstr ""
3318
 
4622
  msgid "Fixed by viewport"
4623
  msgstr ""
4624
 
4625
+ #: strings.php:178
4626
+ msgid "Ad Inserter Pro Report"
4627
+ msgstr ""
4628
+
4629
+ #: strings.php:179
4630
+ msgid "Impressions and clicks"
4631
+ msgstr ""
4632
+
4633
+ #: strings.php:184
4634
  msgctxt "Button"
4635
  msgid "Hide"
4636
  msgstr ""
4637
 
4638
+ #: strings.php:185
4639
  msgctxt "Button"
4640
  msgid "Show"
4641
  msgstr ""
4642
 
4643
+ #: strings.php:186
4644
  msgid "Insertion expired"
4645
  msgstr ""
4646
 
4647
+ #: strings.php:187
4648
  msgid "Duration"
4649
  msgstr ""
4650
 
4651
+ #: strings.php:188
4652
  msgid "Invalid end date - must be after start date"
4653
  msgstr ""
4654
 
4655
+ #: strings.php:189
4656
  msgid "Invalid start date - only data for 1 year back is available"
4657
  msgstr ""
4658
 
4659
+ #: strings.php:190
4660
  msgid "Invalid date range - only data for 1 year can be displayed"
4661
  msgstr ""
4662
 
4663
+ #: strings.php:191 strings.php:192 strings.php:193 strings.php:194
4664
+ #: strings.php:195 strings.php:196
4665
  msgid "day"
4666
  msgid_plural "days"
4667
  msgstr[0] ""
4668
  msgstr[1] ""
4669
 
4670
+ #: strings.php:197
4671
  msgid "Warning"
4672
  msgstr ""
4673
 
4674
+ #: strings.php:198
4675
  msgid "Delete"
4676
  msgstr ""
4677
 
4678
+ #: strings.php:200
4679
  msgid "Delete all statistics data?"
4680
  msgstr ""
4681
 
4682
  #. translators: %s: dates
4683
+ #: strings.php:202
4684
  msgid "Delete statistics data between %s and %s?"
4685
  msgstr ""
4686
 
4687
+ #: strings.php:203
4688
  msgid "Cancel block order rearrangement"
4689
  msgstr ""
4690
 
4691
+ #: strings.php:205
4692
  msgid "downloading..."
4693
  msgstr ""
4694
 
4695
+ #: strings.php:206
4696
  msgid "download error"
4697
  msgstr ""
4698
 
4699
+ #: strings.php:207
4700
  msgid "update error"
4701
  msgstr ""
4702
 
4703
+ #: strings.php:208
4704
  msgid "Updating..."
4705
  msgstr ""
4706
 
4707
+ #: strings.php:210
4708
  msgid "ERROR"
4709
  msgstr ""
4710
 
4711
+ #: strings.php:211
4712
  msgid "Error reloading settings"
4713
  msgstr ""
4714
 
4715
+ #: strings.php:213
4716
  msgctxt "Search field placeholder"
4717
  msgid "Search..."
4718
  msgstr ""
4719
 
4720
+ #: strings.php:214
4721
  msgctxt "Search field placeholder"
4722
  msgid "Filter..."
4723
  msgstr ""
4724
 
4725
+ #: strings.php:215
4726
  msgid "Use filter to limit names in the list"
4727
  msgstr ""
4728
 
4729
+ #: strings.php:216
4730
  msgctxt "Button"
4731
  msgid "Filter"
4732
  msgstr ""
4733
 
4734
+ #: strings.php:218
4735
  msgid "Position not available"
4736
  msgstr ""
4737
 
4738
+ #: strings.php:219
4739
  msgid ""
4740
  "Theme check | Selected position for automatic insertion might not be not "
4741
  "available on this page type"
4742
  msgstr ""
4743
 
4744
+ #: strings.php:220
4745
  msgid "Position available"
4746
  msgstr ""
4747
 
4748
+ #: strings.php:222
4749
+ msgid "Select or upload banner image"
4750
+ msgstr ""
4751
+
4752
+ #: strings.php:223
4753
+ msgid "Use this image"
4754
+ msgstr ""
4755
+
4756
+ #: strings.php:236
4757
  msgid "Add"
4758
  msgstr ""
4759
 
4760
+ #: strings.php:237
4761
  msgid "Parent"
4762
  msgstr ""
4763
 
4764
+ #: strings.php:238
4765
  msgid "Cancel element selection"
4766
  msgstr ""
4767
 
4768
+ #: strings.php:239
4769
  msgid "Select parent element"
4770
  msgstr ""
4771
 
4772
+ #: strings.php:240
4773
  msgid "CSS selector"
4774
  msgstr ""
4775
 
4776
+ #: strings.php:241
4777
  msgid "Use current selector"
4778
  msgstr ""
4779
 
4780
+ #: strings.php:242
4781
  msgid "ELEMENT"
4782
  msgstr ""
4783
 
4784
+ #: strings.php:243
4785
  msgid "PATH"
4786
  msgstr ""
4787
 
4788
+ #: strings.php:244
4789
  msgid "SELECTOR"
4790
  msgstr ""
4791
 
4792
+ #: strings.php:245
4793
  msgctxt "Block"
4794
  msgid "VISIBLE"
4795
  msgstr ""
4796
 
4797
+ #: strings.php:246
4798
  msgctxt "Block"
4799
  msgid "HIDDEN"
4800
  msgstr ""
readme.txt CHANGED
@@ -1,720 +1,625 @@
1
- === WordPress Ads & AdSense plugin - Ad Inserter ===
2
-
3
- Contributors: spacetime
4
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4
5
- Tags: ads, adsense, ad rotation, ad manager, amp ads, amazon, ad blocking detection, header code, banner, banners, advert, adverts, sticky fixed widgets
6
- Requires at least: 4.0
7
- Tested up to: 5.0
8
- Requires PHP: 5.6
9
- Stable tag: 2.4.8
10
- License: GPLv3
11
-
12
- Insert and manage ads: Google AdSense ads, Amazon banners, ad rotation, sticky widget ads, PHP, tracking, footer, AdSense header code, AMP ads
13
-
14
- == Description ==
15
-
16
- Ad management plugin with many advanced advertising features to insert ads at optimal positions.
17
-
18
- Supports all kinds of ads including **Google AdSense ads**, contextual **Amazon Native Shopping Ads**, **Media.net ads** and **rotating banner ads.**
19
-
20
- This plugin is more than AdSense plugin or plugin for ads. It provides many advanced options to insert opt-in forms, header scripts, AMP ads, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page.
21
-
22
- **Ad Inserter can insert ads where other plugins fail**.
23
- It's all about the [settings](https://adinserter.pro/documentation).
24
-
25
- Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/">Ad Inserter reviews</a>
26
-
27
- > One of the best adsense plugins [...](https://wordpress.org/support/topic/one-of-the-best-adsense-plugins/)
28
- > Most comprehensive Ad plugin available [...](https://wordpress.org/support/topic/most-comprehensive-ad-plugin-available/)
29
- > Better than the old Google adsense plugin [...](https://wordpress.org/support/topic/better-than-the-old-google-adsense-plugin/)
30
- > The best WP Ad management plugin [...](https://wordpress.org/support/topic/the-best-wp-ad-management-plugin/)
31
- > Very flexible and excellent documentation [...](https://wordpress.org/support/topic/very-flexible-and-excellent-documentation/)
32
- > Excellent Ad Plugin [...](https://wordpress.org/support/topic/excellent-ad-plugin-2/)
33
- > Easy to use and also does more than I need [...](https://wordpress.org/support/topic/easy-to-use-and-also-does-more-than-i-need/)
34
- > Exactly what I needed to sell advertising spots [...](https://wordpress.org/support/topic/exactly-what-i-needed-to-sell-advertising-spots-on-our-site/)
35
- > Awesome Plugin and Super Support! [...](https://wordpress.org/support/topic/awesome-plugin-and-super-support/)
36
- > Lots of options and easy to use [...](https://wordpress.org/support/topic/lots-of-options-and-easy-to-use/)
37
- > Crazy flexible [...](https://wordpress.org/support/topic/crazy-flexible/)
38
- > Great plugin that makes it simple [...](https://wordpress.org/support/topic/great-plugin-that-makes-it-simple/)
39
- > Superb Plugin and Support team also so good [...](https://wordpress.org/support/topic/superb-plugin-and-support-team-also-so-good/)
40
- > Best in same kind of plugins [...](https://wordpress.org/support/topic/best-in-same-kind-of-plugins/)
41
- > Must Have Plugin for Each WP Site [...](https://wordpress.org/support/topic/must-have-plugin-for-each-wp-site/)
42
- > Best Ad Placement Plugin [...](https://wordpress.org/support/topic/best-ad-placement-plugin/)
43
- > Best Solution for Advertisement Management [...](https://wordpress.org/support/topic/best-solution-for-advertisement-management/)
44
- > Comprehensive, flexible and well supported [...](https://wordpress.org/support/topic/comprehensive-flexible-and-well-supported/)
45
- > God bless these guys! [...](https://wordpress.org/support/topic/god-bless-these-guys-2/)
46
- > PRO for Free [...](https://wordpress.org/support/topic/pro-for-free/)
47
-
48
- Looking for AdSense plugin with simple setup for ads at best positions? A plugin for Amazon ads and Google Analytics code in the header?
49
-
50
- **Features** - check [documentation](https://adinserter.pro/documentation/features) for the complete list
51
-
52
- * Enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads) and get powerful AdSense plugin
53
- * Syntax highlighting [editor](https://adinserter.pro/documentation/code-editing)
54
- * Code preview with visual CSS editor
55
- * Automatically inserts ads on posts and pages
56
- * Insert ads before or after post
57
- * Insert ads before or after content
58
- * Insert ads before or after paragraph
59
- * Insert ads before or after random paragraph
60
- * Insert ads before or after multiple paragraphs
61
- * Insert ads before or after image
62
- * Insert ads before or after comments
63
- * Insert ads before or after excerpt
64
- * Insert ads near any element on the page (using CSS selectors)
65
- * Insert ads above the header (after `<body>` tag)
66
- * Insert ads in the footer (before `</body>` tag)
67
- * Insert ads at relative positions in posts
68
- * Insert ads between posts on blog pages (in-feed AdSense ads)
69
- * Insert ads between excerpts on blog pages
70
- * Insert ads between comments
71
- * Insert ads at custom hook positions (`do_action ()` WP function)
72
- * Insert ads before or after any HTML element using CSS selectors
73
- * Visual HTML element selector (DOM explorer)
74
- * Avoid inserting ads near images or headers (AdSense TOS)
75
- * Disable ads on individual posts or pages
76
- * Insert header (`<head>` section) and footer code
77
- * Insert raw HTTP response header lines
78
- * Insert Google Analytics, Matomo (Piwik) or any other tracking code
79
- * Insert HTML, CSS, Javascript or PHP code
80
- * Code generator for banner ads and placeholders
81
- * Code generator for AdSense ads
82
- * Visual advert editor - create ads from scratch
83
- * Manual insertion: widgets, shortcodes, PHP function call
84
- * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled)
85
- * Custom alignments and styles for ads
86
- * Insert ads (different ad code) on AMP pages
87
- * Custom CSS class name for wrapping divs to avoid ad blockers
88
- * Use shortcodes from other plugins
89
- * Use custom fields as defined in posts
90
- * Use post title, tags or category names to create contextual ads
91
- * PHP code processing
92
- * Ad labels - show customized label above ads
93
- * Ad rotation (server-side and client-side - works with caching)
94
- * Timed ad rotation - define times to rotate ads in a single ad block
95
- * Create rich media ads with standard WordPress TinyMCE editor
96
- * Ad blocking detection - popup message, page redirection
97
- * Desktop/mobile device detection (server-side and client-side - works with caching)
98
- * [Blacklist/Whitelist](https://adinserter.pro/documentation/black-and-white-lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referrers
99
- * Easy copying and pasting ads or settings using internal clipboard
100
- * Simple troubleshooting with many debugging functions
101
- * Function to visualize inserted blocks and ads
102
- * Function to visualize AdSense ads with ad names and IDs
103
- * Function to visualize available insertion positions
104
- * Function to visualize HTML tags
105
- * You name it :)
106
-
107
- [Ad Inserter review](https://wpmayor.com/ad-inserter-review-the-best-wordpress-ad-management-plugin/) on WP Mayor
108
-
109
- > The Best WordPress Ad Management Plugin?
110
-
111
- [Ad Inserter review](https://www.shoutmeloud.com/ad-inserter-review.html) on ShoutMeLoud
112
-
113
- > Both Google and Amazon recommend this plugin for inserting ads, which is a testament to its quality
114
-
115
- **Endorsed by Google**
116
-
117
- Google lists Ad Inserter plugin as possible solution to place code for AdSense ads into your WordPress site.
118
-
119
- Ad Inserter is a perfect plugin to place code for Google AdSense ads at top positions for optimal monetization of your website: ordinary AdSense ads (ad units), AMP ads, Auto ads (page level ads), In-feed ads, in-article ads, responsive ads, AdSense ads that need page-specific header code, etc.
120
-
121
- > If you're new to AdSense, one of your first tasks is to connect your site to AdSense. This requires you to copy the code on your AdSense homepage and paste it into the HTML of your page, between the `<head>` and `</head>` tags.
122
-
123
- Check [How to insert ad code in your WordPress site](https://support.google.com/adsense/answer/7527509). Advanced users can enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads#integration): import AdSense ads from the plugin settings page - no need to copy codes for AdSense ads from the AdSense admin pages. List ad units, preview AdSense ads and get ad codes where you need them.
124
-
125
- **Endorsed by Amazon**
126
-
127
- Amazon suggests to use Ad Inserter to add Native Shopping Ads to Wordpress posts.
128
-
129
- > Native Shopping Ads provide highly relevant and dynamic product recommendations in a stylishly designed and responsive ad unit that can be placed at the end or within your content to create a more compelling visitor experience and shopping opportunity.
130
-
131
- Check <a href="https://affiliate-program.amazon.com/help/topic/t405" target="_blank">Wordpress Integration Guide for Native Shopping Ads</a>. Ad Inserter supports also advanced contextual ads: check settings for <a href="https://adinserter.pro/documentation/common-settings#amazon">contextual Native Shopping Ads</a> that show ads with items related to the post content (using post tags).
132
-
133
- If you need statistics for ads and metrics for impressions and clicks, A/B testing, lazy loading ads, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, functions to protect content from users using ad blockers, functions to serve different ads for users using ad blockers, multisite options to limit settings for ads, to block some IP addresses, to schedule ads, there is **Ad Inserter Pro** - all-in-one WordPress ad management plugin with many [advanced features](https://adinserter.pro/documentation/features):
134
-
135
- * Geolocation using Webnet77 or [MaxMind](http://www.maxmind.com/) databases (works also with caching)
136
- * Blacklist/Whitelist IP addresses or countries (works also with caching)
137
- * Ad impression and click statistics (works also with `<iframe>` Javascript ads like Google AdSense)
138
- * External tracking via Google Analytics or Matomo (Piwik)
139
- * A/B testing - discover ads and settings that perform best
140
- * Lazy loading ads (works with AdSense ads)
141
- * [Sticky ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with optional close button
142
- * Sticky sidebar ads (stick to the screen or to the content)
143
- * Floating slide-in banner ads
144
- * [Sticky (floating) ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with animations (fade, slide, turn, flip, zoom)
145
- * Animation trigger for sticky ads (page scroll in % or px, HTML element becomes visible)
146
- * Support for sticky ad bar
147
- * Support to schedule ads with fallback option
148
- * Support ads in iframes
149
- * Ad blocking detection - replace ads, protect content
150
- * Ad blocking statistics
151
- * Multisite options to limit settings on the sites
152
- * Individual post/page exception management
153
- * Export and import of settings
154
- * No ads on the settings page
155
- * Support via email
156
-
157
- Run a WordPress related blog? Have experience with AdSense ads? Interested in reviewing Ad Inserter Pro? [Introduce yourself](https://adinserter.pro/contact).
158
-
159
- Have experience with WordPress theme or plugin translation? We are looking for translators! [Contact us](https://adinserter.pro/contact).
160
-
161
- Ad Inserter WordPress plugin is an advanced advertising manager for all kinds of ads - it has many features and options to automate placing ads in order to optimally monetize your website on desktop, tablet and phone displays. It provides many simple ways to insert any kind of ads, Javascript, HTML, PHP or advert code anywhere on the page. For best placement of ads please read the user manual to get the most of the plugin.
162
-
163
- Check [Ad Inserter documentation pages](https://adinserter.pro/documentation) for detailed description of all the features and some [common settings](https://adinserter.pro/documentation/common-settings) for quick start.
164
-
165
- You can also use shortcodes from other plugins (for example, to insert ads from other ad plugins like AdRotate, Advanced Ads, Quick Adsense, AdSense Plugin WP QUADS, Insert Post Ads).
166
-
167
- Ads are not showing? Check [Blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed) and [troubleshooting guide](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed) to find out what to check.
168
-
169
- **Ad Inserter can insert ads where other plugins fail**.
170
- It's all about the settings.
171
-
172
- **Ad Inserter - WordPress Ad Manager**
173
-
174
- *One Plugin for All Ads*
175
-
176
- Ad Inserter is not just another plugin for WordPress ads. Do you enjoy finding the right plugin to solve a particular problem on your site? For example:
177
-
178
- * for ad management and ad injection
179
- * to insert Google AdSense ads or Media.net ads
180
- * for Google Ad Manager and DoubleClick (DFP) ads
181
- * to insert Amazon Native Shopping ads
182
- * to insert affiliate ads (CJ Affiliate by Conversant, ClickBank, ShareASale, Rakuten LinkShare, etc.)
183
- * to insert ads form BuySellAds, Chitika, Ezoic, Booking.com, Tradedoubler, Awin, Getyourguide
184
- * to insert ads between paragraphs
185
- * to insert ads between posts
186
- * to insert ads between comments
187
- * to insert ads on custom posts
188
- * to insert AMP ads on AMP pages
189
- * to insert different ads for mobile devices
190
- * to insert ads at custom action hooks (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hook Guide</a>)
191
- * to hide ads on specific pages
192
- * for ad rotation - to rotate different ads in a single ad position
193
- * for PHP code widgets and PHP ads
194
- * for sticky (fixed) widgets
195
- * for widget logic
196
- * to restrict widgets
197
- * to detect ad blocking
198
- * to insert banner ads
199
- * to insert PHP or HTML code into posts
200
- * to insert tracking, footer or header code
201
- * to insert PHP, HTML, CSS, shortcodes
202
- * to insert Google analytics code
203
- * to insert various opt-in forms (MailChimp, AWeber, GetResponse, etc.)
204
-
205
- Maintaining several plugins (often from different vendors) is not easy. And each plugin is slowing down the speed of your website.
206
-
207
- **Speed Up Your WordPress: Replace them all with free Ad Inserter!**
208
-
209
- **Quick Start**
210
-
211
- To become familiar with the plugin check [Quick Start](https://adinserter.pro/documentation/quick-start) to display ads on your website.
212
-
213
- To learn how to configure the most advanced WordPress AdSense plugin check documentation for [AdSense ads](https://adinserter.pro/documentation/adsense-ads): AdSense ad units, AdSense Auto ads, AdSense in-feed ads, AdSense in-article ads, AdSense AMP ads,...
214
-
215
- Few typical settings are described on the <a href="https://adinserter.pro/documentation/common-settings" target="_blank">Common Settings</a> page. Please make sure you have also read <a href="https://adinserter.pro/documentation/plugin-installation">plugin installation</a> documentation. For more detailed instructions please read <a href="https://adinserter.pro/documentation" target="_blank">Ad Inserter documentation pages</a>.
216
-
217
- **Main AdSense Features**
218
-
219
- To show AdSense ads you need to place code for AdSense ads on your website - you need WordPress AdSense plugin. Ad Inserter is a perfect tool to automatically insert code for AdSense ads on any page. AdSense integration and clearance options to make sure that your page will comply with the AdSense program policies, are just two advanced features that will help you to monetize your website with AdSense ads.
220
-
221
- * Get code for AdSense ads directly from your [AdSense account](https://adinserter.pro/documentation/adsense-ads#integration)
222
- * Code generator for AdSense ads
223
- * Create code for AdSense AMP ads from normal AdSense ad code
224
- * Convert standard AdSense text & display ads to AdSense link ads or vice versa
225
- * Convert fixed size AdSense ads to responsive AdSense ads
226
- * Convert responsive AdSense ads to fixed size AdSense ads
227
- * Create responsive AdSense ads with [fixed ad sizes for differrent devices](https://adinserter.pro/documentation/adsense-ads#responsive)
228
- * Support for AdSense Auto ads
229
- * Support to exclude AdSense Auto ads [on specific pages](https://adinserter.pro/documentation/plugin-settings#page-specific-header-footer)
230
- * Optionally limit insertion to 3 AdSense ads per page
231
- * Disable insertion of AdSense ads on Error 404 pages
232
- * Insert AdSense In-feed ads or In-article ads between posts or comments
233
- * Simple troubleshooting when AdSense ads are not displayed
234
- * Debugging function to label AdSense ad blocks to mark [blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed)
235
-
236
- *AdSense dictionary*
237
-
238
- Ad Inserter is also a powerful AdSense plugin. However, AdSense ads require some knowledge of ad terminology in order to use the right code for ads and to place them properly. This is a short list of commonly used terms:
239
-
240
- * Google AdSense: a program run by Google that allows publishers in the Google Network of content sites to serve automatic text ads, image ads, video ads or interactive media ads. Google AdSense provides the right ads for any audience: ads are reviewed to ensure they're high quality and relevant to your content or audience, even when viewed on smartphones and tablets. Block ads you don't like, customize where ads appear, and choose which types of ads fit your site best
241
- * AdSense text ads: ad with a title that's also a clickable link to a webpage, one or two lines of text, and a website address
242
- * AdSense display ads: graphical ads offered in several formats
243
- * AdSense video ads: one type of ads that can appear on AdSense sites - they can show on your pages if you have chosen to display image ads and are a using supported ad size
244
- * AdSense richer text ads: a form of text ads supplemented with advertiser images that are displayed as "display-like" ads
245
- * AdSense ad unit: a set of Google ads displayed as a result of one piece of AdSense ad code - for AdSense publishers who want full control over the placement of their ads
246
- * AdSense ad code: a snippet of HTML that when placed on any page of an approved site shows Google AdSense ads in a specific ad layout and format
247
- * AdSense ad format: the way AdSense ads are shown to the users on your site - different ad formats can support different ad types, such as text ads, display ads, video ads
248
- * Responsive AdSense ads: ads will resize to fill available width
249
- * Fixed size AdSense ads: you define width and height of ads
250
- * AdSense In-feed ads: ads between similar-looking content blocks that repeat one after the other
251
- * AdSense In-article ads: ads that fit seamlessly in between the paragraphs of your pages
252
- * AdSense Auto ads: a code that you insert on every page once and it will automatically display AdSense ads **on positions chosen by the Auto ads code** - a fast and easy way for AdSense publishers to get up and running with ads
253
- * AdSense ads on AMP pages: AMP pages need different code for AdSense ads. Each Ad Inserter code block can be configured to insert different codes on AMP pages - you can use use built-in AdSense code generator to generate code for AMP AdSense ads
254
- * Blank AdSense ads: blank (empty) ad blocks when Google for some reason does not display ads
255
- * AdSense integration: connection between plugin and your AdSense account
256
- * AdSense Program policies: all publishers using AdSense ads are required to adhere to AdSense Program policies - if you fail to comply with these policies, Google reserves the right to disable ad serving to your site (you get blank AdSense ads) and/or disable your AdSense account at any time
257
- * Personalized ads: Google considers ads to be personalized when they are based on previously collected or historical data to determine or influence ad selection, including a user's previous search queries, activity, visits to sites or apps, demographic information, or location
258
- * Non-personalized ads: ads that are not based on a user's past behavior. Non-Personalized Ads allow publishers to present EEA users with a choice between personalized ads and non-personalized ads, or to choose to serve only non-personalized ads to all users in the EEA. Non-Personalized Ads only use contextual information, including coarse general (city-level) location.
259
-
260
- **Insert Any Code Anywhere on the Page - Automate Insertion of Ads**
261
-
262
- * Automatic insertion of ads using standard WP hooks (the_content, the_excerpt, loop_start, loop_end, the_post,...)
263
- * Automatic insertion of ads using custom WP hooks provided by themes (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hooks</a>)
264
- * Server-side or client-side (javascript) insertion before or after **any HTML element on page** (using selectors #id, .class)
265
- * Manual insertion of ads with shortcodes
266
- * Insertion of ads with widgets
267
- * Insertion of ads by placing PHP function calls or custom hooks in your theme files
268
-
269
- Ad Inserter is **the only WordPress plugin that can insert any code or ads anywhere on the page**. If standard insertions before/after post, content or paragraph can't be used, you can use advanced insertion [before/after arbitrary HTML element](https://adinserter.pro/documentation/automatic-insertion#before-after-html-element).
270
-
271
- If you can create a CSS slector for the page element (#id, .class) then you can insert ads before or after that element. By default this approach uses client-side insertion using Javascript to insert code block after the page loads.
272
-
273
- However, if you enable Output buffering (tab &#9881; / tab General) you can select also Server-side insertion which will insert code block the same way as other insertions when the plugin is called and the page is created.
274
-
275
- Please note that **Output buffering** may not work with all themes - in such case you can still use client-side insertion.
276
-
277
- **Please support plugin development**
278
-
279
- If you are using Ad Inserter and you like it, then please write about it and spread the word on the <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post">review page</a>.
280
-
281
- Positive reviews are a great way to show your appreciation for my work. Besides being an incredible boost to my morale, they are also a great incentive to fix any bug found in the software and to add new features for better monetization of your website.
282
-
283
- Support the advancement of this plugin:
284
-
285
- * Write a short <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post">review</a>
286
- * <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4">Donate</a> if Ad Inserter helps you to make money with ads
287
- * Buy license for [Ad Inserter Pro](https://adinserter.pro/) - Top WordPress plugin for ads
288
-
289
- == Installation ==
290
-
291
- [Ad Inserter installation](https://adinserter.pro/documentation/plugin-installation)
292
-
293
- **Online Documentation**
294
-
295
- * [Ad Inserter Documentation](https://adinserter.pro/documentation)
296
- * [Ads not displayed](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed)
297
- * [Troubleshooting](https://adinserter.pro/documentation/troubleshooting)
298
- * [Code Editing](https://adinserter.pro/documentation/code-editing)
299
- * [Common Settings](https://adinserter.pro/documentation/common-settings)
300
- * [Automatic Insertion](https://adinserter.pro/documentation/automatic-insertion)
301
- * [Block Alignment and Style](https://adinserter.pro/documentation/alignments-and-styles)
302
- * [AdSense Ads](https://adinserter.pro/documentation/adsense-ads)
303
- * [WordPress Page Types](https://adinserter.pro/documentation/wordpress-page-types)
304
- * [Black and White Lists](https://adinserter.pro/documentation/black-and-white-lists)
305
- * [Post and Page Exceptions](https://adinserter.pro/documentation/individual-post-and-page-exceptions)
306
- * [Debugging](https://adinserter.pro/documentation/debugging)
307
-
308
-
309
- == Frequently Asked Questions ==
310
-
311
- = Settings for ads ... =
312
-
313
- Check <a href="https://adinserter.pro/documentation/common-settings" target="_blank">common Ad Inserter settings</a>
314
-
315
- = Does Ad Inserter insert any internal ads? =
316
-
317
- No revenue sharing and no such thing as "internal ads" or "our ads" on your website. Period. What you configure is what will be inserted (+ some internal scripts for plugin features).
318
- Ad Inserter is free, open source plugin and inserts only the code or ads you configure (blocks, Header, Footer). The code you see is the code that will be inserted. Please check page source code before you make any conclusion.
319
- Of course, if you configure code block with some JavaScript ad code, then this code may insert some additional code or show ads. But please, don't blame the plugin for this.
320
- You can also use Ad Inserter to insert code for AdSense Auto ads on each page (usually in the header). However, **the exact placement of ads will be done by the ad code, not Ad Inserter!**
321
- [https://adinserter.pro/documentation/adsense-ads#auto-ads](https://adinserter.pro/documentation/adsense-ads#auto-ads)
322
-
323
- The easiest way to check Ad Inserter blocks is to use **Label blocks** debugging function:
324
- [https://adinserter.pro/documentation/debugging](https://adinserter.pro/documentation/debugging)
325
-
326
- Please note that when you disable Ad Inserter you also disable insertion of all codes and blocks you have configured.
327
- Therefore, if your issues go away when you disable the plugin THIS DOES NOT INDICATE any issue with the plugin! You need to try to [disable individual codes](https://adinserter.pro/documentation/debugging#back-end) to see which one is causing trouble.
328
-
329
- = I have installed code for AdSense ads and I see ads placed at random positions. =
330
-
331
- You are probably using code for [AdSense Auto ads](https://adinserter.pro/documentation/adsense-ads#auto-ads).
332
-
333
- AdSense Auto ads (known also as AdSense Page Level Ads) is a code that you insert on every page once and it will automatically display AdSense ads on positions chosen by the code.
334
- AdSense Auto ads use Google's machine learning to pick the best placements on your pages to show ads. You only need to add one piece of code to all your pages, and let Google take care of the rest.
335
-
336
- AdSense Auto ads may not be suitable for some WordPress themes or layouts. In such cases it is easier to place ads at wanted locations by using [normal AdSense code](https://adinserter.pro/documentation/adsense-ads#ad-unit) and specifying exact locations where the code should be inserted.
337
-
338
- = I have installed code for AdSense ads but the ad blocks are blank. =
339
-
340
- Blank AdSense ad block means that the code is inserted properly only the ad code doesn't display ads. Typical reasons for this are the following:
341
-
342
- * After the ad code is inserted Google needs some time (hours) to check the pages before it starts to serve ads.
343
- * AdSense account is not fully approved yet - if your account is new you need to wait until Google checks ad codes on your website and and confirms your account. Usually this takes few days.
344
- * Your website or page is not approved yet - you need to wait until Google web crawlers check your pages.
345
- * Your website or page was not approved for AdSense ads
346
- * Your AdSense account is banned
347
- * No ads available for your website
348
- * Errors in ad code - check or regenerate ad code
349
- * You are using ad blocker
350
-
351
- In such case you can try other ad networks for contextual ads. Check <a href="https://adinserter.pro/documentation/troubleshooting#ads-not-displayed">Ads Not Displayed</a> for more information.
352
-
353
- = What is GDPR? =
354
-
355
- The GDPR (General Data Protection Regulation) is a regulation in European Union (EU) on data protection and privacy for all individuals within the EU and the European Economic Area (EEA) that was designed to harmonize data privacy laws across Europe. If you collect personal information from any EU citizen (within or outside the EU), you must first obtain explicit and unambiguous consent.
356
-
357
- = GDPR compliance: What cookies does the plugin use =
358
-
359
- Ad Inserter itself does not use cookies except for ad blocking detection when you use delayed action.
360
-
361
- In this case 3 cookies may be used (to store pageviews and action settings): `aiADB`, `aiADB_PV` and `aiADB_PR`. However, no personal data is stored in the cookies.
362
-
363
- Of course, the ads you may insert with the plugin may use own cookies - please check with ad networks for details.
364
-
365
- = How to display a GDPR compliant cookie message? =
366
-
367
- You can use any plugin for GDPR compliance / cookie consent. For example:
368
-
369
- * [Cookie Notice for GDPR](https://wordpress.org/plugins/cookie-notice/)
370
- * [Cookie Consent](https://wordpress.org/plugins/uk-cookie-consent/)
371
- * [GDPR Cookie Consent](https://wordpress.org/plugins/cookie-law-info/)
372
-
373
- PLEASE NOTE: Installing GDPR plugin alone does not make your site GDPR compliant. Since ads you insert may use various cookies, you may need to make sure you have necessary configurations in place. Please check next question regarding showing ads based on visitor's consent.
374
-
375
- = How to show ads based on visitor's consent? =
376
-
377
- Ad Inserter supports inserting (showing) ads based on cookies or cookie values. You can define cookie conditions by black/whitelisting *Url parameters* (where also [cookies are checked](https://adinserter.pro/documentation/black-and-white-lists#cookies)).
378
-
379
- PLEASE NOTE: If you are using caching (very likely) you also need to set **Dynamic blocks** to **Client-side insert** (tab &#9881; / tab General) in order to check cookies in visitor's browser and not when the page is generated.
380
-
381
- For example, If you are using one of the following plugins for cookie consent you need to **whitelist the following cookie and value in Url parameter list**:
382
-
383
- * [GDPR Cookie Consent](https://wordpress.org/plugins/cookie-law-info/) - Whitelist `viewed_cookie_policy=yes`
384
- * [Cookie Notice for GDPR](https://wordpress.org/plugins/cookie-notice/) - Whitelist `cookie_notice_accepted=true`
385
- * [Cookie Consent](https://wordpress.org/plugins/uk-cookie-consent/) - Whitelist `catAccCookies=1`
386
-
387
- = Settings for widget ads =
388
-
389
- * Enter the code for ads into any block, enable wanted [page types](https://adinserter.pro/documentation/wordpress-page-types) and save settings - widget is enabled by default
390
- * Go to Appearance / Widgets, drag Ad Inserter widget to the sidebar or any other widget position, select block and click on Save (button Save might be disabled until you make some change)
391
- * Optionally you can enable Sticky widget - this means that this widget (and widgets below) will stay fixed in the sidebar when the page is scrolled - Sticky sidebar or Fixed widget feature
392
- * You can also make other widgets sticky even if you don't use Ad Inserter ads - drag Ad Inserter widget to the sidebar ABOVE the top widget that needs to be sticky, select Dummy Widget for Block, check Sticky and save widget
393
- * In general plugin settings (tab &#9881;) you can also define Sticky Widget Top Margin to precisely define top position where the first sticky widget will stick
394
-
395
- Additional note regarding *Sticky Widgets* - *Sticky Sidebars*:
396
-
397
- There are two modes for sticky widgets (or sticky sidebars) available as **Sticky widget mode** in general plugin settings (tab &#9881;):
398
-
399
- * CSS mode - This mode is the best approach but may not work with all themes. CSS mode works by changing sidebar CSS to `position: sticky`. This works with most themes but not all. If your widgets and sidebar aren't sticking as expected you can use **JavaScript mode** described below.
400
- * JavaScript mode - This mode should work with practically all themes but may reload ads on page load when sticky sidebar is initialized.
401
-
402
-
403
- = What is plugin usage tracking? =
404
-
405
- When enabled, the information regarding WordPress environment and Ad Inserter usage will be collected and sent to plugin developers (once per month and on events like plugin activation/deactivation).
406
-
407
- This is completely optional and can be disabled at any time. So if you have opted in (by clicking Allow when asked for permission) and now you would like to disable tracking, you should go to tab &#9881; / tab General, select **Disable** for Plugin usage tracking and save settings.
408
-
409
- If this setting is not available then you have not selected any option yet - **tracking is disabled unless explicitly enabled** by clicking Allow when asked for permission (or when this setting is set to Enable).
410
-
411
- What data is collected: Ad Inserter version, activation status, number of active blocks, date of installation, date of last saved settings, status of review notice and remote debugging, block class name, location, website url and name, WordPress version, language, text direction, charset, number of posts, active theme and version, list of installed plugins, PHP version, server name, IP address (used to determine country), site count for multisite installations, deactivation reasons and details (if provided).
412
-
413
- Ad Inserter is only a plugin for WordPress content management software. It works together with WordPress, other installed plugins and selected theme.
414
-
415
- This data provides information to make the plugin to be compatible with as many environments as possible, to test the plugin with commonly used plugins and themes, to understand why users deativate (and uninstall) the plugin and to get ideas to make improvements to the plugin.
416
-
417
- If you are not happy to reveal this information and you have opted in, simply disable usage tracking as described above.
418
-
419
- **Your decision will be respected.**
420
-
421
-
422
- = Settings for contextual Amazon Native Shopping Ads =
423
-
424
- * Automatic Insertion: After Content
425
- * On all Posts checked, other page types unchecked
426
-
427
- Sign in to Amazon Associates, go to Widgets/Widget Source, choose ad type and set parameters.
428
- For titles and search terms use tags. For example, the code below would display amazon products related to the post tags - check documentation for all possible tags.
429
-
430
- `<script type="text/javascript">
431
- amzn_assoc_placement = "adunit0";
432
- amzn_assoc_search_bar = "true";
433
- amzn_assoc_tracking_id = "ad-inserter-20";
434
- amzn_assoc_search_bar_position = "top";
435
- amzn_assoc_ad_mode = "search";
436
- amzn_assoc_ad_type = "smart";
437
- amzn_assoc_marketplace = "amazon";
438
- amzn_assoc_region = "US";
439
- amzn_assoc_title = "Search Results from Amazon";
440
- amzn_assoc_default_search_phrase = "[adinserter data='smart-tag']";
441
- amzn_assoc_default_category = "All";
442
- amzn_assoc_linkid = "cf1873f027a57f63cede634cfd444bea";
443
- </script>
444
- <script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"></script>`
445
-
446
- Use your own tracking id! Please note `[adinserter data='smart-tag']` as default search phrase. This makes this widget contextual. It will show products related to the tags for this post.
447
-
448
- You can also use [custom fields](https://codex.wordpress.org/Custom_Fields) to make the widget contextual. For example, if you define in posts custom field named `amazon-keyword` you can use `[adinserter custom-field='amazon-keyword']` for `amzn_assoc_default_search_phrase` variable.
449
-
450
- You can also try with `[adinserter data='tag']`, `[adinserter data='short-title']`, `[adinserter data='category']` or `[adinserter data='short-category']`. For more options check [Ad Inserter documentation page](http://adinserter.pro/documentation#code-block-options).
451
-
452
-
453
- = I wish to show ads side by side but not in the same block. How do I do this? =
454
-
455
- Configure block 1 and 2 with ads using:
456
-
457
- * Automatic Insertion: Disabled
458
- * Block Alignment and Style: No Wrapping
459
- * Enable shortcode: checked
460
-
461
- Configure block 3 with
462
-
463
- `[adinserter code="1" ignore="page-type"]
464
- [adinserter code="2" ignore="page-type"]`
465
-
466
- and use block 3 to insert ads.
467
-
468
-
469
- = I use After Content insertion position but the ads are inserted after the stuff provided by other plugins. How can I insert ads directly after post content?
470
-
471
- This happens because Ad Inserter processes posts last and therefore "sees" also content added by other plugins.
472
-
473
- Try to set Ad Inserter plugin priority to 10 (early processing, Ad Inserter settings - tab &#9881; / tab General).
474
-
475
-
476
- = How can I add some title or label (e.g. Advertisements) above AdSense ads? =
477
-
478
- If this is a sidebar widget then you can simply name the widget.
479
-
480
- For each code block you can also show a label above each ad. Default text (or HTML code) for ad labels can be set on the general plugin settings tab (tab &#9881; / tab General / **Ad label**.
481
- To enable ad label above the ad go to code block for this ad, click on the Misc button and then on the Display tab check **Ad label**.
482
-
483
- If you configured only text for ad label then the following code will be added above ad code: `<div class="code-block-label">AD_LABEL_TEXT</div>` (`code-block` is the block class name used, AD_LABEL_TEXT is the text for Ad Label).
484
- You can then style the label using CSS for class `.code-block-label` (the best place for this code is Header section). If HTML code is configured for ad label then this code will be used (instead of the div code above).
485
-
486
- In case you need a different label for some ad you can simply add label HTML code above the ad code. For example:
487
-
488
- `<h3>Advertisements</h3>
489
-
490
- AD_CODE`
491
-
492
- Ad lables can be inserted only above ads (blocks) inserted by Ad Inserter - AdSense Auto ads are automatically inseted by AdSense Auto ads code.
493
-
494
- = How can place ads below Read More tag? =
495
-
496
- Configure ad block with the following options:
497
-
498
- * Automatic Insertion: After Paragraph
499
- * Paragraph Number: 1
500
- * Count only paragraphs that CONTAIN: `<span id="more-`
501
-
502
- Check source code of your website for proper "read more" tag.
503
-
504
-
505
- = How can I rotate between different alignments so I can test an ad aligned to the right against an ad aligned to the left? =
506
-
507
- Set Block Alignment and Style to "No Wrapping" and create manual wrapping around both ads separated with [ADINSERTER ROTATE]:
508
-
509
- `<div style="float: left; margin: 0 8px 8px 0;">
510
- AD CODE LEFT
511
- </div>
512
-
513
- [ADINSERTER ROTATE]
514
-
515
- <div style="float: right; margin: 0 0 8px 8px;">
516
- AD CODE RIGHT
517
- </div>`
518
-
519
- Please note that responsive AdSense ads can not work with floating alignments (ad container width is not known) - either use AdSense code with fixed ad sizes or don't use floating alignment.
520
-
521
- == Screenshots ==
522
-
523
- 1. Settings for one code block (Before content).
524
- 2. Code preview with visual CSS editor
525
- 3. Code preview with visual CSS editor - highlighted code
526
- 4. Post / Page Ad Inserter Individual Exceptions
527
- 5. Some <a href="https://adinserter.pro/" target="_blank">Ad Inserter Pro</a> features: IP address and country lists, Scheduling between dates with fallback
528
- 6. Ad Inserter plugin settings
529
- 7. Visualization of HTML tags in post
530
- 8. Visualization of positions for automatic insertion in post
531
- 9. Visualization of inserted block in post
532
- 10. Automatic insertion, Alignment and Style settings
533
- 11. Rotation code editor and banner code generator
534
- 12. Settings for automatic insertion before/after paragraphs
535
- 13. Settings for custom hooks
536
- 14. Settings automatic insertion at custom hook positions
537
- 15. Settings ad blocking detection
538
- 16. AdSense code generator
539
- 17. Complete settings for one code block (Before Paragraph)
540
-
541
-
542
- == Changelog ==
543
-
544
- = 2.4.8 =
545
- - Added support for automatic insertion before/after image
546
- - Added support for theme checker for available positions for automatic insertion
547
-
548
- = 2.4.7 =
549
- - Fix for lazy loading in Ajax calls (Pro only)
550
- - Fix for country list editor (Pro only)
551
- - Few minor bug fixes, cosmetic changes and code improvements
552
-
553
- = 2.4.6 =
554
- - Improved ad blocking detection (detects Firefox content blocking)
555
- - Added support for wildcards for referrers (domains)
556
- - Added debugging notice when JavaScript errors are detected
557
- - Added support to load blocks in iframes (Pro only)
558
- - Added geolocation support for country subdivisions and cities (Pro only)
559
- - Added option to hide license key on client websites (Pro only)
560
- - Few minor bug fixes, cosmetic changes and code improvements
561
-
562
- = 2.4.5 =
563
- - Added support for AMP WP - Google AMP For WordPress
564
- - Added support to individually disable insertions for debugging purposes
565
- - Improved HTML element selection tool
566
- - Fix for Call to undefined function wp_get_current_user()
567
- - Few minor bug fixes, cosmetic changes and code improvements
568
-
569
- = 2.4.4 =
570
- - Fix for Fatal error: Call to undefined function mb_strtoupper()
571
-
572
- = 2.4.3 =
573
- - Added support for insertion before/after every N paragraphs (%N)
574
- - Added support for i18n
575
- - Fix for insertion on admin pages
576
- - Fix for client-side cookie check
577
- - Fix for loaded styles from other plugins/themes on the settings page
578
- - Fix for client-side insertion near HTML elements using :eq selector
579
- - Fix for deactivation feedback form not closing
580
- - Few minor bug fixes, cosmetic changes and code improvements
581
-
582
- = 2.4.2 =
583
- - Added support for visual HTML element selection
584
- - Fix for client-side insertion inside HTML elements
585
- - Few minor bug fixes, cosmetic changes and code improvements
586
-
587
- = 2.4.1 =
588
- - Added option to insert into HTML element (prepend, append, replace content)
589
- - Added option to remove HTML element
590
- - Added option to not show deactivation feedback form
591
- - Added support for negative relative positions for paragraph counting
592
- - Few minor bug fixes, cosmetic changes and code improvements
593
-
594
- = 2.4.0 =
595
- - Improved code for client-side insertion
596
- - Added support for usage tracking
597
- - Fix for compatibility with older PHP versions (below 5.4)
598
- - Few minor bug fixes, cosmetic changes and code improvements
599
-
600
- = 2.3.21 =
601
- - Added option to force showing admin toolbar when viewing site
602
- - Added additional debugging info for blocks in Ajax requests
603
- - Fix for viewport visibility detection
604
- - Fix for rotation with non-ASCII characters
605
- - Few minor bug fixes, cosmetic changes and code improvements
606
-
607
- = 2.3.20 =
608
- - Improved loading of settings
609
- - Fix for content processing in some ajax calls
610
- - Few minor bug fixes, cosmetic changes and code improvements
611
-
612
- = 2.3.19 =
613
- - Improved code for client-side insertion
614
- - Fix for rotation with shortcodes
615
- - Few minor bug fixes, cosmetic changes and code improvements
616
-
617
- = 2.3.18 =
618
- - Added support to schedule insertion for N days after publishing
619
- - Added support to schedule insertion only for posts published inside/outside time period (Pro only)
620
- - Added support to prevent activation of free Ad Inserter while Pro is active
621
- - Added url parameter to show block code
622
- - Improved Header/Footer code debugging
623
- - Few minor bug fixes, cosmetic changes and code improvements
624
-
625
- = 2.3.17 =
626
- - Added shortcode for ad blocking detection action
627
- - Few minor bug fixes, cosmetic changes and code improvements
628
-
629
-
630
- = Earlier versions =
631
-
632
- For the changelog of earlier versions, please refer to the separate changelog.txt file.
633
-
634
- == Upgrade Notice ==
635
-
636
- = 2.4.8 =
637
- Added support for automatic insertion before/after image;
638
- Added support for theme checker for available positions for automatic insertion
639
-
640
- = 2.4.7 =
641
- Fix for lazy loading in Ajax calls (Pro only);
642
- Fix for country list editor (Pro only);
643
- Few minor bug fixes, cosmetic changes and code improvements
644
-
645
- = 2.4.6 =
646
- Improved ad blocking detection (detects Firefox content blocking);
647
- Added support for wildcards for referrers (domains);
648
- - Added debugging notice when JavaScript errors are detected
649
- Added support to load blocks in iframes (Pro only);
650
- Added geolocation support for country subdivisions and cities (Pro only);
651
- Added option to hide license key on client websites (Pro only);
652
- Few minor bug fixes, cosmetic changes and code improvements
653
-
654
- = 2.4.5 =
655
- Added support for AMP WP - Google AMP For WordPress;
656
- Added support to individually disable insertions for debugging purposes;
657
- Improved HTML element selection tool;
658
- Fix for Call to undefined function wp_get_current_user();
659
- Few minor bug fixes, cosmetic changes and code improvements;
660
-
661
- = 2.4.4 =
662
- Fix for Fatal error: Call to undefined function mb_strtoupper()
663
-
664
- = 2.4.3 =
665
- Added support for insertion before/after every N paragraphs (%N);
666
- Added support for i18n;
667
- Fix for insertion on admin pages;
668
- Fix for client-side cookie check;
669
- Fix for loaded styles from other plugins/themes on the settings page;
670
- Fix for client-side insertion near HTML elements using :eq selector;
671
- Fix for deactivation feedback form not closing;
672
- Few minor bug fixes, cosmetic changes and code improvements
673
-
674
- = 2.4.2 =
675
- Added support for visual HTML element selection;
676
- Fix for client-side insertion inside HTML elements;
677
- Few minor bug fixes, cosmetic changes and code improvements
678
-
679
- = 2.4.1 =
680
- Added option to insert into HTML element (prepend, append, replace content);
681
- Added option to remove HTML element;
682
- Added option to not show deactivation feedback form;
683
- Added support for negative relative positions for paragraph counting;
684
- Few minor bug fixes, cosmetic changes and code improvements
685
-
686
- = 2.4.0 =
687
- Improved code for client-side insertion;
688
- Added support for usage tracking;
689
- Fix for compatibility with older PHP versions (below 5.4);
690
- Few minor bug fixes, cosmetic changes and code improvements
691
-
692
- = 2.3.21 =
693
- Added option to force showing admin toolbar when viewing site;
694
- Added additional debugging info for blocks in Ajax requests;
695
- Fix for viewport visibility detection;
696
- Fix for rotation with non-ASCII characters;
697
- Few minor bug fixes, cosmetic changes and code improvements
698
-
699
- = 2.3.20 =
700
- Improved loading of settings;
701
- Fix for content processing in some ajax calls;
702
- Few minor bug fixes, cosmetic changes and code improvements
703
-
704
- = 2.3.19 =
705
- Improved code for client-side insertion;
706
- Fix for rotation with shortcodes;
707
- Few minor bug fixes, cosmetic changes and code improvements;
708
-
709
- = 2.3.18 =
710
- Added support to schedule insertion for N days after publishing;
711
- Added support to schedule insertion only for posts published inside/outside time period (Pro only);
712
- Added support to prevent activation of free Ad Inserter while Pro is active;
713
- Added url parameter to show block code;
714
- Improved Header/Footer code debugging;
715
- Few minor bug fixes, cosmetic changes and code improvements
716
-
717
- = 2.3.17 =
718
- Added shortcode for ad blocking detection action;
719
- Few minor bug fixes, cosmetic changes and code improvements
720
-
1
+ === WordPress Ad Manager & AdSense Ads - Ad Inserter ===
2
+
3
+ Contributors: spacetime
4
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4
5
+ Tags: ads, adsense, ad rotation, ad manager, amp, amazon, ad blocking detection, header code, banners, adverts, sticky fixed widgets, dfp, DoubleClick for publishers
6
+ Requires at least: 4.0
7
+ Tested up to: 5.0
8
+ Requires PHP: 5.6
9
+ Stable tag: 2.4.9
10
+ License: GPLv3
11
+
12
+ Manage ads: Google AdSense ads, Amazon banners, ad rotation, sticky widget ads, AMP ads, DFP ads, PHP, tracking, AdSense header and footer code
13
+
14
+ == Description ==
15
+
16
+ Ad management plugin with many advanced advertising features to insert ads at optimal positions.
17
+
18
+ Supports all kinds of ads including **Google AdSense ads**, **Google Ad Manager** (DFP - DoubleClick for publishers) ads, contextual **Amazon Native Shopping Ads**, **Media.net ads** and **rotating banners.**
19
+
20
+ This plugin is more than AdSense plugin or plugin for ads. It provides many advanced options to insert opt-in forms, header scripts, AMP ads, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page.
21
+
22
+ **Ad Inserter can insert ads where other plugins fail**.
23
+ It's all about the [settings](https://adinserter.pro/documentation).
24
+
25
+ Average Rating: 5 out of 5 stars - check <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/">Ad Inserter reviews</a>
26
+
27
+ > One of the best adsense plugins [...](https://wordpress.org/support/topic/one-of-the-best-adsense-plugins/)
28
+ > Most comprehensive Ad plugin available [...](https://wordpress.org/support/topic/most-comprehensive-ad-plugin-available/)
29
+ > Better than the old Google adsense plugin [...](https://wordpress.org/support/topic/better-than-the-old-google-adsense-plugin/)
30
+ > The best WP Ad management plugin [...](https://wordpress.org/support/topic/the-best-wp-ad-management-plugin/)
31
+ > Very flexible and excellent documentation [...](https://wordpress.org/support/topic/very-flexible-and-excellent-documentation/)
32
+ > Excellent Ad Plugin [...](https://wordpress.org/support/topic/excellent-ad-plugin-2/)
33
+ > Easy to use and also does more than I need [...](https://wordpress.org/support/topic/easy-to-use-and-also-does-more-than-i-need/)
34
+ > Exactly what I needed to sell advertising spots [...](https://wordpress.org/support/topic/exactly-what-i-needed-to-sell-advertising-spots-on-our-site/)
35
+ > Awesome Plugin and Super Support! [...](https://wordpress.org/support/topic/awesome-plugin-and-super-support/)
36
+ > Lots of options and easy to use [...](https://wordpress.org/support/topic/lots-of-options-and-easy-to-use/)
37
+ > Crazy flexible [...](https://wordpress.org/support/topic/crazy-flexible/)
38
+ > Great plugin that makes it simple [...](https://wordpress.org/support/topic/great-plugin-that-makes-it-simple/)
39
+ > Superb Plugin and Support team also so good [...](https://wordpress.org/support/topic/superb-plugin-and-support-team-also-so-good/)
40
+ > Best in same kind of plugins [...](https://wordpress.org/support/topic/best-in-same-kind-of-plugins/)
41
+ > Must Have Plugin for Each WP Site [...](https://wordpress.org/support/topic/must-have-plugin-for-each-wp-site/)
42
+ > Best Ad Placement Plugin [...](https://wordpress.org/support/topic/best-ad-placement-plugin/)
43
+ > Best Solution for Advertisement Management [...](https://wordpress.org/support/topic/best-solution-for-advertisement-management/)
44
+ > Comprehensive, flexible and well supported [...](https://wordpress.org/support/topic/comprehensive-flexible-and-well-supported/)
45
+ > God bless these guys! [...](https://wordpress.org/support/topic/god-bless-these-guys-2/)
46
+ > PRO for Free [...](https://wordpress.org/support/topic/pro-for-free/)
47
+
48
+ Looking for AdSense plugin with simple setup for ads at best positions? A plugin for Amazon ads and Google Analytics code in the header?
49
+
50
+ **Features** - check [documentation](https://adinserter.pro/documentation/features) for the complete list
51
+
52
+ * Enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads) and get powerful AdSense plugin
53
+ * Support for [Google Ad Manager](https://adinserter.pro/documentation/ad-manager-ads) (DoubleClick for publishers) ads
54
+ * Syntax highlighting [editor](https://adinserter.pro/documentation/code-editing)
55
+ * Code preview with visual CSS editor
56
+ * Automatically inserts ads on posts and pages
57
+ * Insert ads before or after post
58
+ * Insert ads before or after content
59
+ * Insert ads before or after paragraph
60
+ * Insert ads before or after random paragraph
61
+ * Insert ads before or after multiple paragraphs
62
+ * Insert ads before or after image
63
+ * Insert ads before or after comments
64
+ * Insert ads before or after excerpt
65
+ * Insert ads near any element on the page (using CSS selectors)
66
+ * Insert ads above the header (after `<body>` tag)
67
+ * Insert ads in the footer (before `</body>` tag)
68
+ * Insert ads at relative positions in posts
69
+ * Insert ads between posts on blog pages (in-feed AdSense ads)
70
+ * Insert ads between excerpts on blog pages
71
+ * Insert ads between comments
72
+ * Insert ads at custom hook positions (`do_action ()` WP function)
73
+ * Insert ads before or after any HTML element using CSS selectors
74
+ * Visual HTML element selector (DOM explorer)
75
+ * Avoid inserting ads near images or headers (AdSense TOS)
76
+ * Disable ads on individual posts or pages
77
+ * Insert header (`<head>` section) and footer code
78
+ * Insert raw HTTP response header lines
79
+ * Insert Google Analytics, Matomo (Piwik) or any other tracking code
80
+ * Insert images, HTML, CSS, Javascript or PHP code
81
+ * Code generator for banners and placeholders
82
+ * Code generator for AdSense ads
83
+ * Visual advert editor - create ads from scratch
84
+ * Manual insertion: widgets, shortcodes, PHP function call
85
+ * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled)
86
+ * Custom alignments and styles for ads
87
+ * Insert ads (different ad code) on AMP pages
88
+ * Custom CSS class name for wrapping divs to avoid ad blockers
89
+ * Use shortcodes from other plugins
90
+ * Use custom fields as defined in posts
91
+ * Use post title, tags or category names to create contextual ads
92
+ * PHP code processing
93
+ * Ad labels - show customized label above ads
94
+ * Ad rotation (server-side and client-side - works with caching)
95
+ * Timed ad rotation - define times to rotate ads in a single ad block
96
+ * Create rich media ads with standard WordPress TinyMCE editor
97
+ * Ad blocking detection - popup message, page redirection
98
+ * Desktop/mobile device detection (server-side and client-side - works with caching)
99
+ * [Blacklist/Whitelist](https://adinserter.pro/documentation/black-and-white-lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referrers
100
+ * Easy copying and pasting ads or settings using internal clipboard
101
+ * Simple troubleshooting with many debugging functions
102
+ * Function to visualize inserted blocks and ads
103
+ * Function to visualize AdSense ads with ad names and IDs
104
+ * Function to visualize available insertion positions
105
+ * Function to visualize HTML tags
106
+ * You name it :)
107
+
108
+ [Ad Inserter review](https://wpmayor.com/ad-inserter-review-the-best-wordpress-ad-management-plugin/) on WP Mayor
109
+
110
+ > The Best WordPress Ad Management Plugin?
111
+
112
+ [Ad Inserter review](https://www.shoutmeloud.com/ad-inserter-review.html) on ShoutMeLoud
113
+
114
+ > Both Google and Amazon recommend this plugin for inserting ads, which is a testament to its quality
115
+
116
+ **Endorsed by Google**
117
+
118
+ Google lists Ad Inserter plugin as possible solution to place code for AdSense ads into your WordPress site.
119
+
120
+ Ad Inserter is a perfect plugin to place code for Google AdSense ads at top positions for optimal monetization of your website: ordinary AdSense ads (ad units), AMP ads, Auto ads (page level ads), In-feed ads, in-article ads, responsive ads, AdSense ads that need page-specific header code, etc.
121
+
122
+ > If you're new to AdSense, one of your first tasks is to connect your site to AdSense. This requires you to copy the code on your AdSense homepage and paste it into the HTML of your page, between the `<head>` and `</head>` tags.
123
+
124
+ Check [How to insert ad code in your WordPress site](https://support.google.com/adsense/answer/7527509). Advanced users can enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads#integration): import AdSense ads from the plugin settings page - no need to copy codes for AdSense ads from the AdSense admin pages. List ad units, preview AdSense ads and get ad codes where you need them.
125
+
126
+ **Endorsed by Amazon**
127
+
128
+ Amazon suggests to use Ad Inserter to add Native Shopping Ads to Wordpress posts.
129
+
130
+ > Native Shopping Ads provide highly relevant and dynamic product recommendations in a stylishly designed and responsive ad unit that can be placed at the end or within your content to create a more compelling visitor experience and shopping opportunity.
131
+
132
+ Check <a href="https://affiliate-program.amazon.com/help/topic/t405" target="_blank">Wordpress Integration Guide for Native Shopping Ads</a>. Ad Inserter supports also advanced contextual ads: check settings for <a href="https://adinserter.pro/documentation/common-settings#amazon">contextual Native Shopping Ads</a> that show ads with items related to the post content (using post tags).
133
+
134
+ If you need statistics for ads and metrics for impressions and clicks, A/B testing, lazy loading ads, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, functions to protect content from users using ad blockers, functions to serve different ads for users using ad blockers, multisite options to limit settings for ads, to block some IP addresses, to schedule ads, there is **Ad Inserter Pro** - all-in-one WordPress ad management plugin with many [advanced features](https://adinserter.pro/documentation/features):
135
+
136
+ * Geolocation using Webnet77 or [MaxMind](http://www.maxmind.com/) databases (works also with caching)
137
+ * Country, state, region and city level geotargeting
138
+ * Blacklist/Whitelist IP addresses or countries/cities (works also with caching)
139
+ * Ad impression and click statistics (works also with `<iframe>` Javascript ads like Google AdSense)
140
+ * Statistics reports for clients in PDF format
141
+ * External tracking via Google Analytics or Matomo (Piwik)
142
+ * A/B testing - discover ads and settings that perform best
143
+ * Lazy loading ads (works with AdSense ads)
144
+ * [Sticky ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with optional close button
145
+ * Sticky sidebar ads (stick to the screen or to the content)
146
+ * Floating slide-in banner ads
147
+ * [Sticky (floating) ads](https://adinserter.pro/documentation/alignments-and-styles#sticky-ads) with animations (fade, slide, turn, flip, zoom)
148
+ * Animation trigger for sticky ads (page scroll in % or px, HTML element becomes visible)
149
+ * Support for sticky ad bar
150
+ * Support to schedule ads with fallback option
151
+ * Support for ads in iframes
152
+ * Ad blocking detection - replace ads, protect content
153
+ * Ad blocking statistics
154
+ * Multisite options to limit settings on the sites
155
+ * Individual post/page exception management
156
+ * Export and import of settings
157
+ * No ads on the settings page
158
+ * Support via email
159
+
160
+ Run a WordPress related blog? Have experience with AdSense ads? Interested in reviewing Ad Inserter Pro? [Introduce yourself](https://adinserter.pro/contact).
161
+
162
+ Have experience with WordPress theme or plugin translation? We are looking for translators! [Contact us](https://adinserter.pro/contact).
163
+
164
+ Ad Inserter WordPress plugin is an advanced advertising manager for all kinds of ads - it has many features and options to automate placing ads in order to optimally monetize your website on desktop, tablet and phone displays. It provides many simple ways to insert any kind of ads, Javascript, HTML, PHP or advert code anywhere on the page. For best placement of ads please read the user manual to get the most of the plugin.
165
+
166
+ Check [Ad Inserter documentation pages](https://adinserter.pro/documentation) for detailed description of all the features and some [common settings](https://adinserter.pro/documentation/common-settings) for quick start.
167
+
168
+ You can also use shortcodes from other plugins (for example, to insert ads from other ad plugins like AdRotate, Advanced Ads, Quick Adsense, AdSense Plugin WP QUADS, Insert Post Ads).
169
+
170
+ Ads are not showing? Check [Blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed) and [troubleshooting guide](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed) to find out what to check.
171
+
172
+ **Ad Inserter can insert ads where other plugins fail**.
173
+ It's all about the settings.
174
+
175
+ **Ad Inserter - WordPress Ad Manager**
176
+
177
+ *One Plugin for All Ads*
178
+
179
+ Ad Inserter is not just another plugin for WordPress ads. Do you enjoy finding the right plugin to solve a particular problem on your site? For example:
180
+
181
+ * for ad management and ad injection
182
+ * to insert Google AdSense ads or Media.net ads
183
+ * for Google Ad Manager / DoubleClick for Publishers (DFP) ads
184
+ * to insert Amazon Native Shopping ads
185
+ * to insert affiliate ads (CJ Affiliate by Conversant, ClickBank, ShareASale, Rakuten LinkShare, etc.)
186
+ * to insert ads form BuySellAds, Chitika, Ezoic, Booking.com, Tradedoubler, Awin, Getyourguide
187
+ * to insert ads between paragraphs
188
+ * to insert ads between posts
189
+ * to insert ads between comments
190
+ * to insert ads on custom posts
191
+ * to insert AMP ads on AMP pages
192
+ * to insert different ads for mobile devices
193
+ * to insert ads at custom action hooks (e.g. using <a href="https://genesistutorials.com/visual-hook-guide/" target="_blank">Genesis Theme Framework Hook Guide</a>)
194
+ * to hide ads on specific pages
195
+ * for ad rotation - to rotate different ads in a single ad position
196
+ * for PHP code widgets and PHP ads
197
+ * for sticky (fixed) widgets
198
+ * to detect ad blocking
199
+ * to insert banners
200
+ * to insert Google analytics code
201
+ * to insert various opt-in forms (MailChimp, AWeber, GetResponse, etc.)
202
+
203
+ Maintaining several plugins (often from different vendors) is not easy. And each plugin is slowing down the speed of your website.
204
+
205
+ **Speed Up Your WordPress: Replace them all with free Ad Inserter!**
206
+
207
+ **Quick Start**
208
+
209
+ To become familiar with the plugin check [Quick Start](https://adinserter.pro/documentation/quick-start) to display ads on your website.
210
+
211
+ To learn how to configure the most advanced WordPress AdSense plugin check documentation for [AdSense ads](https://adinserter.pro/documentation/adsense-ads): AdSense ad units, AdSense Auto ads, AdSense in-feed ads, AdSense in-article ads, AdSense AMP ads,...
212
+
213
+ Please note that code for AdSense ads may in some cases display blank ad blocks - no ads. This has nothing to do with the plugin. After AdSense code is inserted, Google needs some time (hours) to check pages before it starts to serve ads. Blank AdSense ad block means that AdSense code is inserted properly and AdSense code is running, only it doesn't display anything (yet). Typical reasons for blank AdSense ads are the following:
214
+
215
+ * Your AdSense account is not fully approved yet
216
+ * Your website or page was not approved for AdSense ads
217
+ * Google has not checked and approved to serve ads to your website (yet)
218
+ * Your AdSense account is banned
219
+ * No ads available for your website
220
+ * Wrong AdSense publisher ID or slot ID - check or regenerate ad code
221
+ * Errors in ad code - check browser console for error messages
222
+
223
+ **Main AdSense Features**
224
+
225
+ To show AdSense ads you need to place code for AdSense ads on your website - you need WordPress AdSense plugin. Ad Inserter is a perfect tool to automatically insert code for AdSense ads on any page. AdSense integration and clearance options to make sure that your page will comply with the AdSense program policies, are just two advanced features that will help you to monetize your website with AdSense ads.
226
+
227
+ * Get code for AdSense ads directly from your [AdSense account](https://adinserter.pro/documentation/adsense-ads#integration)
228
+ * Code generator for AdSense ads
229
+ * Create code for AdSense AMP ads from normal AdSense ad code
230
+ * Convert standard AdSense text & display ads to AdSense link ads or vice versa
231
+ * Convert fixed size AdSense ads to responsive AdSense ads
232
+ * Convert responsive AdSense ads to fixed size AdSense ads
233
+ * Create responsive AdSense ads with [fixed ad sizes for differrent devices](https://adinserter.pro/documentation/adsense-ads#responsive)
234
+ * Support for AdSense Auto ads
235
+ * Support to exclude AdSense Auto ads [on specific pages](https://adinserter.pro/documentation/plugin-settings#page-specific-header-footer)
236
+ * Optionally limit insertion to 3 AdSense ads per page
237
+ * Disable insertion of AdSense ads on Error 404 pages
238
+ * Insert AdSense In-feed ads or In-article ads between posts or comments
239
+ * Simple troubleshooting when AdSense ads are not displayed
240
+ * Debugging function to label AdSense ad blocks to mark [blank AdSense ads](https://adinserter.pro/documentation/adsense-ads#ads-not-displayed)
241
+
242
+ *AdSense dictionary*
243
+
244
+ Ad Inserter is also a powerful AdSense plugin. However, AdSense ads require some knowledge of ad terminology in order to use the right code for ads and to place them properly. This is a short list of commonly used terms:
245
+
246
+ * Google AdSense: a program run by Google that allows publishers in the Google Network of content sites to serve automatic text ads, image ads, video ads or interactive media ads. Google AdSense provides the right ads for any audience: ads are reviewed to ensure they're high quality and relevant to your content or audience, even when viewed on smartphones and tablets. Block ads you don't like, customize where ads appear, and choose which types of ads fit your site best
247
+ * AdSense text ads: ad with a title that's also a clickable link to a webpage, one or two lines of text, and a website address
248
+ * AdSense display ads: graphical ads offered in several formats
249
+ * AdSense video ads: one type of ads that can appear on AdSense sites - they can show on your pages if you have chosen to display image ads and are using supported ad size
250
+ * AdSense richer text ads: a form of text ads supplemented with advertiser images that are displayed as "display-like" ads
251
+ * AdSense ad unit: a set of Google ads displayed as a result of one piece of AdSense ad code - for AdSense publishers who want full control over the placement of their ads
252
+ * AdSense ad code: a snippet of HTML that when placed on any page of an approved site shows Google AdSense ads in a specific ad layout and format
253
+ * AdSense ad format: the way AdSense ads are shown to the users on your site - different ad formats can support different ad types, such as text ads, display ads, video ads
254
+ * Responsive AdSense ads: ads will resize to fill available width
255
+ * Fixed size AdSense ads: you define width and height of ads
256
+ * AdSense In-feed ads: ads between similar-looking content blocks that repeat one after the other
257
+ * AdSense In-article ads: ads that fit seamlessly in between the paragraphs of your pages
258
+ * AdSense Auto ads: a code that you insert on every page once and it will automatically display AdSense ads **on positions chosen by the Auto ads code** - a fast and easy way for AdSense publishers to get up and running with ads
259
+ * AdSense ads on AMP pages: AMP pages need different code for AdSense ads. Each Ad Inserter code block can be configured to insert different codes on AMP pages - you can use use built-in AdSense code generator to generate code for AMP AdSense ads
260
+ * Blank AdSense ads: blank (empty) ad blocks when Google for some reason does not display ads
261
+ * AdSense integration: connection between plugin and your AdSense account
262
+ * AdSense Program policies: all publishers using AdSense ads are required to adhere to AdSense Program policies - if you fail to comply with these policies, Google reserves the right to disable ad serving to your site (you get blank AdSense ads) and/or disable your AdSense account at any time
263
+ * Personalized AdSense ads: Google considers AdSense ads to be personalized when they are based on previously collected or historical data to determine or influence ad selection, including a user's previous search queries, activity, visits to sites or apps, demographic information, or location
264
+ * Non-personalized AdSense ads: ads that are not based on a user's past behavior. Non-Personalized AdSense ads allow publishers to present EEA users with a choice between personalized ads and non-personalized ads, or to choose to serve only non-personalized ads to all users in the EEA. Non-Personalized AdSense ads only use contextual information, including coarse general (city-level) location.
265
+
266
+ **Insert Any Code Anywhere on the Page - Automate Insertion of Ads**
267
+
268
+ * Automatic insertion of ads using standard (the_content, the_excerpt, loop_start, loop_end, the_post,...) or custom WP hooks
269
+ * Server-side or client-side (javascript) insertion before or after **any HTML element on page** (using CSS selectors #id, .class)
270
+ * Manual insertion of ads with shortcodes
271
+ * Insertion of ads with widgets or PHP function calls from child theme
272
+
273
+ **Please support plugin development**
274
+
275
+ Support the advancement of this plugin:
276
+
277
+ * Write a short <a href="https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post">review</a> - positive reviews are a great way to show your appreciation for my work. Besides being an incredible boost to my morale, they are also a great incentive to fix any bug found in the software and to add new features for better monetization of your website.
278
+ * <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4">Donate</a> if Ad Inserter helps you to make money with ads
279
+ * Buy license for [Ad Inserter Pro](https://adinserter.pro/) - Top WordPress plugin for ads
280
+
281
+ == Installation ==
282
+
283
+ [Ad Inserter installation](https://adinserter.pro/documentation/plugin-installation)
284
+
285
+ **Online Documentation**
286
+
287
+ * [Ad Inserter Documentation](https://adinserter.pro/documentation)
288
+ * [Ads not displayed](https://adinserter.pro/documentation/troubleshooting#ads-not-displayed)
289
+ * [Troubleshooting](https://adinserter.pro/documentation/troubleshooting)
290
+ * [Code Editing](https://adinserter.pro/documentation/code-editing)
291
+ * [Common Settings](https://adinserter.pro/documentation/common-settings)
292
+ * [Automatic Insertion](https://adinserter.pro/documentation/automatic-insertion)
293
+ * [Block Alignment and Style](https://adinserter.pro/documentation/alignments-and-styles)
294
+ * [AdSense Ads](https://adinserter.pro/documentation/adsense-ads)
295
+ * [WordPress Page Types](https://adinserter.pro/documentation/wordpress-page-types)
296
+ * [Black and White Lists](https://adinserter.pro/documentation/black-and-white-lists)
297
+ * [Post and Page Exceptions](https://adinserter.pro/documentation/individual-post-and-page-exceptions)
298
+ * [Debugging](https://adinserter.pro/documentation/debugging)
299
+
300
+
301
+ == Frequently Asked Questions ==
302
+
303
+ = Settings for ads ... =
304
+
305
+ Check <a href="https://adinserter.pro/documentation/common-settings" target="_blank">common Ad Inserter settings</a>
306
+
307
+ = Does Ad Inserter insert any internal ads? =
308
+
309
+ No revenue sharing and no such thing as "internal ads" or "our ads" on your website. Period. What you configure is what will be inserted (+ some internal scripts for plugin features).
310
+ Ad Inserter is free, open source plugin and inserts only the code or ads you configure (blocks, Header, Footer). The code you see is the code that will be inserted. Please check page source code before you make any conclusion.
311
+ Of course, if you configure code block with some JavaScript ad code, then this code may insert some additional code or show ads. But please, don't blame the plugin for this.
312
+ You can also use Ad Inserter to insert code for AdSense Auto ads on each page (usually in the header). However, **the exact placement of ads will be done by the ad code, not Ad Inserter!**
313
+ [https://adinserter.pro/documentation/adsense-ads#auto-ads](https://adinserter.pro/documentation/adsense-ads#auto-ads)
314
+
315
+ The easiest way to check Ad Inserter blocks is to use **Label blocks** debugging function:
316
+ [https://adinserter.pro/documentation/debugging](https://adinserter.pro/documentation/debugging)
317
+
318
+ Please note that when you disable Ad Inserter you also disable insertion of all codes and blocks you have configured.
319
+ Therefore, if your issues go away when you disable the plugin THIS DOES NOT INDICATE any issue with the plugin! You need to try to [disable individual codes](https://adinserter.pro/documentation/debugging#back-end) to see which one is causing trouble.
320
+
321
+ = I have installed code for AdSense ads and I see ads placed at random positions. =
322
+
323
+ You are probably using code for [AdSense Auto ads](https://adinserter.pro/documentation/adsense-ads#auto-ads).
324
+
325
+ AdSense Auto ads (known also as AdSense Page Level Ads) is a code that you insert on every page once and it will automatically display AdSense ads on positions chosen by the code.
326
+ AdSense Auto ads use Google's machine learning to pick the best placements on your pages to show ads. You only need to add one piece of code to all your pages, and let Google take care of the rest.
327
+
328
+ AdSense Auto ads may not be suitable for some WordPress themes or layouts. In such cases it is easier to place ads at wanted locations by using [normal AdSense code](https://adinserter.pro/documentation/adsense-ads#ad-unit) and specifying exact locations where the code should be inserted.
329
+
330
+ = I have installed code for AdSense ads but the ad blocks are blank. =
331
+
332
+ Blank AdSense ad block means that the code is inserted properly only the ad code doesn't display ads. Typical reasons for this are the following:
333
+
334
+ * After the ad code is inserted Google needs some time (hours) to check the pages before it starts to serve ads.
335
+ * AdSense account is not fully approved yet - if your account is new you need to wait until Google checks ad codes on your website and and confirms your account. Usually this takes few days.
336
+ * Your website or page is not approved yet - you need to wait until Google web crawlers check your pages.
337
+ * Your website or page was not approved for AdSense ads
338
+ * Your AdSense account is banned
339
+ * No ads available for your website
340
+ * Errors in ad code - check or regenerate ad code
341
+ * You are using ad blocker
342
+
343
+ In such case you can try other ad networks for contextual ads. Check <a href="https://adinserter.pro/documentation/troubleshooting#ads-not-displayed">Ads Not Displayed</a> for more information.
344
+
345
+ = What is GDPR? =
346
+
347
+ The GDPR (General Data Protection Regulation) is a regulation in European Union (EU) on data protection and privacy for all individuals within the EU and the European Economic Area (EEA) that was designed to harmonize data privacy laws across Europe. If you collect personal information from any EU citizen (within or outside the EU), you must first obtain explicit and unambiguous consent.
348
+
349
+ = GDPR compliance: What cookies does the plugin use =
350
+
351
+ Ad Inserter itself does not use cookies except for ad blocking detection when you use delayed action.
352
+
353
+ In this case 3 cookies may be used (to store pageviews and action settings): `aiADB`, `aiADB_PV` and `aiADB_PR`. However, no personal data is stored in the cookies.
354
+
355
+ Of course, the ads you may insert with the plugin may use own cookies - please check with ad networks for details.
356
+
357
+ = How to display a GDPR compliant cookie message? =
358
+
359
+ You can use any plugin for GDPR compliance / cookie consent. For example:
360
+
361
+ * [Cookie Notice for GDPR](https://wordpress.org/plugins/cookie-notice/)
362
+ * [Cookie Consent](https://wordpress.org/plugins/uk-cookie-consent/)
363
+ * [GDPR Cookie Consent](https://wordpress.org/plugins/cookie-law-info/)
364
+
365
+ PLEASE NOTE: Installing GDPR plugin alone does not make your site GDPR compliant. Since ads you insert may use various cookies, you may need to make sure you have necessary configurations in place. Please check next question regarding showing ads based on visitor's consent.
366
+
367
+ = How to show ads based on visitor's consent? =
368
+
369
+ Ad Inserter supports inserting (showing) ads based on cookies or cookie values. You can define cookie conditions by black/whitelisting *Url parameters* (where also [cookies are checked](https://adinserter.pro/documentation/black-and-white-lists#cookies)).
370
+
371
+ PLEASE NOTE: If you are using caching (very likely) you also need to set **Dynamic blocks** to **Client-side insert** (tab &#9881; / tab General) in order to check cookies in visitor's browser and not when the page is generated.
372
+
373
+ For example, If you are using one of the following plugins for cookie consent you need to **whitelist the following cookie and value in Url parameter list**:
374
+
375
+ * [GDPR Cookie Consent](https://wordpress.org/plugins/cookie-law-info/) - Whitelist `viewed_cookie_policy=yes`
376
+ * [Cookie Notice for GDPR](https://wordpress.org/plugins/cookie-notice/) - Whitelist `cookie_notice_accepted=true`
377
+ * [Cookie Consent](https://wordpress.org/plugins/uk-cookie-consent/) - Whitelist `catAccCookies=1`
378
+
379
+ = What is plugin usage tracking? =
380
+
381
+ When enabled, the information regarding WordPress environment and Ad Inserter usage will be collected and sent to plugin developers (once per month and on events like plugin activation/deactivation).
382
+
383
+ This is completely optional and can be disabled at any time. So if you have opted in (by clicking Allow when asked for permission) and now you would like to disable tracking, you should go to tab &#9881; / tab General, select **Disable** for Plugin usage tracking and save settings.
384
+
385
+ If this setting is not available then you have not selected any option yet - **tracking is disabled unless explicitly enabled** by clicking Allow when asked for permission (or when this setting is set to Enable).
386
+
387
+ What data is collected: Ad Inserter version, activation status, number of active blocks, date of installation, date of last saved settings, status of review notice and remote debugging, block class name, location, website url and name, WordPress version, language, text direction, charset, number of posts, active theme and version, list of installed plugins, PHP version, server name, IP address (used to determine country), site count for multisite installations, deactivation reasons and details (if provided).
388
+
389
+ Ad Inserter is only a plugin for WordPress content management software. It works together with WordPress, other installed plugins and selected theme.
390
+
391
+ This data provides information to make the plugin to be compatible with as many environments as possible, to test the plugin with commonly used plugins and themes, to understand why users deativate (and uninstall) the plugin and to get ideas to make improvements to the plugin.
392
+
393
+ If you are not happy to reveal this information and you have opted in, simply disable usage tracking as described above.
394
+
395
+ **Your decision will be respected.**
396
+
397
+
398
+ = I wish to show ads side by side but not in the same block. How do I do this? =
399
+
400
+ Configure block 1 and 2 with ads using:
401
+
402
+ * Automatic Insertion: Disabled
403
+ * Block Alignment and Style: No Wrapping
404
+ * Enable shortcode: checked
405
+
406
+ Configure block 3 with
407
+
408
+ `[adinserter code="1" ignore="page-type"]
409
+ [adinserter code="2" ignore="page-type"]`
410
+
411
+ and use block 3 to insert ads.
412
+
413
+
414
+ = I use After Content insertion position but the ads are inserted after the stuff provided by other plugins. How can I insert ads directly after post content?
415
+
416
+ This happens because Ad Inserter processes posts last and therefore "sees" also content added by other plugins.
417
+
418
+ Try to set Ad Inserter plugin priority to 10 (early processing, Ad Inserter settings - tab &#9881; / tab General).
419
+
420
+
421
+ = How can I add some title or label (e.g. Advertisements) above AdSense ads? =
422
+
423
+ If this is a sidebar widget then you can simply name the widget.
424
+
425
+ For each code block you can also show a label above each ad. Default text (or HTML code) for ad labels can be set on the general plugin settings tab (tab &#9881; / tab General / **Ad label**.
426
+ To enable ad label above the ad go to code block for this ad, click on the Misc button and then on the Display tab check **Ad label**.
427
+
428
+ If you configured only text for ad label then the following code will be added above ad code: `<div class="code-block-label">AD_LABEL_TEXT</div>` (`code-block` is the block class name used, AD_LABEL_TEXT is the text for Ad Label).
429
+ You can then style the label using CSS for class `.code-block-label` (the best place for this code is Header section). If HTML code is configured for ad label then this code will be used (instead of the div code above).
430
+
431
+ In case you need a different label for some ad you can simply add label HTML code above the ad code. For example:
432
+
433
+ `<h3>Advertisements</h3>
434
+
435
+ AD_CODE`
436
+
437
+ Ad lables can be inserted only above ads (blocks) inserted by Ad Inserter - AdSense Auto ads are automatically inseted by AdSense Auto ads code.
438
+
439
+ = How can place ads below Read More tag? =
440
+
441
+ Configure ad block with the following options:
442
+
443
+ * Automatic Insertion: After Paragraph
444
+ * Paragraph Number: 1
445
+ * Count only paragraphs that CONTAIN: `<span id="more-`
446
+
447
+ Check source code of your website for proper "read more" tag.
448
+
449
+
450
+ = How can I rotate between different alignments so I can test an ad aligned to the right against an ad aligned to the left? =
451
+
452
+ Set Block Alignment and Style to "No Wrapping" and create manual wrapping around both ads separated with [ADINSERTER ROTATE]:
453
+
454
+ `<div style="float: left; margin: 0 8px 8px 0;">
455
+ AD CODE LEFT
456
+ </div>
457
+
458
+ [ADINSERTER ROTATE]
459
+
460
+ <div style="float: right; margin: 0 0 8px 8px;">
461
+ AD CODE RIGHT
462
+ </div>`
463
+
464
+ Please note that responsive AdSense ads can not work with floating alignments (ad container width is not known) - either use AdSense code with fixed ad sizes or don't use floating alignment.
465
+
466
+ == Screenshots ==
467
+
468
+ 1. Settings for one code block (Before content).
469
+ 2. Code preview with visual CSS editor
470
+ 3. Code preview with visual CSS editor - highlighted code
471
+ 4. Post / Page Ad Inserter Individual Exceptions
472
+ 5. Some <a href="https://adinserter.pro/" target="_blank">Ad Inserter Pro</a> features: IP address and country lists, Scheduling between dates with fallback
473
+ 6. Ad Inserter plugin settings
474
+ 7. Visualization of HTML tags in post
475
+ 8. Visualization of positions for automatic insertion in post
476
+ 9. Visualization of inserted block in post
477
+ 10. Automatic insertion, Alignment and Style settings
478
+ 11. Rotation code editor and banner code generator
479
+ 12. Settings for automatic insertion before/after paragraphs
480
+ 13. Settings for custom hooks
481
+ 14. Settings automatic insertion at custom hook positions
482
+ 15. Settings ad blocking detection
483
+ 16. AdSense code generator
484
+ 17. Complete settings for one code block (Before Paragraph)
485
+
486
+
487
+ == Changelog ==
488
+
489
+ = 2.4.9 =
490
+ - Added support for HEAD separator
491
+ - Added support for DoubleClick for Publishers (DFP) ads
492
+ - Added support to generate statistics reports in PDF format (Pro only)
493
+ - Fix for ad label when using AMP separator
494
+ - Fix for AdSense code fixed by viewport
495
+ - Fix for error when checking for available positions
496
+ - Few minor bug fixes, cosmetic changes and code improvements
497
+
498
+ = 2.4.8 =
499
+ - Added support for automatic insertion before/after image
500
+ - Added support for theme checker for available positions for automatic insertion
501
+
502
+ = 2.4.7 =
503
+ - Fix for lazy loading in Ajax calls (Pro only)
504
+ - Fix for country list editor (Pro only)
505
+ - Few minor bug fixes, cosmetic changes and code improvements
506
+
507
+ = 2.4.6 =
508
+ - Improved ad blocking detection (detects Firefox content blocking)
509
+ - Added support for wildcards for referrers (domains)
510
+ - Added debugging notice when JavaScript errors are detected
511
+ - Added support to load blocks in iframes (Pro only)
512
+ - Added geolocation support for country subdivisions and cities (Pro only)
513
+ - Added option to hide license key on client websites (Pro only)
514
+ - Few minor bug fixes, cosmetic changes and code improvements
515
+
516
+ = 2.4.5 =
517
+ - Added support for AMP WP - Google AMP For WordPress
518
+ - Added support to individually disable insertions for debugging purposes
519
+ - Improved HTML element selection tool
520
+ - Fix for Call to undefined function wp_get_current_user()
521
+ - Few minor bug fixes, cosmetic changes and code improvements
522
+
523
+ = 2.4.4 =
524
+ - Fix for Fatal error: Call to undefined function mb_strtoupper()
525
+
526
+ = 2.4.3 =
527
+ - Added support for insertion before/after every N paragraphs (%N)
528
+ - Added support for i18n
529
+ - Fix for insertion on admin pages
530
+ - Fix for client-side cookie check
531
+ - Fix for loaded styles from other plugins/themes on the settings page
532
+ - Fix for client-side insertion near HTML elements using :eq selector
533
+ - Fix for deactivation feedback form not closing
534
+ - Few minor bug fixes, cosmetic changes and code improvements
535
+
536
+ = 2.4.2 =
537
+ - Added support for visual HTML element selection
538
+ - Fix for client-side insertion inside HTML elements
539
+ - Few minor bug fixes, cosmetic changes and code improvements
540
+
541
+ = 2.4.1 =
542
+ - Added option to insert into HTML element (prepend, append, replace content)
543
+ - Added option to remove HTML element
544
+ - Added option to not show deactivation feedback form
545
+ - Added support for negative relative positions for paragraph counting
546
+ - Few minor bug fixes, cosmetic changes and code improvements
547
+
548
+ = 2.4.0 =
549
+ - Improved code for client-side insertion
550
+ - Added support for usage tracking
551
+ - Fix for compatibility with older PHP versions (below 5.4)
552
+ - Few minor bug fixes, cosmetic changes and code improvements
553
+
554
+
555
+ = Earlier versions =
556
+
557
+ For the changelog of earlier versions, please refer to the separate changelog.txt file.
558
+
559
+ == Upgrade Notice ==
560
+
561
+ = 2.4.9 =
562
+ Added support for HEAD separator;
563
+ Added support for DoubleClick for Publishers (DFP) ads;
564
+ Added support to generate statistics reports in PDF format (Pro only);
565
+ Fix for ad label when using AMP separator;
566
+ Fix for AdSense code fixed by viewport;
567
+ Fix for error when checking for available positions;
568
+ Few minor bug fixes, cosmetic changes and code improvements
569
+
570
+ = 2.4.8 =
571
+ Added support for automatic insertion before/after image;
572
+ Added support for theme checker for available positions for automatic insertion
573
+
574
+ = 2.4.7 =
575
+ Fix for lazy loading in Ajax calls (Pro only);
576
+ Fix for country list editor (Pro only);
577
+ Few minor bug fixes, cosmetic changes and code improvements
578
+
579
+ = 2.4.6 =
580
+ Improved ad blocking detection (detects Firefox content blocking);
581
+ Added support for wildcards for referrers (domains);
582
+ - Added debugging notice when JavaScript errors are detected
583
+ Added support to load blocks in iframes (Pro only);
584
+ Added geolocation support for country subdivisions and cities (Pro only);
585
+ Added option to hide license key on client websites (Pro only);
586
+ Few minor bug fixes, cosmetic changes and code improvements
587
+
588
+ = 2.4.5 =
589
+ Added support for AMP WP - Google AMP For WordPress;
590
+ Added support to individually disable insertions for debugging purposes;
591
+ Improved HTML element selection tool;
592
+ Fix for Call to undefined function wp_get_current_user();
593
+ Few minor bug fixes, cosmetic changes and code improvements;
594
+
595
+ = 2.4.4 =
596
+ Fix for Fatal error: Call to undefined function mb_strtoupper()
597
+
598
+ = 2.4.3 =
599
+ Added support for insertion before/after every N paragraphs (%N);
600
+ Added support for i18n;
601
+ Fix for insertion on admin pages;
602
+ Fix for client-side cookie check;
603
+ Fix for loaded styles from other plugins/themes on the settings page;
604
+ Fix for client-side insertion near HTML elements using :eq selector;
605
+ Fix for deactivation feedback form not closing;
606
+ Few minor bug fixes, cosmetic changes and code improvements
607
+
608
+ = 2.4.2 =
609
+ Added support for visual HTML element selection;
610
+ Fix for client-side insertion inside HTML elements;
611
+ Few minor bug fixes, cosmetic changes and code improvements
612
+
613
+ = 2.4.1 =
614
+ Added option to insert into HTML element (prepend, append, replace content);
615
+ Added option to remove HTML element;
616
+ Added option to not show deactivation feedback form;
617
+ Added support for negative relative positions for paragraph counting;
618
+ Few minor bug fixes, cosmetic changes and code improvements
619
+
620
+ = 2.4.0 =
621
+ Improved code for client-side insertion;
622
+ Added support for usage tracking;
623
+ Fix for compatibility with older PHP versions (below 5.4);
624
+ Few minor bug fixes, cosmetic changes and code improvements
625
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
settings.php CHANGED
@@ -161,7 +161,7 @@ function generate_settings_form (){
161
 
162
  <div id="ai-settings" style="float: left;" data-home-url="<?php echo home_url (); ?>/" data-home-relative-url="<?php echo wp_make_link_relative (get_site_url ()); ?>/">
163
 
164
- <form id="ai-form" class="no-select rounded" style="float: left;" action="<?php echo $save_url; ?>" method="post" name="ai_form" start="<?php echo $start; ?>" end="<?php echo $end; ?>" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>">
165
 
166
  <div id="header" class="ai-form header rounded">
167
  <div id= "ai-settings-header" style="float: left;">
@@ -1010,7 +1010,7 @@ function generate_settings_form (){
1010
  <input id= "display-archive-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_ARCHIVE_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="<?php _e ('Enable insertion on tag or archive blog pages', 'ad-inserter'); ?>" value="1" default="<?php echo $default->get_display_settings_archive(); ?>" <?php if ($obj->get_display_settings_archive()==AI_ENABLED) echo 'checked '; ?> />
1011
  <label for="display-archive-<?php echo $block; ?>" title="<?php _e ('Enable insertion on tag or archive blog pages', 'ad-inserter'); ?>"><?php _e ('Tag / Archive pages', 'ad-inserter'); ?></label>
1012
  </td>
1013
- <td style="padding-left: 20px;">
1014
  <?php
1015
  if (!empty ($block_exceptions [$block])) {
1016
  ?>
@@ -3781,7 +3781,7 @@ function generate_list_options ($options) {
3781
  }
3782
 
3783
  function ai_check_page ($options) {
3784
- $download_urls = '';
3785
 
3786
  // echo '["1","2","3","4"]';
3787
  // return;
@@ -3854,7 +3854,7 @@ function ai_check_page ($options) {
3854
  $positions = array ();
3855
  $secret_key = ai_secret_key ();
3856
  foreach ($download_urls as $download_url) {
3857
- $tmp_file = download_url (add_query_arg (array ('ai-debug-positions' => '0', 'ai-secret' => $secret_key), $download_url));
3858
  if (!is_wp_error ($tmp_file) && file_exists ($tmp_file)) {
3859
  $page = file_get_contents ($tmp_file);
3860
  preg_match_all ('#data-ai-position=[\'\"](.+?)[\'\"]#', $page, $matches);
161
 
162
  <div id="ai-settings" style="float: left;" data-home-url="<?php echo home_url (); ?>/" data-home-relative-url="<?php echo wp_make_link_relative (get_site_url ()); ?>/">
163
 
164
+ <form id="ai-form" class="no-select rounded" style="float: left;" action="<?php echo $save_url; ?>" method="post" name="ai_form" start="<?php echo $start; ?>" end="<?php echo $end; ?>" nonce="<?php echo wp_create_nonce ("adinserter_data"); ?>" ai-value="<?php echo base64_encode (wp_create_nonce ("adinserter_data")); ?>">
165
 
166
  <div id="header" class="ai-form header rounded">
167
  <div id= "ai-settings-header" style="float: left;">
1010
  <input id= "display-archive-<?php echo $block; ?>" style="margin-left: 10px;" type="checkbox" name="<?php echo AI_OPTION_DISPLAY_ON_ARCHIVE_PAGES, WP_FORM_FIELD_POSTFIX, $block; ?>" title="<?php _e ('Enable insertion on tag or archive blog pages', 'ad-inserter'); ?>" value="1" default="<?php echo $default->get_display_settings_archive(); ?>" <?php if ($obj->get_display_settings_archive()==AI_ENABLED) echo 'checked '; ?> />
1011
  <label for="display-archive-<?php echo $block; ?>" title="<?php _e ('Enable insertion on tag or archive blog pages', 'ad-inserter'); ?>"><?php _e ('Tag / Archive pages', 'ad-inserter'); ?></label>
1012
  </td>
1013
+ <td id="exceptions-button-container-<?php echo $block; ?>" style="padding-left: 20px;">
1014
  <?php
1015
  if (!empty ($block_exceptions [$block])) {
1016
  ?>
3781
  }
3782
 
3783
  function ai_check_page ($options) {
3784
+ $download_urls = array ();
3785
 
3786
  // echo '["1","2","3","4"]';
3787
  // return;
3854
  $positions = array ();
3855
  $secret_key = ai_secret_key ();
3856
  foreach ($download_urls as $download_url) {
3857
+ $tmp_file = download_url (add_query_arg (array (AI_URL_DEBUG_POSITIONS => '0', 'ai-secret' => $secret_key), $download_url));
3858
  if (!is_wp_error ($tmp_file) && file_exists ($tmp_file)) {
3859
  $page = file_get_contents ($tmp_file);
3860
  preg_match_all ('#data-ai-position=[\'\"](.+?)[\'\"]#', $page, $matches);
strings.php CHANGED
@@ -175,6 +175,9 @@ define ('AI_TEXT_FIXED', _x('Fixed', 'size', 'ad-inserter'));
175
  define ('AI_TEXT_RESPONSIVE', _x('Responsive', 'size', 'ad-inserter'));
176
  define ('AI_TEXT_FIXED_BY_VIEWPORT', _x('Fixed by viewport', 'size', 'ad-inserter'));
177
 
 
 
 
178
  global $ai_admin_translations, $ai_front_translations;
179
 
180
  $ai_admin_translations = array (
@@ -215,6 +218,9 @@ $ai_admin_translations = array (
215
  'position_not_available' => __('Position not available', 'ad-inserter'),
216
  'position_might_not_available'=> __('Theme check | Selected position for automatic insertion might not be not available on this page type', 'ad-inserter'),
217
  'position_available' => __('Position available', 'ad-inserter'),
 
 
 
218
  );
219
 
220
 
175
  define ('AI_TEXT_RESPONSIVE', _x('Responsive', 'size', 'ad-inserter'));
176
  define ('AI_TEXT_FIXED_BY_VIEWPORT', _x('Fixed by viewport', 'size', 'ad-inserter'));
177
 
178
+ define ('DEFAULT_REPORT_HEADER_TITLE', __('Ad Inserter Pro Report', 'ad-inserter'));
179
+ define ('DEFAULT_REPORT_HEADER_DESCRIPTION', __('Impressions and clicks', 'ad-inserter'));
180
+
181
  global $ai_admin_translations, $ai_front_translations;
182
 
183
  $ai_admin_translations = array (
218
  'position_not_available' => __('Position not available', 'ad-inserter'),
219
  'position_might_not_available'=> __('Theme check | Selected position for automatic insertion might not be not available on this page type', 'ad-inserter'),
220
  'position_available' => __('Position available', 'ad-inserter'),
221
+ 'select_header_image' => __('Select or upload header image', 'ad-inserter'),
222
+ 'select_banner_image' => __('Select or upload banner image', 'ad-inserter'),
223
+ 'use_this_image' => __('Use this image', 'ad-inserter'),
224
  );
225
 
226