Hi!
I generally make a new child theme only from the style.css and functions.php files. I take files from your documentation from the downloaded archive. As soon as I activate the child theme, the AMP item in the WP panel disappears. I remove the child theme – it appears.
In addition, a simple shortcode to replace text that works in version 9.6.1 in functions.php refuses to work in version 9.7.1. And does not work in the AMP version of the page.
In version 9.7.1, the changes (added js codes) in the child theme in the loop-single.php file do not work either. You did not move it to the tagdiv composer plugin.
Does the child theme work at all?
-
This reply was modified 7 years by
kumushka.
Эта ситуация возникает в 9.7 и 9.7.1 когда активируешь дочернюю тему.
Жду когда починят.
——————-
This situation arises in versions 9.7 and 9.7.1 when you activate a child theme.
I’m waiting for when they fix it.
В версии 9.7.1 проблема не исчезла.
Кроме того, как только активируешь дочернюю тему, в боковой панели WP пропадает пункт меню AMP. Переходишь на основную тему – появляется. Сделал “пустую” дочернюю тему из файлов взятых из Newspaper-tf.
-
This reply was modified 7 years by
kumushka.
Очень жаль, что разработчики навязывают пользователям использовать мобильный плагин для прекрасной адаптивной темы, только исключительно ради AMP. Ведь все было прекрасно без мобильного плагина. Он ведь не всем нужен. А вот AMP нужен
——–
It is a pity that the developers impose on users to use the mobile plugin for an excellent adaptive theme, only for the sake of AMP. After all, everything was fine without a mobile plug-in. After all, not everyone needs him. But AMP is needed
-
This reply was modified 7 years by
kumushka.
Forgot to add that shortcode is done by a child theme.
I support. I do not like the mobile theme.
Такая же проблема. После обновления на 9.2 перестали отображаться картинки при просмотре новостей в сайдбаре и MORE ARTICLES
img class=”entry-thumb td-animation-stack-type0-1″ src=”data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAACWAQMAAACCSQSPAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAABpJREFUWMPtwQENAAAAwiD7p7bHBwwAAAAg7RD+AAGXD7BoAAAAAElFTkSuQmCC” alt=”Утка фаршированная” title=”Утка фаршированная” data-type=”image_tag” data-img-url=”https://i2.wp.com/kumushka.com/wp-content/uploads/2009/05/utka.jpg?resize=218%2C150&ssl=1″ width=”218″ height=”150″
А остальные страницы стали тормозить при загрузке картинок.
-
This reply was modified 7 years by
kumushka.