pirro70
Forum Replies Created
-
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] sitemap yoastHi
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
ciaoForum: Plugins
In reply to: [Simply Static - The Static Site Generator] sitemap yoastok 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
regardsForum: Plugins
In reply to: [EUCookieLaw] problemi con sitemapCiao Diego
per risolvere il problema sitemap ho dovuto modificare la functionisIgnoredURLnel fileeucookielaw-header.phpnella parte finale sostituendo ilreturn falsecon:$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 utileForum: Plugins
In reply to: [EUCookieLaw] problemi con sitemapCiao 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 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
In reply to: [EUCookieLaw] Problemi con sliderciao 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
ciaoForum: Plugins
In reply to: [EUCookieLaw] Problemi con sliderProva questa pagina 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 disturboForum: Plugins
In reply to: [EUCookieLaw] Problemi con slidereccolo, ho tolto lo hook del quale ti avevo parlato:
linkForum: Plugins
In reply to: [EUCookieLaw] Problemi con sliderSi Diego, quando faccio le prove cancello sempre tutti i cookie prima
Forum: Plugins
In reply to: [EUCookieLaw] Problemi con sliderCiao 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!!!
grazieForum: Plugins
In reply to: [EUCookieLaw] Problemi con sliderCiao 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 hookadd_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
In reply to: [Post Views Count (Support caching plugins!)] Counting Twice since updatehi
I believe the issue is at line 485(die(bawpvc_format( $count ));.
I know that the wordpress ajax callback must terminatewith die()for return a proper response as written in https://codex.wordpress.org/AJAX_in_Plugins.
Indeed if I do so I have no counting twice.Forum: Plugins
In reply to: [PhotoSwipe] How to make this work for older posts?Hi @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 clearForum: Plugins
In reply to: [PhotoSwipe] No added data-size in wp multisitehi 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 inif( 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
In reply to: [Customizr] menu on topthanks 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 mitoForum: Themes and Templates
In reply to: [Customizr] menu problem on AndroidThanks 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