Advanced Ads - Version 1.3.10

Version Description

  • COOL: disable all ads on individual single pages
  • fixed saving some ad conditions to global array
  • fixed minor issue with empty ad condition
  • updated translation files
  • updated German translation

Developers might want to take a look at the Codex. I am currently updating the cool stuff in there.

Download this release

Release Info

Developer webzunft
Plugin Icon 128x128 Advanced Ads
Version 1.3.10
Comparing to
See all releases

Code changes from version 1.3.9 to 1.3.10

admin/class-advanced-ads-admin.php CHANGED
@@ -104,6 +104,10 @@ class Advanced_Ads_Admin {
104
  $plugin_basename = plugin_basename(plugin_dir_path('__DIR__') . $this->plugin_slug . '.php');
105
  add_filter('plugin_action_links_' . $plugin_basename, array($this, 'add_action_links'));
106
 
 
 
 
 
107
  }
108
 
109
  /**
@@ -723,5 +727,87 @@ class Advanced_Ads_Admin {
723
  }
724
  }
725
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
726
 
727
  }
104
  $plugin_basename = plugin_basename(plugin_dir_path('__DIR__') . $this->plugin_slug . '.php');
105
  add_filter('plugin_action_links_' . $plugin_basename, array($this, 'add_action_links'));
106
 
107
+ // add meta box for post types edit pages
108
+ add_action( 'add_meta_boxes', array( $this, 'add_post_meta_box' ) );
109
+ add_action( 'save_post', array( $this, 'save_post_meta_box' ) );
110
+
111
  }
112
 
113
  /**
727
  }
728
  }
729
 
730
+ /**
731
+ * add a meta box to post type edit screens with ad settings
732
+ *
733
+ * @since 1.3.10
734
+ * @param string $post_type current post type
735
+ */
736
+ public function add_post_meta_box($post_type = ""){
737
+ // get public post types
738
+ $public_post_types = get_post_types(array('public' => true, 'publicly_queryable' => true), 'names', 'or');
739
+
740
+ //limit meta box to public post types
741
+ if ( in_array( $post_type, $public_post_types )) {
742
+ add_meta_box(
743
+ 'advads-ad-settings',
744
+ __( 'Ad Settings', ADVADS_SLUG),
745
+ array( $this, 'render_post_meta_box' ),
746
+ $post_type,
747
+ 'advanced',
748
+ 'low'
749
+ );
750
+ }
751
+ }
752
+
753
+ /**
754
+ * render meta box for ad settings on a per post basis
755
+ *
756
+ * @since 1.3.10
757
+ * @param WP_Post $post The post object.
758
+ */
759
+ public function render_post_meta_box( $post ) {
760
+
761
+ // nonce field to check when we save the values
762
+ wp_nonce_field( 'advads_post_meta_box', 'advads_post_meta_box_nonce' );
763
+
764
+ // retrieve an existing value from the database.
765
+ $values = get_post_meta( $post->ID, '_advads_ad_settings', true );
766
+
767
+ // load the view
768
+ $view = plugin_dir_path(__FILE__) . 'views/post_ad_settings_metabox.php';
769
+ if (is_file($view)) {
770
+ require( $view );
771
+ }
772
+ }
773
+
774
+ /**
775
+ * save the ad meta when the post is saved.
776
+ *
777
+ * @since 1.3.10
778
+ * @param int $post_id The ID of the post being saved.
779
+ */
780
+ public function save_post_meta_box( $post_id ) {
781
+
782
+ // check nonce
783
+ if ( ! isset( $_POST['advads_post_meta_box_nonce'] ) )
784
+ return $post_id;
785
+
786
+ $nonce = $_POST['advads_post_meta_box_nonce'];
787
+
788
+ // Verify that the nonce is valid.
789
+ if ( ! wp_verify_nonce( $nonce, 'advads_post_meta_box' ) )
790
+ return $post_id;
791
+
792
+ // don’t save on autosave
793
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
794
+ return $post_id;
795
+
796
+ // check the user's permissions.
797
+ if ( 'page' == $_POST['post_type'] ) {
798
+ if ( ! current_user_can( 'edit_page', $post_id ) )
799
+ return $post_id;
800
+ } else {
801
+ if ( ! current_user_can( 'edit_post', $post_id ) )
802
+ return $post_id;
803
+ }
804
+
805
+ // Sanitize the user input.
806
+ $_data['disable_ads'] = isset($_POST['advanced_ads']['disable_ads']) ? absint($_POST['advanced_ads']['disable_ads']) : 0;
807
+
808
+ // Update the meta field.
809
+ update_post_meta( $post_id, '_advads_ad_settings', $_data );
810
+ }
811
+
812
 
813
  }
