Title: pirro70's Replies | WordPress.org

---

# pirro70

  [  ](https://wordpress.org/support/users/pirro70/)

 *   [Profile](https://wordpress.org/support/users/pirro70/)
 *   [Topics Started](https://wordpress.org/support/users/pirro70/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pirro70/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pirro70/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pirro70/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pirro70/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pirro70/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/pirro70/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pirro70/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simply Static - The Static Site Generator] sitemap yoast](https://wordpress.org/support/topic/sitemap-yoast/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-yoast/#post-7263852)
 * Hi
    I tried version 1.3.5 but it doesn’t work. It seem there are some problems
   in writing in the temporany folder. hope I was helpful with this info. However,
   the previous version (1.2.4) works great ciao
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simply Static - The Static Site Generator] sitemap yoast](https://wordpress.org/support/topic/sitemap-yoast/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sitemap-yoast/#post-7263710)
 * ok thank you
    apart the problem above I’d like to inform you that I have just
   installed the last version but the new ajax feature do not work: pages’ site 
   are not created and it gives me a blank folder. For now I will return to the 
   previous version regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] problemi con sitemap](https://wordpress.org/support/topic/problemi-con-sitemap/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-sitemap/#post-7050242)
 * Ciao Diego
    per risolvere il problema sitemap ho dovuto modificare la function`
   isIgnoredURL` nel file `eucookielaw-header.php` nella parte finale sostituendo
   il `return false` con:
 *     ```
       $filename = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
       			$ext = pathinfo($filename, PATHINFO_EXTENSION);
       			if($ext == 'xml' || $ext == 'txt') {return true;}
       			else
       			{return false;}
       ```
   
 * ho aggiunto anche l’estensione txt perche su alcuni siti (non tutti) mi appariva
   il banner invalidandomi il file robots.txt.
    La cosa che non capisco è che sui
   siti senza cache quella funzione invece funziona 🙂 spero di esserti stato in
   qualche modo utile
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] problemi con sitemap](https://wordpress.org/support/topic/problemi-con-sitemap/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-sitemap/#post-7050063)
 * Ciao Diego grazie per la rapida risposta
    allora, per i siti dove non ho w3totalcache
   il tuo suggerimento funziona mentre su gli altri non funziona ho provato questo
   [yoast](http://kb.yoast.com/article/35-why-is-google-saying-my-xml-video-sitemap-is-an-html-file)
   ma niente, ho provato a mettere googlebot nel “Rejected user agents” di w3total
   per non fare cachare la pagina ma niente. Ovviamente se disattivo W3 la sitemap
   torna funzionante. Continuerò a vedere se trovo una soluzione, se hai un idea
   di quale possa essere il problema…
 * Grazie mille davvero
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] Problemi con slider](https://wordpress.org/support/topic/problemi-con-slider/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-slider/#post-6998705)
 * ciao Diego, purtroppo non funziona, comunque per ora utilizzerò il metodo che
   avevo trovato, poi indagherò più a fondo o oventualmente implementerò i social
   senza l’utilizzo di plugins.
    Grazie mille per il tempo dedicato ciao
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] Problemi con slider](https://wordpress.org/support/topic/problemi-con-slider/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-slider/#post-6998703)
 * Prova questa [pagina](http://www.obiettivotre-webagency.it/bto2014-obiettivotre-alla-due-giorni-del-travel-line/)
   o una qualsisi pagina con i social, cancellado tutti i cookie se ricarico la 
   pagina vengono installati i cookie di google, infatti si vede apparire il pulsante
   google+.
    Usando l’hook di cui sopra invece non mi installa niente e non mi carica
   il pulsante google+ ciao e scusa il disturbo
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] Problemi con slider](https://wordpress.org/support/topic/problemi-con-slider/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-slider/#post-6998698)
 * eccolo, ho tolto lo hook del quale ti avevo parlato:
    [link](http://www.obiettivotre-webagency.it/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] Problemi con slider](https://wordpress.org/support/topic/problemi-con-slider/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-slider/#post-6998695)
 * Si Diego, quando faccio le prove cancello sempre tutti i cookie prima
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] Problemi con slider](https://wordpress.org/support/topic/problemi-con-slider/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-slider/#post-6998691)
 * Ciao Diego
    é già impostato nel modo da te indicato ma non funziona. In realtà
   eucookielaw sembra intercettare lo script:
 *     ```
       <script type="text/javascript" data-cookielaw-index="4">
       			var EUCookieLawHTMLFragments = EUCookieLawHTMLFragments || [];
       			EUCookieLawHTMLFragments[4] = "<script type=\"text\/javascript\">\r\n  window.___gcfg = {lang: 'it'};\r\n\r\n  (function() {\r\n    var po = document.createElement('script'); po.type = 'text\/javascript'; po.async = true;\r\n    po.src = 'https:\/\/apis.google.com\/js\/plusone.js';\r\n    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);\r\n  })();\r\n<\/script>"</script>
       ```
   
 * Non riesco a capire da dove riesce a passare!!!
    grazie
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EUCookieLaw] Problemi con slider](https://wordpress.org/support/topic/problemi-con-slider/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/problemi-con-slider/#post-6998687)
 * Ciao Diego grazie per la pronta risposta
    il problema dello slider è stato risolto
   con la solzione da te riportata. per quanto riguarda socalize è che questo carica
   le api di google tramite questo file javascript
 *     ```
       (function() {
       	var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
           po.src = 'https://apis.google.com/js/platform.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
       })();
       ```
   
 *  e forse è per questo che eucookielaw non riesce a “inteccettarlo “.
    Comunque
   per ora sono riuscito a risorverlo con un hook
 *     ```
       add_action('wp_footer','no_plusone');
       function no_plusone() {
       include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
       if ( is_plugin_active('socialize/socialize.php')  && (!isset( $_COOKIE['__eucookielaw'] ) || $_COOKIE['__eucookielaw'] == 'rejected'))
       wp_deregister_script('plus-one-button');
       }
       ```
   
 * .
    Qui ho potuto farlo perchè in questo sito non uso plugin di cache, ma in un
   altro sito dove uso cache, mi da dei problemi, quindi se se hai una soluzione
   migliore sarebbe gradita :). Grazie ancora per questo plugin e per la disponibilità
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Views Count (Support caching plugins!)] Counting Twice since update](https://wordpress.org/support/topic/counting-twice-since-update/)
 *  [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/counting-twice-since-update/#post-6623272)
 * hi
    I believe the issue is at line 485 `(die(bawpvc_format( $count ));`. I know
   that the wordpress ajax callback must terminate `with die()`for return a proper
   response as written in [https://codex.wordpress.org/AJAX_in_Plugins](https://codex.wordpress.org/AJAX_in_Plugins).
   Indeed if I do so I have no counting twice.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PhotoSwipe] How to make this work for older posts?](https://wordpress.org/support/topic/how-to-make-this-work-for-older-posts/)
 *  [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-to-make-this-work-for-older-posts/#post-5939105)
 * Hi [@codegrau](https://wordpress.org/support/users/codegrau/)
    you can use bulk
   Action for update all post You can go to post page and in “screen option” select
   the quantity of posts you want to view (max=999), then select all by the first
   checkbox near the title -> “edit” -> apply -> update. Hope I was clear
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PhotoSwipe] No added data-size in wp multisite](https://wordpress.org/support/topic/no-added-data-size-in-wp-multisite/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-added-data-size-in-wp-multisite/#post-5892802)
 * hi Louy Alakkad
    it doesn’t work but I found the problem. wordpress multisite
   use the “unfiltered_html” only for superadmin. For solving the issue I installed“
   Remove Kses” plugin and it work fine. You could implement this stuff in your 
   plugin in order to avoid the installation of Remove Kses plugin. Another thing,
   you should enqueue jquery in
 *     ```
       if( is_singular() ) {
       		wp_enqueue_script(
       			'photoswipe-lib',
       			plugin_dir_url( __FILE__ ) . 'lib/photoswipe.min.js',
       			array('jquery'),
       			PHOTOSWIPE_VERSION
       		);
       ```
   
 * because in some installation jquery load after photoswipe and it doesn’t work,
   so I have to load jquery from functions.php for ensure it load before photoswipe.
 * Thanks for the plugin and excuse me for my english
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Customizr] menu on top](https://wordpress.org/support/topic/menu-on-top-1/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/menu-on-top-1/#post-5710354)
 * thanks d4z great!!! I also thought it was a problem of execution time.
    you have
   only made a small mistake in block A, you have included the priority argument
   in the array. The right is:
 *     ```
       remove_action('__header', array(TC_header_main::$instance, 'tc_navbar_display'), 30 );
       add_action('__header', array(TC_header_main::$instance, 'tc_navbar_display'), 1 );
       ```
   
 * thanks a lot
    sei un mito
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Customizr] menu problem on Android](https://wordpress.org/support/topic/menu-problem-on-android/)
 *  Thread Starter [pirro70](https://wordpress.org/support/users/pirro70/)
 * (@pirro70)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/menu-problem-on-android/#post-5504361)
 * Thanks for the answer, I realized that there is an error in the script above,
   remove / * * for the menu on android / from the script and try again

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/pirro70/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pirro70/replies/page/2/?output_format=md)