Natalya
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Google Adsense and Banner Ads Manager - AdsforWP] ReferenceErrorHello! Have a nice day! The reason is that the connection of all scripts, including jquery.js, has been transferred to the footer. A plugin script is connected before jquery.
function remove_head_scripts() { remove_action('wp_head', 'wp_print_scripts'); remove_action('wp_head', 'wp_print_head_scripts', 9); remove_action('wp_head', 'wp_enqueue_scripts', 1); add_action('wp_footer', 'wp_print_scripts', 5); add_action('wp_footer', 'wp_enqueue_scripts', 5); add_action('wp_footer', 'wp_print_head_scripts', 5); } add_action( 'wp_enqueue_scripts', 'remove_head_scripts' );
Hello!
Block alignment does not work on a site version without AMP. See the screenshot, “text-aligne” property is empty.As you know, Google has adaptive (responsive) banners in which there are no fixed sizes. But when adding blocks through the plugin, you must specify a size that is not provided for in the code of responsive Adsense banners. The responsive Google AMP banner also has parameters width = “100vw” and data-auto-format = “rspv”, which are not in the plugin settings. Because of this, the banner does not become responsive and Google says that it is necessary to optimize the ad by making it responsive, i.e. without fixed sizes. Adsense code example.
There are no sizes in this code of a responsive banner for a site without AMP. But in the plugin I must specify it.
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-#" data-ad-slot="#" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
For example, for AMP, in the plugin settings there is no 320 height and 100vw width, respectively, I can not add this banner. Even if I check the box “responsive”, I still can not choose the height.
<amp-ad width="100vw" height=320 type="adsense" data-ad-client="ca-pub-#" data-ad-slot="#" data-auto-format="rspv" data-full-width> <div overflow></div> </amp-ad>
Screenshot text-align and responsive ads
- This reply was modified 5 years, 6 months ago by Natalya.
Forum: Plugins
In reply to: [Easy Google Adsense and Banner Ads Manager - AdsforWP] ReferenceErrorHello again! I understood why the error, because all the scripts in the subject are connected in the footer. Is there any way to transfer this script to the footer as well? Thank!
Forum: Plugins
In reply to: [RSS for Yandex Turbo] Пропали видео и нет галереиДополню, что плагин последней версии. Видео было вставлено через блок Гутенберг embed-youtube. Прежде видео были в ленте.
Forum: Plugins
In reply to: [Yoast SEO] Issue after recent updateds1970 Use plugin WP Rollback.
Forum: Plugins
In reply to: [Yoast SEO] Issue after recent updateHello! Same error after update.
Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] Script appeared on the AMP pagesAfter updating the problem is fixed. Thank you very much!
Thanks for the update! You are just incredible. Work with cosmic speed.)
Hello! Thank you very much for your answer! It turns out that the problem is only one letter. @type “article” written in small letters. That sounds ridiculous, but Yandex needs the capital letter A (@type “Article”). Could you change the letter in the next update? And yet, if for a single entry, BlogPosting is a markup type, is it possible to make it so that we can choose the same type for a page with categories, instead of Article type?
Hello schnolly! Unfortunately, the problem is not solved. If you find a solution, please let me know here.
Forum: Plugins
In reply to: [RSS for Yandex Turbo] Предупреждения из за плагина Easy Table of ContentsДа, возможно! В любом случае, спасибо за помощь и отзывчивость.
Forum: Plugins
In reply to: [RSS for Yandex Turbo] Предупреждения из за плагина Easy Table of ContentsForum: Plugins
In reply to: [RSS for Yandex Turbo] Предупреждения из за плагина Easy Table of ContentsТеперь уведомлений об ошибке стало 6 вместо 10 и выглядит она таким образом : Фрагмент, на который ссылается ссылка, на странице отсутствует или указан у неподдерживаемого элемента (6 предупреждений)
Forum: Plugins
In reply to: [RSS for Yandex Turbo] Предупреждения из за плагина Easy Table of ContentsСпасибо! Удалила шорткод, отправила на перепроверку источника.
Hello! Sorry for not immediately responding. The problem was in the caching plugin.