admin/views/ad-display-metabox.php CHANGED
@@ -40,7 +40,7 @@ require_once(ADVADS_BASE_PATH . 'admin/includes/class-display-condition-callback
40
  <th></th>
41
  </tr><?php
42
  foreach ($advanced_ads_ad_conditions as $_key => $_condition) :
43
- if (isset($_condition['callback']))
44
  continue;
45
  ?><tr>
46
  <th><?php echo $_condition['label']; ?>
40
  <th></th>
41
  </tr><?php
42
  foreach ($advanced_ads_ad_conditions as $_key => $_condition) :
43
+ if (isset($_condition['callback']) || empty($_condition['label']))
44
  continue;
45
  ?><tr>
46
  <th><?php echo $_condition['label']; ?>
admin/views/post_ad_settings_metabox.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <label><input type="checkbox" name="advanced_ads[disable_ads]" value="1" <?php
2
+ if(isset($values['disable_ads'])) checked( $values['disable_ads'], true );
3
+ ?>/><?php _e( 'Disable ads on this page', ADVADS_SLUG ); ?></label>
advanced-ads.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: http://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
- * Version: 1.3.9
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
12
  * Plugin Name: Advanced Ads
13
  * Plugin URI: http://wpadvancedads.com
14
  * Description: Manage and optimize your ads in WordPress
15
+ * Version: 1.3.10
16
  * Author: Thomas Maier
17
  * Author URI: http://webgilde.com
18
  * Text Domain: advanced-ads
classes/ad.php CHANGED
@@ -234,6 +234,9 @@ class Advads_Ad {
234
  $options = Advanced_Ads::get_instance()->options();
235
  $see_ads_capability = (!empty($options['hide-for-user-role'])) ? $options['hide-for-user-role'] : 0;
236
 
 
 
 
237
  // don’t display ads that are not published or private for users not logged in
238
  if($this->status !== 'publish' && !($this->status === 'private' && !is_user_logged_in())){
239
  return false;
@@ -720,13 +723,21 @@ class Advads_Ad {
720
  switch($advanced_ads_ad_conditions[$_condition_key]['type']){
721
  case 'idfield' :
722
  if(isset($_condition['include']) && $_condition['include'] != ''){
723
- $_ids = explode(',', $_condition['include']);
 
 
 
 
724
  if(is_array($_ids)) foreach($_ids as $_id){
725
  $ads_by_conditions[$_condition_key][$_id]['include'][] = $this->id;
726
  }
727
  }
728
  if(isset($_condition['exclude']) && $_condition['exclude'] != ''){
729
- $_ids = explode(',', $_condition['exclude']);
 
 
 
 
730
  if(is_array($_ids)) foreach($_ids as $_id){
731
  $ads_by_conditions[$_condition_key][$_id]['exclude'][] = $this->id;
732
  }
@@ -734,13 +745,21 @@ class Advads_Ad {
734
  break;
735
  case 'textvalues' :
736
  if(isset($_condition['include']) && $_condition['include'] != ''){
737
- $_ids = explode(',', $_condition['include']);
 
 
 
 
738
  if(is_array($_ids)) foreach($_ids as $_id){
739
  $ads_by_conditions[$_condition_key][$_id]['include'][] = $this->id;
740
  }
741
  }
742
  if(isset($_condition['exclude']) && $_condition['exclude'] != ''){
743
- $_ids = explode(',', $_condition['exclude']);
 
 
 
 
744
  if(is_array($_ids)) foreach($_ids as $_id){
745
  $ads_by_conditions[$_condition_key][$_id]['exclude'][] = $this->id;
746
  }
234
  $options = Advanced_Ads::get_instance()->options();
235
  $see_ads_capability = (!empty($options['hide-for-user-role'])) ? $options['hide-for-user-role'] : 0;
236
 
237
+ // check global constant if ads are enabled or disabled
238
+ if(defined('ADVADS_ADS_DISABLED')) { return false; }
239
+
240
  // don’t display ads that are not published or private for users not logged in
241
  if($this->status !== 'publish' && !($this->status === 'private' && !is_user_logged_in())){
242
  return false;
723
  switch($advanced_ads_ad_conditions[$_condition_key]['type']){
724
  case 'idfield' :
725
  if(isset($_condition['include']) && $_condition['include'] != ''){
726
+ if(is_array($_condition['include'])){
727
+ $_ids = $_condition['include'];
728
+ } else {
729
+ $_ids = explode(',', $_condition['include']);
730
+ }
731
  if(is_array($_ids)) foreach($_ids as $_id){
732
  $ads_by_conditions[$_condition_key][$_id]['include'][] = $this->id;
733
  }
734
  }
735
  if(isset($_condition['exclude']) && $_condition['exclude'] != ''){
736
+ if(is_array($_condition['exclude'])){
737
+ $_ids = $_condition['exclude'];
738
+ } else {
739
+ $_ids = explode(',', $_condition['exclude']);
740
+ }
741
  if(is_array($_ids)) foreach($_ids as $_id){
742
  $ads_by_conditions[$_condition_key][$_id]['exclude'][] = $this->id;
743
  }
745
  break;
746
  case 'textvalues' :
747
  if(isset($_condition['include']) && $_condition['include'] != ''){
748
+ if(is_array($_condition['include'])){
749
+ $_ids = $_condition['include'];
750
+ } else {
751
+ $_ids = explode(',', $_condition['include']);
752
+ }
753
  if(is_array($_ids)) foreach($_ids as $_id){
754
  $ads_by_conditions[$_condition_key][$_id]['include'][] = $this->id;
755
  }
756
  }
757
  if(isset($_condition['exclude']) && $_condition['exclude'] != ''){
758
+ if(is_array($_condition['exclude'])){
759
+ $_ids = $_condition['exclude'];
760
+ } else {
761
+ $_ids = explode(',', $_condition['exclude']);
762
+ }
763
  if(is_array($_ids)) foreach($_ids as $_id){
764
  $ads_by_conditions[$_condition_key][$_id]['exclude'][] = $this->id;
765
  }
languages/advanced-ads-de_DE.mo CHANGED
Binary file
languages/advanced-ads-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Advanced Ads\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
5
- "POT-Creation-Date: 2014-12-17 11:17+0100\n"
6
- "PO-Revision-Date: 2014-12-17 11:21+0100\n"
7
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
@@ -14,7 +14,7 @@ msgstr ""
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
 
17
- #: admin/class-advanced-ads-admin.php:186
18
  #, php-format
19
  msgid ""
20
  "Advanced Ads Update: Auto injections are now managed through placements. "
@@ -23,67 +23,67 @@ msgstr ""
23
  "Advanced-Ads-Update: Auto-Injektionen werden jetzt durch Platzierungen "
24
  "verwaltet. Bitte konvertieren Sie diese Anzeigen mit Auto-Injektionen: %s"
25
 
26
- #: admin/class-advanced-ads-admin.php:200
27
  msgid "Overview"
28
  msgstr "Übersicht"
29
 
30
- #: admin/class-advanced-ads-admin.php:200 classes/widget.php:21
31
  msgid "Advanced Ads"
32
  msgstr "Advanced Ads"
33
 
34
- #: admin/class-advanced-ads-admin.php:204
35
  #: admin/includes/class-ad-groups-list-table.php:191
36
  #: admin/views/overview.php:12 admin/views/placements.php:91
37
- #: classes/widget.php:66 public/class-advanced-ads.php:521
38
  msgid "Ads"
39
  msgstr "Anzeigen"
40
 
41
- #: admin/class-advanced-ads-admin.php:208 admin/views/placements.php:84
42
  #: classes/widget.php:59
43
  msgid "Ad Groups"
44
  msgstr "Anzeigen-Gruppen"
45
 
46
- #: admin/class-advanced-ads-admin.php:208 admin/views/overview.php:40
47
- #: public/class-advanced-ads.php:495
48
  msgid "Groups"
49
  msgstr "Gruppen"
50
 
51
- #: admin/class-advanced-ads-admin.php:213 admin/views/debug.php:19
52
  msgid "Ad Placements"
53
  msgstr "Anzeigen-Platzierungen"
54
 
55
- #: admin/class-advanced-ads-admin.php:213 admin/views/overview.php:66
56
  #: admin/views/placements.php:47
57
  msgid "Placements"
58
  msgstr "Platzierungen"
59
 
60
- #: admin/class-advanced-ads-admin.php:217
61
  msgid "Advanced Ads Settings"
62
  msgstr "Advanced-Ads-Einstellungen"
63
 
64
- #: admin/class-advanced-ads-admin.php:217
65
- #: admin/class-advanced-ads-admin.php:395 admin/views/debug.php:13
66
  msgid "Settings"
67
  msgstr "Einstellungen"
68
 
69
- #: admin/class-advanced-ads-admin.php:220
70
  msgid "Advanced Ads Debugging"
71
  msgstr "Advanced-Ads-Fehleranalyse (Debugging)"
72
 
73
- #: admin/class-advanced-ads-admin.php:220
74
  msgid "Debug"
75
  msgstr "Debug"
76
 
77
- #: admin/class-advanced-ads-admin.php:264
78
  msgid "Placements updated"
79
  msgstr "Platzierungen aktualisiert"
80
 
81
- #: admin/class-advanced-ads-admin.php:308
82
- #: admin/class-advanced-ads-admin.php:335
83
  msgid "Sorry, you are not allowed to access this feature."
84
  msgstr "Sie haben leider keinen Zugriff auf diese Funktion"
85
 
86
- #: admin/class-advanced-ads-admin.php:321
87
  msgid ""
88
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
89
  "deleted?"
@@ -91,73 +91,73 @@ msgstr ""
91
  "Sie haben versucht, ein Element, das nicht existiert, zu bearbeiten. "
92
  "Vielleicht wurde es gelöscht?"
93
 
94
- #: admin/class-advanced-ads-admin.php:420
95
  msgid "Ad Type"
96
  msgstr "Anzeigen-Typ"
97
 
98
- #: admin/class-advanced-ads-admin.php:423
99
  msgid "Ad Parameters"
100
  msgstr "Anzeigen-Parameter"
101
 
102
- #: admin/class-advanced-ads-admin.php:426
103
  msgid "Layout / Output"
104
  msgstr "Layout / Ausgabe"
105
 
106
- #: admin/class-advanced-ads-admin.php:429
107
  msgid "Display Conditions"
108
  msgstr "Anzeige-Bedingungen"
109
 
110
- #: admin/class-advanced-ads-admin.php:432
111
  msgid "Visitor Conditions"
112
  msgstr "Besucher-Bedingungen"
113
 
114
- #: admin/class-advanced-ads-admin.php:435
115
  msgid "Auto injection"
116
  msgstr "Auto-Injektion"
117
 
118
- #: admin/class-advanced-ads-admin.php:571
119
  msgid "General"
120
  msgstr "Allgemein"
121
 
122
- #: admin/class-advanced-ads-admin.php:579
123
  msgid "Hide ads for logged in users"
124
  msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
125
 
126
- #: admin/class-advanced-ads-admin.php:587
127
  msgid "Use advanced JavaScript"
128
  msgstr "Advanced-JavaScript benutzen"
129
 
130
- #: admin/class-advanced-ads-admin.php:614
131
  msgid "(display to all)"
132
  msgstr "(für alle sichtbar)"
133
 
134
- #: admin/class-advanced-ads-admin.php:615
135
  msgid "Subscriber"
136
  msgstr "Abonnent"
137
 
138
- #: admin/class-advanced-ads-admin.php:616
139
  msgid "Contributor"
140
  msgstr "Mitarbeiter"
141
 
142
- #: admin/class-advanced-ads-admin.php:617
143
  msgid "Author"
144
  msgstr "Autor"
145
 
146
- #: admin/class-advanced-ads-admin.php:618
147
  msgid "Editor"
148
  msgstr "Redakteur"
149
 
150
- #: admin/class-advanced-ads-admin.php:619
151
  msgid "Admin"
152
  msgstr "Admin"
153
 
154
- #: admin/class-advanced-ads-admin.php:627
155
  msgid "Choose the lowest role a user must have in order to not see any ads."
156
  msgstr ""
157
  "Wählen Sie die niedrigste Rolle die ein Benutzer haben muss um keine "
158
  "Anzeigen zu sehen."
159
 
160
- #: admin/class-advanced-ads-admin.php:640
161
  #, php-format
162
  msgid ""
163
  "Only enable this if you can and want to use the advanced JavaScript "
@@ -166,10 +166,14 @@ msgstr ""
166
  "Aktivieren Sie dies nur, wenn Sie die erweiterten und <a href=\"%s\">hier</"
167
  "a> beschriebenen Advanced-JavaScript-Funktionen verwenden können und wollen."
168
 
169
- #: admin/class-advanced-ads-admin.php:687
170
  msgid "Ad Details"
171
  msgstr "Anzeigeneinstellungen"
172
 
 
 
 
 
173
  #: admin/includes/class-ad-groups-list-table.php:57
174
  #, php-format
175
  msgid "Select %s"
@@ -182,7 +186,7 @@ msgstr "#8220;%s&#8221; bearbeiten"
182
 
183
  #: admin/includes/class-ad-groups-list-table.php:99
184
  #: admin/includes/class-ad-groups-list-table.php:167
185
- #: public/class-advanced-ads.php:525
186
  msgid "Edit"
187
  msgstr "Bearbeiten"
188
 
@@ -212,7 +216,7 @@ msgid "Display on all public <strong>post types</strong>."
212
  msgstr "In allen öffentlichen <strong>Beitragstypen</strong> anzeigen."
213
 
214
  #: admin/includes/class-display-condition-callbacks.php:31
215
- #: includes/array_ad_conditions.php:28
216
  msgid "Choose the public post types on which to display the ad."
217
  msgstr ""
218
  "Wählen Sie aus den öffentlichen Beitragstypen jene aus, bei denen die "
@@ -277,7 +281,7 @@ msgstr ""
277
  "anzeigen"
278
 
279
  #: admin/includes/class-display-condition-callbacks.php:233
280
- #: includes/array_ad_conditions.php:46
281
  msgid ""
282
  "Choose on which individual posts, pages and public post type pages you want "
283
  "to display or hide ads."
@@ -1017,6 +1021,10 @@ msgstr "Platzierung entfernen"
1017
  msgid "Save Placements"
1018
  msgstr "Platzierungen sichern"
1019
 
 
 
 
 
1020
  #: admin/views/settings.php:23
1021
  msgid "Debug Page"
1022
  msgstr "Debug-Seite"
@@ -1037,7 +1045,7 @@ msgstr "das Unternehmen hinter Advanced Ads"
1037
  msgid "webgilde GmbH"
1038
  msgstr "webgilde GmbH"
1039
 
1040
- #: classes/ad.php:676
1041
  #, php-format
1042
  msgid "A \"%s\" display condition does not exist"
1043
  msgstr "Eine \"%s\"- Anzeigebedingung existiert nicht"
@@ -1169,15 +1177,15 @@ msgstr "Anzeigen und Anzeigen-Gruppen zeigen."
1169
  msgid "Title:"
1170
  msgstr "Titel:"
1171
 
1172
- #: includes/array_ad_conditions.php:27
1173
  msgid "Post Types"
1174
  msgstr "Beitrags-Typen"
1175
 
1176
- #: includes/array_ad_conditions.php:33
1177
  msgid "Categories, Tags and Taxonomies"
1178
  msgstr "Kategorien, Schlagworte und Taxonomien"
1179
 
1180
- #: includes/array_ad_conditions.php:34
1181
  msgid ""
1182
  "Choose terms from public category, tag and other taxonomies a post must "
1183
  "belong to in order to have ads."
@@ -1185,156 +1193,156 @@ msgstr ""
1185
  "Wählen Sie aus öffentlichen Kategorien, Tags und anderen Taxonomien jene "
1186
  "aus, zu denen ein Beitrag gehören muss, damit auf ihm Anzeigen erscheinen."
1187
 
1188
- #: includes/array_ad_conditions.php:39
1189
  msgid "Category Archives"
1190
  msgstr "Kategorie-Archive"
1191
 
1192
- #: includes/array_ad_conditions.php:40
1193
  msgid "comma seperated IDs of category archives"
1194
  msgstr "Komma-getrennte IDs der Kategorie Archive"
1195
 
1196
- #: includes/array_ad_conditions.php:45
1197
  msgid "Individual Posts, Pages and Public Post Types"
1198
  msgstr "Einzelne Beiträge, Seiten und öffentliche Beitrag-Typen"
1199
 
1200
- #: includes/array_ad_conditions.php:51
1201
  msgid "Home Page"
1202
  msgstr "Homepage"
1203
 
1204
- #: includes/array_ad_conditions.php:52
1205
  msgid "(don't) show on Home page"
1206
  msgstr "(nicht) auf Homepage zeigen"
1207
 
1208
- #: includes/array_ad_conditions.php:56
1209
  msgid "Singular Pages"
1210
  msgstr "Einzelseiten"
1211
 
1212
- #: includes/array_ad_conditions.php:57
1213
  msgid "(don't) show on singular pages/posts"
1214
  msgstr "(Wird nicht) angezeigt auf singulären Seiten und Beiträgen"
1215
 
1216
- #: includes/array_ad_conditions.php:61
1217
  msgid "Archive Pages"
1218
  msgstr "Archiv-Seiten"
1219
 
1220
- #: includes/array_ad_conditions.php:62
1221
  msgid ""
1222
  "(don't) show on any type of archive page (category, tag, author and date)"
1223
  msgstr ""
1224
  "(Wird nicht) angezeigt auf jeder Art von Archiv-Seite (Kategorie, Tag, Autor "
1225
  "und Datum)"
1226
 
1227
- #: includes/array_ad_conditions.php:66
1228
  msgid "Search Results"
1229
  msgstr "Ergebnisse suchen"
1230
 
1231
- #: includes/array_ad_conditions.php:67
1232
  msgid "(don't) show on search result pages"
1233
  msgstr "(Wird nicht) angezeigt auf Suchergebnis-Seiten"
1234
 
1235
- #: includes/array_ad_conditions.php:71
1236
  msgid "404 Page"
1237
  msgstr "404-Seite"
1238
 
1239
- #: includes/array_ad_conditions.php:72
1240
  msgid "(don't) show on 404 error page"
1241
  msgstr "(nicht) auf 404-Fehlerseite zeigen"
1242
 
1243
- #: includes/array_ad_conditions.php:76
1244
  msgid "Attachment Pages"
1245
  msgstr "Anhang-Seiten"
1246
 
1247
- #: includes/array_ad_conditions.php:77
1248
  msgid "(don't) show on attachment pages"
1249
  msgstr "(Wird nicht) auf Anhang-Seiten angezeigt"
1250
 
1251
- #: public/class-advanced-ads.php:485
1252
  msgctxt "ad group general name"
1253
  msgid "Ad Groups"
1254
  msgstr "Anzeigen-Gruppen"
1255
 
1256
- #: public/class-advanced-ads.php:486
1257
  msgctxt "ad group singular name"
1258
  msgid "Ad Group"
1259
  msgstr "Anzeigen-Gruppe"
1260
 
1261
- #: public/class-advanced-ads.php:487
1262
  msgid "Search Ad Groups"
1263
  msgstr "Anzeigen-Gruppen suchen"
1264
 
1265
- #: public/class-advanced-ads.php:488
1266
  msgid "All Ad Groups"
1267
  msgstr "Alle Anzeigen-Gruppen"
1268
 
1269
- #: public/class-advanced-ads.php:489
1270
  msgid "Parent Ad Groups"
1271
  msgstr "Parent-Anzeigen-Gruppen"
1272
 
1273
- #: public/class-advanced-ads.php:490
1274
  msgid "Parent Ad Groups:"
1275
  msgstr "Parent-Anzeigen-Gruppen"
1276
 
1277
- #: public/class-advanced-ads.php:491
1278
  msgid "Edit Ad Group"
1279
  msgstr "Bearbeite Anzeigen-Gruppe"
1280
 
1281
- #: public/class-advanced-ads.php:492
1282
  msgid "Update Ad Group"
1283
  msgstr "Aktualisiere Anzeigen-Gruppe"
1284
 
1285
- #: public/class-advanced-ads.php:493
1286
  msgid "Add New Ad Group"
1287
  msgstr "Neue Anzeigengruppe hinzufügen"
1288
 
1289
- #: public/class-advanced-ads.php:494
1290
  msgid "New Ad Groups Name"
1291
  msgstr "Neuer Anzeigen-Gruppen-Name"
1292
 
1293
- #: public/class-advanced-ads.php:496
1294
  msgid "No Ad Group found"
1295
  msgstr "Keine Anzeigen-Gruppe gefunden"
1296
 
1297
- #: public/class-advanced-ads.php:522 public/class-advanced-ads.php:538
1298
  msgid "Ad"
1299
  msgstr "Anzeige"
1300
 
1301
- #: public/class-advanced-ads.php:523 public/class-advanced-ads.php:527
1302
  msgid "New Ad"
1303
  msgstr "Neue Anzeige"
1304
 
1305
- #: public/class-advanced-ads.php:524
1306
  msgid "Add New Ad"
1307
  msgstr "Neue Anzeige hinzufügen"
1308
 
1309
- #: public/class-advanced-ads.php:526
1310
  msgid "Edit Ad"
1311
  msgstr "Anzeige bearbeiten"
1312
 
1313
- #: public/class-advanced-ads.php:528
1314
  msgid "View"
1315
  msgstr "Ansicht"
1316
 
1317
- #: public/class-advanced-ads.php:529
1318
  msgid "View the Ad"
1319
  msgstr "Anzeige ansehen"
1320
 
1321
- #: public/class-advanced-ads.php:530
1322
  msgid "Search Ads"
1323
  msgstr "Anzeigen suchen"
1324
 
1325
- #: public/class-advanced-ads.php:531
1326
  msgid "No Ads found"
1327
  msgstr "Keine Anzeigen gefunden"
1328
 
1329
- #: public/class-advanced-ads.php:532
1330
  msgid "No Ads found in Trash"
1331
  msgstr "Keine Anzeigen im Papierkorb gefunden"
1332
 
1333
- #: public/class-advanced-ads.php:533
1334
  msgid "Parent Ad"
1335
  msgstr "Übergeordnete Anzeige"
1336
 
1337
- #: public/class-advanced-ads.php:589
1338
  #, php-format
1339
  msgid "Advanced Ads Error: %s"
1340
  msgstr "Advanced-Ads-Fehler: %s"
2
  msgstr ""
3
  "Project-Id-Version: Advanced Ads\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
5
+ "POT-Creation-Date: 2015-01-06 17:11+0100\n"
6
+ "PO-Revision-Date: 2015-01-06 17:12+0100\n"
7
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
14
  "X-Poedit-Basepath: .\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
 
17
+ #: admin/class-advanced-ads-admin.php:190
18
  #, php-format
19
  msgid ""
20
  "Advanced Ads Update: Auto injections are now managed through placements. "
23
  "Advanced-Ads-Update: Auto-Injektionen werden jetzt durch Platzierungen "
24
  "verwaltet. Bitte konvertieren Sie diese Anzeigen mit Auto-Injektionen: %s"
25
 
26
+ #: admin/class-advanced-ads-admin.php:204
27
  msgid "Overview"
28
  msgstr "Übersicht"
29
 
30
+ #: admin/class-advanced-ads-admin.php:204 classes/widget.php:21
31
  msgid "Advanced Ads"
32
  msgstr "Advanced Ads"
33
 
34
+ #: admin/class-advanced-ads-admin.php:208
35
  #: admin/includes/class-ad-groups-list-table.php:191
36
  #: admin/views/overview.php:12 admin/views/placements.php:91
37
+ #: classes/widget.php:66 public/class-advanced-ads.php:542
38
  msgid "Ads"
39
  msgstr "Anzeigen"
40
 
41
+ #: admin/class-advanced-ads-admin.php:212 admin/views/placements.php:84
42
  #: classes/widget.php:59
43
  msgid "Ad Groups"
44
  msgstr "Anzeigen-Gruppen"
45
 
46
+ #: admin/class-advanced-ads-admin.php:212 admin/views/overview.php:40
47
+ #: public/class-advanced-ads.php:516
48
  msgid "Groups"
49
  msgstr "Gruppen"
50
 
51
+ #: admin/class-advanced-ads-admin.php:217 admin/views/debug.php:19
52
  msgid "Ad Placements"
53
  msgstr "Anzeigen-Platzierungen"
54
 
55
+ #: admin/class-advanced-ads-admin.php:217 admin/views/overview.php:66
56
  #: admin/views/placements.php:47
57
  msgid "Placements"
58
  msgstr "Platzierungen"
59
 
60
+ #: admin/class-advanced-ads-admin.php:221
61
  msgid "Advanced Ads Settings"
62
  msgstr "Advanced-Ads-Einstellungen"
63
 
64
+ #: admin/class-advanced-ads-admin.php:221
65
+ #: admin/class-advanced-ads-admin.php:399 admin/views/debug.php:13
66
  msgid "Settings"
67
  msgstr "Einstellungen"
68
 
69
+ #: admin/class-advanced-ads-admin.php:224
70
  msgid "Advanced Ads Debugging"
71
  msgstr "Advanced-Ads-Fehleranalyse (Debugging)"
72
 
73
+ #: admin/class-advanced-ads-admin.php:224
74
  msgid "Debug"
75
  msgstr "Debug"
76
 
77
+ #: admin/class-advanced-ads-admin.php:268
78
  msgid "Placements updated"
79
  msgstr "Platzierungen aktualisiert"
80
 
81
+ #: admin/class-advanced-ads-admin.php:312
82
+ #: admin/class-advanced-ads-admin.php:339
83
  msgid "Sorry, you are not allowed to access this feature."
84
  msgstr "Sie haben leider keinen Zugriff auf diese Funktion"
85
 
86
+ #: admin/class-advanced-ads-admin.php:325
87
  msgid ""
88
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
89
  "deleted?"
91
  "Sie haben versucht, ein Element, das nicht existiert, zu bearbeiten. "
92
  "Vielleicht wurde es gelöscht?"
93
 
94
+ #: admin/class-advanced-ads-admin.php:424
95
  msgid "Ad Type"
96
  msgstr "Anzeigen-Typ"
97
 
98
+ #: admin/class-advanced-ads-admin.php:427
99
  msgid "Ad Parameters"
100
  msgstr "Anzeigen-Parameter"
101
 
102
+ #: admin/class-advanced-ads-admin.php:430
103
  msgid "Layout / Output"
104
  msgstr "Layout / Ausgabe"
105
 
106
+ #: admin/class-advanced-ads-admin.php:433
107
  msgid "Display Conditions"
108
  msgstr "Anzeige-Bedingungen"
109
 
110
+ #: admin/class-advanced-ads-admin.php:436
111
  msgid "Visitor Conditions"
112
  msgstr "Besucher-Bedingungen"
113
 
114
+ #: admin/class-advanced-ads-admin.php:439
115
  msgid "Auto injection"
116
  msgstr "Auto-Injektion"
117
 
118
+ #: admin/class-advanced-ads-admin.php:575
119
  msgid "General"
120
  msgstr "Allgemein"
121
 
122
+ #: admin/class-advanced-ads-admin.php:583
123
  msgid "Hide ads for logged in users"
124
  msgstr "Verstecke Anzeigen vor eingeloggten Benutzern"
125
 
126
+ #: admin/class-advanced-ads-admin.php:591
127
  msgid "Use advanced JavaScript"
128
  msgstr "Advanced-JavaScript benutzen"
129
 
130
+ #: admin/class-advanced-ads-admin.php:618
131
  msgid "(display to all)"
132
  msgstr "(für alle sichtbar)"
133
 
134
+ #: admin/class-advanced-ads-admin.php:619
135
  msgid "Subscriber"
136
  msgstr "Abonnent"
137
 
138
+ #: admin/class-advanced-ads-admin.php:620
139
  msgid "Contributor"
140
  msgstr "Mitarbeiter"
141
 
142
+ #: admin/class-advanced-ads-admin.php:621
143
  msgid "Author"
144
  msgstr "Autor"
145
 
146
+ #: admin/class-advanced-ads-admin.php:622
147
  msgid "Editor"
148
  msgstr "Redakteur"
149
 
150
+ #: admin/class-advanced-ads-admin.php:623
151
  msgid "Admin"
152
  msgstr "Admin"
153
 
154
+ #: admin/class-advanced-ads-admin.php:631
155
  msgid "Choose the lowest role a user must have in order to not see any ads."
156
  msgstr ""
157
  "Wählen Sie die niedrigste Rolle die ein Benutzer haben muss um keine "
158
  "Anzeigen zu sehen."
159
 
160
+ #: admin/class-advanced-ads-admin.php:644
161
  #, php-format
162
  msgid ""
163
  "Only enable this if you can and want to use the advanced JavaScript "
166
  "Aktivieren Sie dies nur, wenn Sie die erweiterten und <a href=\"%s\">hier</"
167
  "a> beschriebenen Advanced-JavaScript-Funktionen verwenden können und wollen."
168
 
169
+ #: admin/class-advanced-ads-admin.php:691
170
  msgid "Ad Details"
171
  msgstr "Anzeigeneinstellungen"
172
 
173
+ #: admin/class-advanced-ads-admin.php:744
174
+ msgid "Ad Settings"
175
+ msgstr "Anzeigen-Einstellungen"
176
+
177
  #: admin/includes/class-ad-groups-list-table.php:57
178
  #, php-format
179
  msgid "Select %s"
186
 
187
  #: admin/includes/class-ad-groups-list-table.php:99
188
  #: admin/includes/class-ad-groups-list-table.php:167
189
+ #: public/class-advanced-ads.php:546
190
  msgid "Edit"
191
  msgstr "Bearbeiten"
192
 
216
  msgstr "In allen öffentlichen <strong>Beitragstypen</strong> anzeigen."
217
 
218
  #: admin/includes/class-display-condition-callbacks.php:31
219
+ #: includes/array_ad_conditions.php:34
220
  msgid "Choose the public post types on which to display the ad."
221
  msgstr ""
222
  "Wählen Sie aus den öffentlichen Beitragstypen jene aus, bei denen die "
281
  "anzeigen"
282
 
283
  #: admin/includes/class-display-condition-callbacks.php:233
284
+ #: includes/array_ad_conditions.php:52
285
  msgid ""
286
  "Choose on which individual posts, pages and public post type pages you want "
287
  "to display or hide ads."
1021
  msgid "Save Placements"
1022
  msgstr "Platzierungen sichern"
1023
 
1024
+ #: admin/views/post_ad_settings_metabox.php:3
1025
+ msgid "Disable ads on this page"
1026
+ msgstr "Anzeigen auf dieser Seite deaktivieren."
1027
+
1028
  #: admin/views/settings.php:23
1029
  msgid "Debug Page"
1030
  msgstr "Debug-Seite"
1045
  msgid "webgilde GmbH"
1046
  msgstr "webgilde GmbH"
1047
 
1048
+ #: classes/ad.php:719
1049
  #, php-format
1050
  msgid "A \"%s\" display condition does not exist"
1051
  msgstr "Eine \"%s\"- Anzeigebedingung existiert nicht"
1177
  msgid "Title:"
1178
  msgstr "Titel:"
1179
 
1180
+ #: includes/array_ad_conditions.php:33
1181
  msgid "Post Types"
1182
  msgstr "Beitrags-Typen"
1183
 
1184
+ #: includes/array_ad_conditions.php:39
1185
  msgid "Categories, Tags and Taxonomies"
1186
  msgstr "Kategorien, Schlagworte und Taxonomien"
1187
 
1188
+ #: includes/array_ad_conditions.php:40
1189
  msgid ""
1190
  "Choose terms from public category, tag and other taxonomies a post must "
1191
  "belong to in order to have ads."
1193
  "Wählen Sie aus öffentlichen Kategorien, Tags und anderen Taxonomien jene "
1194
  "aus, zu denen ein Beitrag gehören muss, damit auf ihm Anzeigen erscheinen."
1195
 
1196
+ #: includes/array_ad_conditions.php:45
1197
  msgid "Category Archives"
1198
  msgstr "Kategorie-Archive"
1199
 
1200
+ #: includes/array_ad_conditions.php:46
1201
  msgid "comma seperated IDs of category archives"
1202
  msgstr "Komma-getrennte IDs der Kategorie Archive"
1203
 
1204
+ #: includes/array_ad_conditions.php:51
1205
  msgid "Individual Posts, Pages and Public Post Types"
1206
  msgstr "Einzelne Beiträge, Seiten und öffentliche Beitrag-Typen"
1207
 
1208
+ #: includes/array_ad_conditions.php:57
1209
  msgid "Home Page"
1210
  msgstr "Homepage"
1211
 
1212
+ #: includes/array_ad_conditions.php:58
1213
  msgid "(don't) show on Home page"
1214
  msgstr "(nicht) auf Homepage zeigen"
1215
 
1216
+ #: includes/array_ad_conditions.php:62
1217
  msgid "Singular Pages"
1218
  msgstr "Einzelseiten"
1219
 
1220
+ #: includes/array_ad_conditions.php:63
1221
  msgid "(don't) show on singular pages/posts"
1222
  msgstr "(Wird nicht) angezeigt auf singulären Seiten und Beiträgen"
1223
 
1224
+ #: includes/array_ad_conditions.php:67
1225
  msgid "Archive Pages"
1226
  msgstr "Archiv-Seiten"
1227
 
1228
+ #: includes/array_ad_conditions.php:68
1229
  msgid ""
1230
  "(don't) show on any type of archive page (category, tag, author and date)"
1231
  msgstr ""
1232
  "(Wird nicht) angezeigt auf jeder Art von Archiv-Seite (Kategorie, Tag, Autor "
1233
  "und Datum)"
1234
 
1235
+ #: includes/array_ad_conditions.php:72
1236
  msgid "Search Results"
1237
  msgstr "Ergebnisse suchen"
1238
 
1239
+ #: includes/array_ad_conditions.php:73
1240
  msgid "(don't) show on search result pages"
1241
  msgstr "(Wird nicht) angezeigt auf Suchergebnis-Seiten"
1242
 
1243
+ #: includes/array_ad_conditions.php:77
1244
  msgid "404 Page"
1245
  msgstr "404-Seite"
1246
 
1247
+ #: includes/array_ad_conditions.php:78
1248
  msgid "(don't) show on 404 error page"
1249
  msgstr "(nicht) auf 404-Fehlerseite zeigen"
1250
 
1251
+ #: includes/array_ad_conditions.php:82
1252
  msgid "Attachment Pages"
1253
  msgstr "Anhang-Seiten"
1254
 
1255
+ #: includes/array_ad_conditions.php:83
1256
  msgid "(don't) show on attachment pages"
1257
  msgstr "(Wird nicht) auf Anhang-Seiten angezeigt"
1258
 
1259
+ #: public/class-advanced-ads.php:506
1260
  msgctxt "ad group general name"
1261
  msgid "Ad Groups"
1262
  msgstr "Anzeigen-Gruppen"
1263
 
1264
+ #: public/class-advanced-ads.php:507
1265
  msgctxt "ad group singular name"
1266
  msgid "Ad Group"
1267
  msgstr "Anzeigen-Gruppe"
1268
 
1269
+ #: public/class-advanced-ads.php:508
1270
  msgid "Search Ad Groups"
1271
  msgstr "Anzeigen-Gruppen suchen"
1272
 
1273
+ #: public/class-advanced-ads.php:509
1274
  msgid "All Ad Groups"
1275
  msgstr "Alle Anzeigen-Gruppen"
1276
 
1277
+ #: public/class-advanced-ads.php:510
1278
  msgid "Parent Ad Groups"
1279
  msgstr "Parent-Anzeigen-Gruppen"
1280
 
1281
+ #: public/class-advanced-ads.php:511
1282
  msgid "Parent Ad Groups:"
1283
  msgstr "Parent-Anzeigen-Gruppen"
1284
 
1285
+ #: public/class-advanced-ads.php:512
1286
  msgid "Edit Ad Group"
1287
  msgstr "Bearbeite Anzeigen-Gruppe"
1288
 
1289
+ #: public/class-advanced-ads.php:513
1290
  msgid "Update Ad Group"
1291
  msgstr "Aktualisiere Anzeigen-Gruppe"
1292
 
1293
+ #: public/class-advanced-ads.php:514
1294
  msgid "Add New Ad Group"
1295
  msgstr "Neue Anzeigengruppe hinzufügen"
1296
 
1297
+ #: public/class-advanced-ads.php:515
1298
  msgid "New Ad Groups Name"
1299
  msgstr "Neuer Anzeigen-Gruppen-Name"
1300
 
1301
+ #: public/class-advanced-ads.php:517
1302
  msgid "No Ad Group found"
1303
  msgstr "Keine Anzeigen-Gruppe gefunden"
1304
 
1305
+ #: public/class-advanced-ads.php:543 public/class-advanced-ads.php:559
1306
  msgid "Ad"
1307
  msgstr "Anzeige"
1308
 
1309
+ #: public/class-advanced-ads.php:544 public/class-advanced-ads.php:548
1310
  msgid "New Ad"
1311
  msgstr "Neue Anzeige"
1312
 
1313
+ #: public/class-advanced-ads.php:545
1314
  msgid "Add New Ad"
1315
  msgstr "Neue Anzeige hinzufügen"
1316
 
1317
+ #: public/class-advanced-ads.php:547
1318
  msgid "Edit Ad"
1319
  msgstr "Anzeige bearbeiten"
1320
 
1321
+ #: public/class-advanced-ads.php:549
1322
  msgid "View"
1323
  msgstr "Ansicht"
1324
 
1325
+ #: public/class-advanced-ads.php:550
1326
  msgid "View the Ad"
1327
  msgstr "Anzeige ansehen"
1328
 
1329
+ #: public/class-advanced-ads.php:551
1330
  msgid "Search Ads"
1331
  msgstr "Anzeigen suchen"
1332
 
1333
+ #: public/class-advanced-ads.php:552
1334
  msgid "No Ads found"
1335
  msgstr "Keine Anzeigen gefunden"
1336
 
1337
+ #: public/class-advanced-ads.php:553
1338
  msgid "No Ads found in Trash"
1339
  msgstr "Keine Anzeigen im Papierkorb gefunden"
1340
 
1341
+ #: public/class-advanced-ads.php:554
1342
  msgid "Parent Ad"
1343
  msgstr "Übergeordnete Anzeige"
1344
 
1345
+ #: public/class-advanced-ads.php:610
1346
  #, php-format
1347
  msgid "Advanced Ads Error: %s"
1348
  msgstr "Advanced-Ads-Fehler: %s"
languages/advanced-ads.mo CHANGED
Binary file
languages/advanced-ads.pot CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Advanved Ads\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
- "POT-Creation-Date: 2014-12-17 11:17+0100\n"
8
- "PO-Revision-Date: 2014-12-17 11:17+0100\n"
9
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
10
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
11
  "Language: en\n"
@@ -19,155 +19,159 @@ msgstr ""
19
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
- #: admin/class-advanced-ads-admin.php:186
23
  #, php-format
24
  msgid ""
25
  "Advanced Ads Update: Auto injections are now managed through placements. "
26
  "Please convert these ads with auto injections: %s"
27
  msgstr ""
28
 
29
- #: admin/class-advanced-ads-admin.php:200
30
  msgid "Overview"
31
  msgstr ""
32
 
33
- #: admin/class-advanced-ads-admin.php:200 classes/widget.php:21
34
  msgid "Advanced Ads"
35
  msgstr ""
36
 
37
- #: admin/class-advanced-ads-admin.php:204
38
  #: admin/includes/class-ad-groups-list-table.php:191
39
  #: admin/views/overview.php:12 admin/views/placements.php:91
40
- #: classes/widget.php:66 public/class-advanced-ads.php:521
41
  msgid "Ads"
42
  msgstr ""
43
 
44
- #: admin/class-advanced-ads-admin.php:208 admin/views/placements.php:84
45
  #: classes/widget.php:59
46
  msgid "Ad Groups"
47
  msgstr ""
48
 
49
- #: admin/class-advanced-ads-admin.php:208 admin/views/overview.php:40
50
- #: public/class-advanced-ads.php:495
51
  msgid "Groups"
52
  msgstr ""
53
 
54
- #: admin/class-advanced-ads-admin.php:213 admin/views/debug.php:19
55
  msgid "Ad Placements"
56
  msgstr ""
57
 
58
- #: admin/class-advanced-ads-admin.php:213 admin/views/overview.php:66
59
  #: admin/views/placements.php:47
60
  msgid "Placements"
61
  msgstr ""
62
 
63
- #: admin/class-advanced-ads-admin.php:217
64
  msgid "Advanced Ads Settings"
65
  msgstr ""
66
 
67
- #: admin/class-advanced-ads-admin.php:217
68
- #: admin/class-advanced-ads-admin.php:395 admin/views/debug.php:13
69
  msgid "Settings"
70
  msgstr ""
71
 
72
- #: admin/class-advanced-ads-admin.php:220
73
  msgid "Advanced Ads Debugging"
74
  msgstr ""
75
 
76
- #: admin/class-advanced-ads-admin.php:220
77
  msgid "Debug"
78
  msgstr ""
79
 
80
- #: admin/class-advanced-ads-admin.php:264
81
  msgid "Placements updated"
82
  msgstr ""
83
 
84
- #: admin/class-advanced-ads-admin.php:308
85
- #: admin/class-advanced-ads-admin.php:335
86
  msgid "Sorry, you are not allowed to access this feature."
87
  msgstr ""
88
 
89
- #: admin/class-advanced-ads-admin.php:321
90
  msgid ""
91
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
92
  "deleted?"
93
  msgstr ""
94
 
95
- #: admin/class-advanced-ads-admin.php:420
96
  msgid "Ad Type"
97
  msgstr ""
98
 
99
- #: admin/class-advanced-ads-admin.php:423
100
  msgid "Ad Parameters"
101
  msgstr ""
102
 
103
- #: admin/class-advanced-ads-admin.php:426
104
  msgid "Layout / Output"
105
  msgstr ""
106
 
107
- #: admin/class-advanced-ads-admin.php:429
108
  msgid "Display Conditions"
109
  msgstr "Anzeigebedingungen"
110
 
111
- #: admin/class-advanced-ads-admin.php:432
112
  #, fuzzy
113
  msgid "Visitor Conditions"
114
  msgstr "Anzeigebedingungen"
115
 
116
- #: admin/class-advanced-ads-admin.php:435
117
  msgid "Auto injection"
118
  msgstr ""
119
 
120
- #: admin/class-advanced-ads-admin.php:571
121
  msgid "General"
122
  msgstr ""
123
 
124
- #: admin/class-advanced-ads-admin.php:579
125
  msgid "Hide ads for logged in users"
126
  msgstr ""
127
 
128
- #: admin/class-advanced-ads-admin.php:587
129
  msgid "Use advanced JavaScript"
130
  msgstr ""
131
 
132
- #: admin/class-advanced-ads-admin.php:614
133
  msgid "(display to all)"
134
  msgstr "(für alle anzeigen)"
135
 
136
- #: admin/class-advanced-ads-admin.php:615
137
  msgid "Subscriber"
138
  msgstr ""
139
 
140
- #: admin/class-advanced-ads-admin.php:616
141
  msgid "Contributor"
142
  msgstr ""
143
 
144
- #: admin/class-advanced-ads-admin.php:617
145
  msgid "Author"
146
  msgstr ""
147
 
148
- #: admin/class-advanced-ads-admin.php:618
149
  msgid "Editor"
150
  msgstr ""
151
 
152
- #: admin/class-advanced-ads-admin.php:619
153
  msgid "Admin"
154
  msgstr ""
155
 
156
- #: admin/class-advanced-ads-admin.php:627
157
  msgid "Choose the lowest role a user must have in order to not see any ads."
158
  msgstr ""
159
 
160
- #: admin/class-advanced-ads-admin.php:640
161
  #, php-format
162
  msgid ""
163
  "Only enable this if you can and want to use the advanced JavaScript "
164
  "functions described <a href=\"%s\">here</a>."
165
  msgstr ""
166
 
167
- #: admin/class-advanced-ads-admin.php:687
168
  msgid "Ad Details"
169
  msgstr ""
170
 
 
 
 
 
171
  #: admin/includes/class-ad-groups-list-table.php:57
172
  #, fuzzy, php-format
173
  msgid "Select %s"
@@ -180,7 +184,7 @@ msgstr ""
180
 
181
  #: admin/includes/class-ad-groups-list-table.php:99
182
  #: admin/includes/class-ad-groups-list-table.php:167
183
- #: public/class-advanced-ads.php:525
184
  #, fuzzy
185
  msgid "Edit"
186
  msgstr "Kreuzworträtsel bearbeiten"
@@ -211,7 +215,7 @@ msgid "Display on all public <strong>post types</strong>."
211
  msgstr ""
212
 
213
  #: admin/includes/class-display-condition-callbacks.php:31
214
- #: includes/array_ad_conditions.php:28
215
  msgid "Choose the public post types on which to display the ad."
216
  msgstr ""
217
 
@@ -264,7 +268,7 @@ msgid ""
264
  msgstr ""
265
 
266
  #: admin/includes/class-display-condition-callbacks.php:233
267
- #: includes/array_ad_conditions.php:46
268
  msgid ""
269
  "Choose on which individual posts, pages and public post type pages you want "
270
  "to display or hide ads."
@@ -969,6 +973,10 @@ msgstr "Filter entfernen"
969
  msgid "Save Placements"
970
  msgstr ""
971
 
 
 
 
 
972
  #: admin/views/settings.php:23
973
  msgid "Debug Page"
974
  msgstr ""
@@ -989,7 +997,7 @@ msgstr ""
989
  msgid "webgilde GmbH"
990
  msgstr ""
991
 
992
- #: classes/ad.php:676
993
  #, php-format
994
  msgid "A \"%s\" display condition does not exist"
995
  msgstr ""
@@ -1112,188 +1120,188 @@ msgstr ""
1112
  msgid "Title:"
1113
  msgstr ""
1114
 
1115
- #: includes/array_ad_conditions.php:27
1116
  msgid "Post Types"
1117
  msgstr ""
1118
 
1119
- #: includes/array_ad_conditions.php:33
1120
  #, fuzzy
1121
  msgid "Categories, Tags and Taxonomies"
1122
  msgstr "Kreuzworträtsel-Tags"
1123
 
1124
- #: includes/array_ad_conditions.php:34
1125
  msgid ""
1126
  "Choose terms from public category, tag and other taxonomies a post must "
1127
  "belong to in order to have ads."
1128
  msgstr ""
1129
 
1130
- #: includes/array_ad_conditions.php:39
1131
  msgid "Category Archives"
1132
  msgstr ""
1133
 
1134
- #: includes/array_ad_conditions.php:40
1135
  msgid "comma seperated IDs of category archives"
1136
  msgstr ""
1137
 
1138
- #: includes/array_ad_conditions.php:45
1139
  msgid "Individual Posts, Pages and Public Post Types"
1140
  msgstr ""
1141
 
1142
- #: includes/array_ad_conditions.php:51
1143
  msgid "Home Page"
1144
  msgstr ""
1145
 
1146
- #: includes/array_ad_conditions.php:52
1147
  msgid "(don't) show on Home page"
1148
  msgstr ""
1149
 
1150
- #: includes/array_ad_conditions.php:56
1151
  msgid "Singular Pages"
1152
  msgstr ""
1153
 
1154
- #: includes/array_ad_conditions.php:57
1155
  msgid "(don't) show on singular pages/posts"
1156
  msgstr ""
1157
 
1158
- #: includes/array_ad_conditions.php:61
1159
  msgid "Archive Pages"
1160
  msgstr ""
1161
 
1162
- #: includes/array_ad_conditions.php:62
1163
  msgid ""
1164
  "(don't) show on any type of archive page (category, tag, author and date)"
1165
  msgstr ""
1166
 
1167
- #: includes/array_ad_conditions.php:66
1168
  #, fuzzy
1169
  msgid "Search Results"
1170
  msgstr "suchen"
1171
 
1172
- #: includes/array_ad_conditions.php:67
1173
  msgid "(don't) show on search result pages"
1174
  msgstr ""
1175
 
1176
- #: includes/array_ad_conditions.php:71
1177
  msgid "404 Page"
1178
  msgstr ""
1179
 
1180
- #: includes/array_ad_conditions.php:72
1181
  msgid "(don't) show on 404 error page"
1182
  msgstr ""
1183
 
1184
- #: includes/array_ad_conditions.php:76
1185
  msgid "Attachment Pages"
1186
  msgstr ""
1187
 
1188
- #: includes/array_ad_conditions.php:77
1189
  msgid "(don't) show on attachment pages"
1190
  msgstr ""
1191
 
1192
- #: public/class-advanced-ads.php:485
1193
  msgctxt "ad group general name"
1194
  msgid "Ad Groups"
1195
  msgstr ""
1196
 
1197
- #: public/class-advanced-ads.php:486
1198
  msgctxt "ad group singular name"
1199
  msgid "Ad Group"
1200
  msgstr ""
1201
 
1202
- #: public/class-advanced-ads.php:487
1203
  #, fuzzy
1204
  msgid "Search Ad Groups"
1205
  msgstr "suchen"
1206
 
1207
- #: public/class-advanced-ads.php:488
1208
  #, fuzzy
1209
  msgid "All Ad Groups"
1210
  msgstr "(für alle anzeigen)"
1211
 
1212
- #: public/class-advanced-ads.php:489
1213
  #, fuzzy
1214
  msgid "Parent Ad Groups"
1215
  msgstr "Übergeordnetes Thema"
1216
 
1217
- #: public/class-advanced-ads.php:490
1218
  #, fuzzy
1219
  msgid "Parent Ad Groups:"
1220
  msgstr "Übergeordnetes Thema"
1221
 
1222
- #: public/class-advanced-ads.php:491
1223
  #, fuzzy
1224
  msgid "Edit Ad Group"
1225
  msgstr "Kreuzworträtsel bearbeiten"
1226
 
1227
- #: public/class-advanced-ads.php:492
1228
  #, fuzzy
1229
  msgid "Update Ad Group"
1230
  msgstr "Thema aktualisieren"
1231
 
1232
- #: public/class-advanced-ads.php:493
1233
  #, fuzzy
1234
  msgid "Add New Ad Group"
1235
  msgstr "Neues Kreuzworträtsel hinzufügen"
1236
 
1237
- #: public/class-advanced-ads.php:494
1238
  #, fuzzy
1239
  msgid "New Ad Groups Name"
1240
  msgstr "Neuer Kreuzworträtsel-Tag"
1241
 
1242
- #: public/class-advanced-ads.php:496
1243
  #, fuzzy
1244
  msgid "No Ad Group found"
1245
  msgstr "Keine Kreuzworträtsel gefunden"
1246
 
1247
- #: public/class-advanced-ads.php:522 public/class-advanced-ads.php:538
1248
  msgid "Ad"
1249
  msgstr ""
1250
 
1251
- #: public/class-advanced-ads.php:523 public/class-advanced-ads.php:527
1252
  #, fuzzy
1253
  msgid "New Ad"
1254
  msgstr "Neues Kreuzworträtsel"
1255
 
1256
- #: public/class-advanced-ads.php:524
1257
  #, fuzzy
1258
  msgid "Add New Ad"
1259
  msgstr "Neues Kreuzworträtsel hinzufügen"
1260
 
1261
- #: public/class-advanced-ads.php:526
1262
  #, fuzzy
1263
  msgid "Edit Ad"
1264
  msgstr "Kreuzworträtsel bearbeiten"
1265
 
1266
- #: public/class-advanced-ads.php:528
1267
  #, fuzzy
1268
  msgid "View"
1269
  msgstr "Ansicht"
1270
 
1271
- #: public/class-advanced-ads.php:529
1272
  #, fuzzy
1273
  msgid "View the Ad"
1274
  msgstr "Ansicht"
1275
 
1276
- #: public/class-advanced-ads.php:530
1277
  #, fuzzy
1278
  msgid "Search Ads"
1279
  msgstr "suchen"
1280
 
1281
- #: public/class-advanced-ads.php:531
1282
  #, fuzzy
1283
  msgid "No Ads found"
1284
  msgstr "Keine Kreuzworträtsel gefunden"
1285
 
1286
- #: public/class-advanced-ads.php:532
1287
  #, fuzzy
1288
  msgid "No Ads found in Trash"
1289
  msgstr "Keine Kreuzworträtsel im Papierkorb"
1290
 
1291
- #: public/class-advanced-ads.php:533
1292
  #, fuzzy
1293
  msgid "Parent Ad"
1294
  msgstr "Übergeordnetes Thema"
1295
 
1296
- #: public/class-advanced-ads.php:589
1297
  #, php-format
1298
  msgid "Advanced Ads Error: %s"
1299
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: Advanved Ads\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
7
+ "POT-Creation-Date: 2015-01-06 17:11+0100\n"
8
+ "PO-Revision-Date: 2015-01-06 17:11+0100\n"
9
  "Last-Translator: Thomas Maier <post@webzunft.de>\n"
10
  "Language-Team: webgilde <thomas.maier@webgilde.com>\n"
11
  "Language: en\n"
19
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
+ #: admin/class-advanced-ads-admin.php:190
23
  #, php-format
24
  msgid ""
25
  "Advanced Ads Update: Auto injections are now managed through placements. "
26
  "Please convert these ads with auto injections: %s"
27
  msgstr ""
28
 
29
+ #: admin/class-advanced-ads-admin.php:204
30
  msgid "Overview"
31
  msgstr ""
32
 
33
+ #: admin/class-advanced-ads-admin.php:204 classes/widget.php:21
34
  msgid "Advanced Ads"
35
  msgstr ""
36
 
37
+ #: admin/class-advanced-ads-admin.php:208
38
  #: admin/includes/class-ad-groups-list-table.php:191
39
  #: admin/views/overview.php:12 admin/views/placements.php:91
40
+ #: classes/widget.php:66 public/class-advanced-ads.php:542
41
  msgid "Ads"
42
  msgstr ""
43
 
44
+ #: admin/class-advanced-ads-admin.php:212 admin/views/placements.php:84
45
  #: classes/widget.php:59
46
  msgid "Ad Groups"
47
  msgstr ""
48
 
49
+ #: admin/class-advanced-ads-admin.php:212 admin/views/overview.php:40
50
+ #: public/class-advanced-ads.php:516
51
  msgid "Groups"
52
  msgstr ""
53
 
54
+ #: admin/class-advanced-ads-admin.php:217 admin/views/debug.php:19
55
  msgid "Ad Placements"
56
  msgstr ""
57
 
58
+ #: admin/class-advanced-ads-admin.php:217 admin/views/overview.php:66
59
  #: admin/views/placements.php:47
60
  msgid "Placements"
61
  msgstr ""
62
 
63
+ #: admin/class-advanced-ads-admin.php:221
64
  msgid "Advanced Ads Settings"
65
  msgstr ""
66
 
67
+ #: admin/class-advanced-ads-admin.php:221
68
+ #: admin/class-advanced-ads-admin.php:399 admin/views/debug.php:13
69
  msgid "Settings"
70
  msgstr ""
71
 
72
+ #: admin/class-advanced-ads-admin.php:224
73
  msgid "Advanced Ads Debugging"
74
  msgstr ""
75
 
76
+ #: admin/class-advanced-ads-admin.php:224
77
  msgid "Debug"
78
  msgstr ""
79
 
80
+ #: admin/class-advanced-ads-admin.php:268
81
  msgid "Placements updated"
82
  msgstr ""
83
 
84
+ #: admin/class-advanced-ads-admin.php:312
85
+ #: admin/class-advanced-ads-admin.php:339
86
  msgid "Sorry, you are not allowed to access this feature."
87
  msgstr ""
88
 
89
+ #: admin/class-advanced-ads-admin.php:325
90
  msgid ""
91
  "You attempted to edit an ad group that doesn&#8217;t exist. Perhaps it was "
92
  "deleted?"
93
  msgstr ""
94
 
95
+ #: admin/class-advanced-ads-admin.php:424
96
  msgid "Ad Type"
97
  msgstr ""
98
 
99
+ #: admin/class-advanced-ads-admin.php:427
100
  msgid "Ad Parameters"
101
  msgstr ""
102
 
103
+ #: admin/class-advanced-ads-admin.php:430
104
  msgid "Layout / Output"
105
  msgstr ""
106
 
107
+ #: admin/class-advanced-ads-admin.php:433
108
  msgid "Display Conditions"
109
  msgstr "Anzeigebedingungen"
110
 
111
+ #: admin/class-advanced-ads-admin.php:436
112
  #, fuzzy
113
  msgid "Visitor Conditions"
114
  msgstr "Anzeigebedingungen"
115
 
116
+ #: admin/class-advanced-ads-admin.php:439
117
  msgid "Auto injection"
118
  msgstr ""
119
 
120
+ #: admin/class-advanced-ads-admin.php:575
121
  msgid "General"
122
  msgstr ""
123
 
124
+ #: admin/class-advanced-ads-admin.php:583
125
  msgid "Hide ads for logged in users"
126
  msgstr ""
127
 
128
+ #: admin/class-advanced-ads-admin.php:591
129
  msgid "Use advanced JavaScript"
130
  msgstr ""
131
 
132
+ #: admin/class-advanced-ads-admin.php:618
133
  msgid "(display to all)"
134
  msgstr "(für alle anzeigen)"
135
 
136
+ #: admin/class-advanced-ads-admin.php:619
137
  msgid "Subscriber"
138
  msgstr ""
139
 
140
+ #: admin/class-advanced-ads-admin.php:620
141
  msgid "Contributor"
142
  msgstr ""
143
 
144
+ #: admin/class-advanced-ads-admin.php:621
145
  msgid "Author"
146
  msgstr ""
147
 
148
+ #: admin/class-advanced-ads-admin.php:622
149
  msgid "Editor"
150
  msgstr ""
151
 
152
+ #: admin/class-advanced-ads-admin.php:623
153
  msgid "Admin"
154
  msgstr ""
155
 
156
+ #: admin/class-advanced-ads-admin.php:631
157
  msgid "Choose the lowest role a user must have in order to not see any ads."
158
  msgstr ""
159
 
160
+ #: admin/class-advanced-ads-admin.php:644
161
  #, php-format
162
  msgid ""
163
  "Only enable this if you can and want to use the advanced JavaScript "
164
  "functions described <a href=\"%s\">here</a>."
165
  msgstr ""
166
 
167
+ #: admin/class-advanced-ads-admin.php:691
168
  msgid "Ad Details"
169
  msgstr ""
170
 
171
+ #: admin/class-advanced-ads-admin.php:744
172
+ msgid "Ad Settings"
173
+ msgstr ""
174
+
175
  #: admin/includes/class-ad-groups-list-table.php:57
176
  #, fuzzy, php-format
177
  msgid "Select %s"
184
 
185
  #: admin/includes/class-ad-groups-list-table.php:99
186
  #: admin/includes/class-ad-groups-list-table.php:167
187
+ #: public/class-advanced-ads.php:546
188
  #, fuzzy
189
  msgid "Edit"
190
  msgstr "Kreuzworträtsel bearbeiten"
215
  msgstr ""
216
 
217
  #: admin/includes/class-display-condition-callbacks.php:31
218
+ #: includes/array_ad_conditions.php:34
219
  msgid "Choose the public post types on which to display the ad."
220
  msgstr ""
221
 
268
  msgstr ""
269
 
270
  #: admin/includes/class-display-condition-callbacks.php:233
271
+ #: includes/array_ad_conditions.php:52
272
  msgid ""
273
  "Choose on which individual posts, pages and public post type pages you want "
274
  "to display or hide ads."
973
  msgid "Save Placements"
974
  msgstr ""
975
 
976
+ #: admin/views/post_ad_settings_metabox.php:3
977
+ msgid "Disable ads on this page"
978
+ msgstr ""
979
+
980
  #: admin/views/settings.php:23
981
  msgid "Debug Page"
982
  msgstr ""
997
  msgid "webgilde GmbH"
998
  msgstr ""
999
 
1000
+ #: classes/ad.php:719
1001
  #, php-format
1002
  msgid "A \"%s\" display condition does not exist"
1003
  msgstr ""
1120
  msgid "Title:"
1121
  msgstr ""
1122
 
1123
+ #: includes/array_ad_conditions.php:33
1124
  msgid "Post Types"
1125
  msgstr ""
1126
 
1127
+ #: includes/array_ad_conditions.php:39
1128
  #, fuzzy
1129
  msgid "Categories, Tags and Taxonomies"
1130
  msgstr "Kreuzworträtsel-Tags"
1131
 
1132
+ #: includes/array_ad_conditions.php:40
1133
  msgid ""
1134
  "Choose terms from public category, tag and other taxonomies a post must "
1135
  "belong to in order to have ads."
1136
  msgstr ""
1137
 
1138
+ #: includes/array_ad_conditions.php:45
1139
  msgid "Category Archives"
1140
  msgstr ""
1141
 
1142
+ #: includes/array_ad_conditions.php:46
1143
  msgid "comma seperated IDs of category archives"
1144
  msgstr ""
1145
 
1146
+ #: includes/array_ad_conditions.php:51
1147
  msgid "Individual Posts, Pages and Public Post Types"
1148
  msgstr ""
1149
 
1150
+ #: includes/array_ad_conditions.php:57
1151
  msgid "Home Page"
1152
  msgstr ""
1153
 
1154
+ #: includes/array_ad_conditions.php:58
1155
  msgid "(don't) show on Home page"
1156
  msgstr ""
1157
 
1158
+ #: includes/array_ad_conditions.php:62
1159
  msgid "Singular Pages"
1160
  msgstr ""
1161
 
1162
+ #: includes/array_ad_conditions.php:63
1163
  msgid "(don't) show on singular pages/posts"
1164
  msgstr ""
1165
 
1166
+ #: includes/array_ad_conditions.php:67
1167
  msgid "Archive Pages"
1168
  msgstr ""
1169
 
1170
+ #: includes/array_ad_conditions.php:68
1171
  msgid ""
1172
  "(don't) show on any type of archive page (category, tag, author and date)"
1173
  msgstr ""
1174
 
1175
+ #: includes/array_ad_conditions.php:72
1176
  #, fuzzy
1177
  msgid "Search Results"
1178
  msgstr "suchen"
1179
 
1180
+ #: includes/array_ad_conditions.php:73
1181
  msgid "(don't) show on search result pages"
1182
  msgstr ""
1183
 
1184
+ #: includes/array_ad_conditions.php:77
1185
  msgid "404 Page"
1186
  msgstr ""
1187
 
1188
+ #: includes/array_ad_conditions.php:78
1189
  msgid "(don't) show on 404 error page"
1190
  msgstr ""
1191
 
1192
+ #: includes/array_ad_conditions.php:82
1193
  msgid "Attachment Pages"
1194
  msgstr ""
1195
 
1196
+ #: includes/array_ad_conditions.php:83
1197
  msgid "(don't) show on attachment pages"
1198
  msgstr ""
1199
 
1200
+ #: public/class-advanced-ads.php:506
1201
  msgctxt "ad group general name"
1202
  msgid "Ad Groups"
1203
  msgstr ""
1204
 
1205
+ #: public/class-advanced-ads.php:507
1206
  msgctxt "ad group singular name"
1207
  msgid "Ad Group"
1208
  msgstr ""
1209
 
1210
+ #: public/class-advanced-ads.php:508
1211
  #, fuzzy
1212
  msgid "Search Ad Groups"
1213
  msgstr "suchen"
1214
 
1215
+ #: public/class-advanced-ads.php:509
1216
  #, fuzzy
1217
  msgid "All Ad Groups"
1218
  msgstr "(für alle anzeigen)"
1219
 
1220
+ #: public/class-advanced-ads.php:510
1221
  #, fuzzy
1222
  msgid "Parent Ad Groups"
1223
  msgstr "Übergeordnetes Thema"
1224
 
1225
+ #: public/class-advanced-ads.php:511
1226
  #, fuzzy
1227
  msgid "Parent Ad Groups:"
1228
  msgstr "Übergeordnetes Thema"
1229
 
1230
+ #: public/class-advanced-ads.php:512
1231
  #, fuzzy
1232
  msgid "Edit Ad Group"
1233
  msgstr "Kreuzworträtsel bearbeiten"
1234
 
1235
+ #: public/class-advanced-ads.php:513
1236
  #, fuzzy
1237
  msgid "Update Ad Group"
1238
  msgstr "Thema aktualisieren"
1239
 
1240
+ #: public/class-advanced-ads.php:514
1241
  #, fuzzy
1242
  msgid "Add New Ad Group"
1243
  msgstr "Neues Kreuzworträtsel hinzufügen"
1244
 
1245
+ #: public/class-advanced-ads.php:515
1246
  #, fuzzy
1247
  msgid "New Ad Groups Name"
1248
  msgstr "Neuer Kreuzworträtsel-Tag"
1249
 
1250
+ #: public/class-advanced-ads.php:517
1251
  #, fuzzy
1252
  msgid "No Ad Group found"
1253
  msgstr "Keine Kreuzworträtsel gefunden"
1254
 
1255
+ #: public/class-advanced-ads.php:543 public/class-advanced-ads.php:559
1256
  msgid "Ad"
1257
  msgstr ""
1258
 
1259
+ #: public/class-advanced-ads.php:544 public/class-advanced-ads.php:548
1260
  #, fuzzy
1261
  msgid "New Ad"
1262
  msgstr "Neues Kreuzworträtsel"
1263
 
1264
+ #: public/class-advanced-ads.php:545
1265
  #, fuzzy
1266
  msgid "Add New Ad"
1267
  msgstr "Neues Kreuzworträtsel hinzufügen"
1268
 
1269
+ #: public/class-advanced-ads.php:547
1270
  #, fuzzy
1271
  msgid "Edit Ad"
1272
  msgstr "Kreuzworträtsel bearbeiten"
1273
 
1274
+ #: public/class-advanced-ads.php:549
1275
  #, fuzzy
1276
  msgid "View"
1277
  msgstr "Ansicht"
1278
 
1279
+ #: public/class-advanced-ads.php:550
1280
  #, fuzzy
1281
  msgid "View the Ad"
1282
  msgstr "Ansicht"
1283
 
1284
+ #: public/class-advanced-ads.php:551
1285
  #, fuzzy
1286
  msgid "Search Ads"
1287
  msgstr "suchen"
1288
 
1289
+ #: public/class-advanced-ads.php:552
1290
  #, fuzzy
1291
  msgid "No Ads found"
1292
  msgstr "Keine Kreuzworträtsel gefunden"
1293
 
1294
+ #: public/class-advanced-ads.php:553
1295
  #, fuzzy
1296
  msgid "No Ads found in Trash"
1297
  msgstr "Keine Kreuzworträtsel im Papierkorb"
1298
 
1299
+ #: public/class-advanced-ads.php:554
1300
  #, fuzzy
1301
  msgid "Parent Ad"
1302
  msgstr "Übergeordnetes Thema"
1303
 
1304
+ #: public/class-advanced-ads.php:610
1305
  #, php-format
1306
  msgid "Advanced Ads Error: %s"
1307
  msgstr ""
public/class-advanced-ads.php CHANGED
@@ -103,6 +103,9 @@ class Advanced_Ads {
103
  add_action( 'init', array( $this, 'init' ) );
104
  register_activation_hook(__FILE__, array($this,'post_types_rewrite_flush'));
105
 
 
 
 
106
  // add short codes
107
  add_shortcode('the_ad', array($this, 'shortcode_display_ad'));
108
  add_shortcode('the_ad_group', array($this, 'shortcode_display_ad_group'));
@@ -131,6 +134,24 @@ class Advanced_Ads {
131
  $this->set_ad_types();
132
  }
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  /**
135
  * Return the plugin slug.
136
  *
103
  add_action( 'init', array( $this, 'init' ) );
104
  register_activation_hook(__FILE__, array($this,'post_types_rewrite_flush'));
105
 
106
+ // register hook for global constants
107
+ add_action('wp', array($this, 'set_global_constants'));
108
+
109
  // add short codes
110
  add_shortcode('the_ad', array($this, 'shortcode_display_ad'));
111
  add_shortcode('the_ad_group', array($this, 'shortcode_display_ad_group'));
134
  $this->set_ad_types();
135
  }
136
 
137
+ /**
138
+ * set global constants for the current page view
139
+ *
140
+ * @since 1.3.10
141
+ */
142
+ public function set_global_constants(){
143
+
144
+ global $post;
145
+ // check if ads are disabled on the current page
146
+ if(is_singular() && isset($post->ID) && !defined('ADVADS_ADS_DISABLED')){
147
+ $options = get_post_meta( $post->ID, '_advads_ad_settings', true );
148
+
149
+ if(!empty($options['disable_ads'])){
150
+ define('ADVADS_ADS_DISABLED', true);
151
+ }
152
+ };
153
+ }
154
+
155
  /**
156
  * Return the plugin slug.
157
  *
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 3.5, PHP 5.3
6
  Tested up to: 4.1.
7
- Stable tag: 1.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -40,6 +40,7 @@ choose between different ad types that enable you to:
40
  * widget to display ads in widget areas (sidebars)
41
  * display grouped ads based on customizable ad weight
42
  * use placements in your theme to change ads and groups in template files without coding
 
43
 
44
  = display conditions =
45
 
@@ -147,6 +148,16 @@ There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way t
147
 
148
  == Changelog ==
149
 
 
 
 
 
 
 
 
 
 
 
150
  = 1.3.9 =
151
 
152
  * disabled empty css file in frontend
4
  Tags: ads, ad, adsense, display, banner, advertisements, adverts, advert, monetization
5
  Requires at least: WP 3.5, PHP 5.3
6
  Tested up to: 4.1.
7
+ Stable tag: 1.3.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
40
  * widget to display ads in widget areas (sidebars)
41
  * display grouped ads based on customizable ad weight
42
  * use placements in your theme to change ads and groups in template files without coding
43
+ * disable all ads on individual single pages
44
 
45
  = display conditions =
46
 
148
 
149
  == Changelog ==
150
 
151
+ = 1.3.10 =
152
+
153
+ * COOL: disable all ads on individual single pages
154
+ * fixed saving some ad conditions to global array
155
+ * fixed minor issue with empty ad condition
156
+ * updated translation files
157
+ * updated German translation
158
+
159
+ Developers might want to take a look at the [Codex](http://wpadvancedads.com/advancedads/codex/). I am currently updating the cool stuff in there.
160
+
161
  = 1.3.9 =
162
 
163
  * disabled empty css file in frontend