Plugin Directory

Changeset 2977329


Ignore:
Timestamp:
10/11/2023 06:37:30 AM (2 years ago)
Author:
tagmood
Message:

1.2.3

Location:
eadv-vip
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • eadv-vip/tags/1.2.3/eadv-vip.php

    r2976959 r2977329  
    44Plugin URI: https://www.eadv.it
    55Description: Plugin riservato ai publishers VIP di eADV
    6 Version: 1.2.2
     6Version: 1.2.3
    77Author: TAGMOOD S.R.L.
    88Author URI: https://www.tagmood.it
     
    228228 * Nel caso specifico eadv-in-content=3, dove 3 indica la frequenza con cui inserire il placeholder all'interno del contenuto
    229229 */
    230 function eadv_insert_shortcode_every_n_paragraphs($content) {
    231     if(function_exists('is_amp_endpoint') && is_amp_endpoint()) {
     230function eadv_insert_shortcode_every_n_paragraphs($content)
     231{
     232    if(!is_singular() || (function_exists('is_amp_endpoint') && is_amp_endpoint())) {
    232233        return $content;
    233234    }
     
    249250
    250251                        // 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)) {
    252253                            $placeholder_count++;
    253254                            $paragraph .= '[eadv-in-content'.($placeholder_count > 1 ? ' n='.$placeholder_count : '').']';
  • eadv-vip/tags/1.2.3/readme.txt

    r2976959 r2977329  
    44Requires at least: 5.1
    55Tested up to: 6.3
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.3
    77License: GPLv2 or later
    88Plugin 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  
    44Plugin URI: https://www.eadv.it
    55Description: Plugin riservato ai publishers VIP di eADV
    6 Version: 1.2.2
     6Version: 1.2.3
    77Author: TAGMOOD S.R.L.
    88Author URI: https://www.tagmood.it
     
    228228 * Nel caso specifico eadv-in-content=3, dove 3 indica la frequenza con cui inserire il placeholder all'interno del contenuto
    229229 */
    230 function eadv_insert_shortcode_every_n_paragraphs($content) {
    231     if(function_exists('is_amp_endpoint') && is_amp_endpoint()) {
     230function eadv_insert_shortcode_every_n_paragraphs($content)
     231{
     232    if(!is_singular() || (function_exists('is_amp_endpoint') && is_amp_endpoint())) {
    232233        return $content;
    233234    }
     
    249250
    250251                        // 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)) {
    252253                            $placeholder_count++;
    253254                            $paragraph .= '[eadv-in-content'.($placeholder_count > 1 ? ' n='.$placeholder_count : '').']';
  • eadv-vip/trunk/readme.txt

    r2976959 r2977329  
    44Requires at least: 5.1
    55Tested up to: 6.3
    6 Stable tag: 1.2.2
     6Stable tag: 1.2.3
    77License: GPLv2 or later
    88Plugin 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.