hero12
Forum Replies Created
-
Forum: Plugins
In reply to: [Max Mega Menu] Categories showing on one column only…ops no.. it appears for any font size, it’s not related to that…
why that “nav_menu-2” is there?
thanks
Forum: Plugins
In reply to: [Max Mega Menu] Categories showing on one column only…ok, thanks…done…
but you could do this even easier with an option for this specific widgetand also, if on the second level menu I choose font size 12px
this appears..
<a class="mega-menu-link">nav_menu-2</a>that’s un unwanted element… do you know why?
best regards
Forum: Plugins
In reply to: [Max Mega Menu] Categories showing on one column only…now is something like
<ul class="mega-sub-menu" style="display: none;"> <li class="mega-menu-item mega-menu-item-type-widget widget_categories mega-menu-columns-4-of-8 mega-menu-item-categories-5" id="mega-menu-item-categories-5"><h4 class="mega-block-title">Categorie</h4> <ul> <li class="cat-item cat-item-127160"><a href="http://myweb.com/blog/category/catone/">CAT_ONE</a> </li> <li class="cat-item cat-item-120953"><a href="http://myweb.com/blog/category/cattwo/">CAT_TWO</a> </li> <li class="cat-item cat-item-70529"><a href="http://myweb.com/blog/category/catthree/">CAT_THREE</a> </li> </ul> </li></ul>why does it display as one column only?
ok, at the moment…this is needed
Forum: Plugins
In reply to: [EU Cookie Law for GDPR/CCPA] Eu cookie law W3 Total Cacheciao, oltre alla compatibilità con Page Cache…a mio avviso si dovrebbe evitare di ricaricare la pagina per eliminare il popup cliccando su Accetto. Non credo che sia ideale in questo modo… quindi compatibilità con plugin di cache e anche disattivazione del messaggio senza dover ricaricare la pagina.
Grazie e buon lavoroForum: Fixing WordPress
In reply to: How to disable plugins from wp-blog-header.php integrationfor now I had to disable “don’t show” the ad from “Multiple Posts” but it’s not the solution ’cause in this way I’m forced to not show the ad on WP homepage…
if you can help really appreciated, thanks
Forum: Fixing WordPress
In reply to: How to disable plugins from wp-blog-header.php integrationnothing to do.. it always displays the ads if I activate the plugin again…
sorry, but this function is not well implemented…
is there an easy method to fix it?thanks
Forum: Fixing WordPress
In reply to: How to disable plugins from wp-blog-header.php integrationOK, sorry 😉
... <?php endforeach; activate_plugin($plugins); ?>Forum: Fixing WordPress
In reply to: How to disable plugins from wp-blog-header.php integrationNO 🙂
there’s an issue with this method…it also disables the plugin from the WordPress site.
HOW TO FIX? thanks
Forum: Fixing WordPress
In reply to: How to disable plugins from wp-blog-header.php integration🙂 ok, solved…
once loaded wp-blog-header.phpyou can do something like…
$plugins = '/home/myfolder/www/blog/wp-content/plugins/adsense-in-posts/adsenseinposts.php'; deactivate_plugins($plugins);now it works as expected
Forum: Plugins
In reply to: [NextGEN Facebook] Facebook, inserted on head image of just 36px height…ok, solved (for now, until you find a better method eg. using getimagesize(), as already stated…)
on media.php
replace( $attr_name == 'src' && $size_info['crop'] !== 1 && ( $is_sufficient_width || $is_sufficient_height ) )with
( $attr_name == 'src' && $size_info['crop'] !== 1 && $is_sufficient_width && $is_sufficient_height )Forum: Plugins
In reply to: [NextGEN Facebook] Facebook, inserted on head image of just 36px height…tried any kind of trick… deselected crop and
$is_sufficient_width = $img_width >= 200 ? true : false; $is_sufficient_height = $img_height >= 200 ? true : false; ... $is_sufficient_width = $og_image['og:image:width'] >= 200 ? true : false; $is_sufficient_height = $og_image['og:image:height'] >= 200 ? true : false;cleared all cache, but it always takes that bad image…
Forum: Plugins
In reply to: [NextGEN Facebook] Facebook, inserted on head image of just 36px height…Forum: Plugins
In reply to: [NextGEN Facebook] og:image problemthis is a temporary workaround on lib/media.php
// try and get the width and height from the image attributes if ( ! empty( $og_image['og:image'] ) ) { //if ( preg_match( '/ width=[\'"]?([0-9]+)[\'"]?/i', $tag_value, $match) ) $size = getimagesize("$attr_value"); $og_image['og:image:width'] = $size[0]; //if ( preg_match( '/ height=[\'"]?([0-9]+)[\'"]?/i', $tag_value, $match) ) $og_image['og:image:height'] = $size[1]; }Forum: Plugins
In reply to: [NextGEN Facebook] og:image problemso, you could even do for first
// try and get the width and height from the image attributesif you don’t want to delete that code part…
but then, if not image found by that tags method, you also do the getimagesize() part…(or both functions, why not?) so you’re sure to include images, if found.