Changeset 2977329
- Timestamp:
- 10/11/2023 06:37:30 AM (2 years ago)
- Location:
- eadv-vip
- Files:
-
- 2 edited
- 3 copied
-
tags/1.2.3 (copied) (copied from eadv-vip/trunk)
-
tags/1.2.3/eadv-vip.php (copied) (copied from eadv-vip/trunk/eadv-vip.php) (3 diffs)
-
tags/1.2.3/readme.txt (copied) (copied from eadv-vip/trunk/readme.txt) (1 diff)
-
trunk/eadv-vip.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
eadv-vip/tags/1.2.3/eadv-vip.php
r2976959 r2977329 4 4 Plugin URI: https://www.eadv.it 5 5 Description: Plugin riservato ai publishers VIP di eADV 6 Version: 1.2. 26 Version: 1.2.3 7 7 Author: TAGMOOD S.R.L. 8 8 Author URI: https://www.tagmood.it … … 228 228 * Nel caso specifico eadv-in-content=3, dove 3 indica la frequenza con cui inserire il placeholder all'interno del contenuto 229 229 */ 230 function eadv_insert_shortcode_every_n_paragraphs($content) { 231 if(function_exists('is_amp_endpoint') && is_amp_endpoint()) { 230 function eadv_insert_shortcode_every_n_paragraphs($content) 231 { 232 if(!is_singular() || (function_exists('is_amp_endpoint') && is_amp_endpoint())) { 232 233 return $content; 233 234 } … … 249 250 250 251 // Check if it's time to insert the shortcode 251 if ($paragraph_count == 1 || (($paragraph_count -1) % $n_freq === 0)) {252 if ($paragraph_count == 1 || (($paragraph_count - 1) % $n_freq === 0)) { 252 253 $placeholder_count++; 253 254 $paragraph .= '[eadv-in-content'.($placeholder_count > 1 ? ' n='.$placeholder_count : '').']'; -
eadv-vip/tags/1.2.3/readme.txt
r2976959 r2977329 4 4 Requires at least: 5.1 5 5 Tested up to: 6.3 6 Stable tag: 1.2. 26 Stable tag: 1.2.3 7 7 License: GPLv2 or later 8 8 Plugin realizzato per i publisher VIP di eADV.it per l'inserimento automatico del Magic-Code, del file ads.txt e delle direttive per l'ottimizzazione del CLS -
eadv-vip/trunk/eadv-vip.php
r2976959 r2977329 4 4 Plugin URI: https://www.eadv.it 5 5 Description: Plugin riservato ai publishers VIP di eADV 6 Version: 1.2. 26 Version: 1.2.3 7 7 Author: TAGMOOD S.R.L. 8 8 Author URI: https://www.tagmood.it … … 228 228 * Nel caso specifico eadv-in-content=3, dove 3 indica la frequenza con cui inserire il placeholder all'interno del contenuto 229 229 */ 230 function eadv_insert_shortcode_every_n_paragraphs($content) { 231 if(function_exists('is_amp_endpoint') && is_amp_endpoint()) { 230 function eadv_insert_shortcode_every_n_paragraphs($content) 231 { 232 if(!is_singular() || (function_exists('is_amp_endpoint') && is_amp_endpoint())) { 232 233 return $content; 233 234 } … … 249 250 250 251 // Check if it's time to insert the shortcode 251 if ($paragraph_count == 1 || (($paragraph_count -1) % $n_freq === 0)) {252 if ($paragraph_count == 1 || (($paragraph_count - 1) % $n_freq === 0)) { 252 253 $placeholder_count++; 253 254 $paragraph .= '[eadv-in-content'.($placeholder_count > 1 ? ' n='.$placeholder_count : '').']'; -
eadv-vip/trunk/readme.txt
r2976959 r2977329 4 4 Requires at least: 5.1 5 5 Tested up to: 6.3 6 Stable tag: 1.2. 26 Stable tag: 1.2.3 7 7 License: GPLv2 or later 8 8 Plugin realizzato per i publisher VIP di eADV.it per l'inserimento automatico del Magic-Code, del file ads.txt e delle direttive per l'ottimizzazione del CLS
Note: See TracChangeset
for help on using the changeset viewer.