- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
All my AMP posts with comments are returning an error for invalid structured data. Looking into it using the Google Structured Data Testing Tool, it has an issue with this part of each comment:
<time itemprop=”datePublished” datetime=”1577666657″>December 29, 2019 at 6:44 pm</time>
The error says:
datePublished 1577666657 (Cannot understand the value 1577666657 as a date/time. Learn more about date/time formats.)
Digging more, it seems that the “1577666657” is a UNIX timestamp, which AMP doesn’t seem to like. In the “comments.php” section of the Theme Editor, I see a couple of references to this timestamp:
Line 129: $td_article_date_unix = @strtotime(“{$comment->comment_date_gmt} GMT”);
Line 138: <time pubdate=”<?php echo esc_attr( $td_article_date_unix ) ?>”><?php comment_date() ?> at <?php comment_time() ?></time>
Is there a way to adjust this (or other code) to fix the warning in the structured data?
Hey, one of my devs had gone in with me unaware and temporarily put a fix in on that example page I sent. See this new link: https://williamsonsource.com/news/
tagDiv Cloud Library is not enabled.
Hi,
Please use the amp plugin with mobile theme plugin, using this option -> https://i.imgur.com/awBYe7Z.png then the problems should be solved!
Thank you!
Hi,
Please provide me a link where I can inspect this problem.
Logo & Favicon in Newspaper Theme -> https://forum.tagdiv.com/logo-favicon/
Thank you!
Hi,
Using the mobile theme plugin, you’ll gain a better speed then responsive version of theme, but in order to achieve that speed you’ll need to create a new content for pages because in the most of cases those were made with builders ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor and this content will be display on mobile theme)
-> https://i.imgur.com/9d0UWLT.png
Also you can show the responsive version on mobile theme -> https://i.imgur.com/m0bVB5T.png you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/ or if you want to have the responsive version only, you can use the amp option from mobile theme -> https://i.imgur.com/oofST3D.png (to use the mobile theme template on amp) or you can disable the plugin.
Thank you!
https://snipboard.io/IzWOti.jpg
As you can see, there are pages like example.com/page2/ example.com/page10/
I don’t want this. Please Help.
Hi,
Yes, that is only a suggestion, that is not an error, is like this message that you set on amp plugin -> https://i.imgur.com/238YoIJ.png
Thank you!
Hi,
Using the mobile theme plugin, you’ll gain a better speed then responsive version of theme, but in order to achieve that speed you’ll need to create a new content for pages because in the most of cases those were made with builders ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor and this content will be display on mobile theme)
-> https://i.imgur.com/9d0UWLT.png
Also you can show the responsive version on mobile theme -> https://i.imgur.com/m0bVB5T.png you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/ or if you want to have the responsive version only, you can use the amp option from mobile theme -> https://i.imgur.com/oofST3D.png (to use the mobile theme template on amp) or you can disable the plugin.
Thank you!
I’ve fixed the AMP version, I had to edit in “MOBILE THEME” version and ADD the code in custom code.
Just please, help me out with this one…
There are too much space in my footer…

How can I reduce the space? I would love to have something like this:

Thank you.
Hello, im sorry, its me again lol
I didnt notice it until right now, it didnt work for AMP version.

This is how it looks like in AMP version.

Thank you again.
Hi Team,
Since the time we have enabled the AMP we are getting AMP issue in search console can you helo why we are observing this!?
For 1 of this url it says failed
https://www.techweu.com/microsoft-surface-earbuds-will-launch-in-europe-on-may-6-priced-at-199/amp/
https://www.techweu.com/microsoft-surface-earbuds-will-launch-in-europe-on-may-6-priced-at-199/amp/
But you can see for yourself that JavaScript is causing the problem in the website to open.
Isn’t it possible to not allow JavaScript ?
Fatal error: Uncaught Error: Call to undefined function curl_init() in H:\root\home\codesquare-001\www\upstreamplus\wp-content\plugins\td-composer\legacy\common\wp_booster\td_covid19.php:72 Stack trace: #0 H:\root\home\codesquare-001\www\upstreamplus\wp-content\plugins\td-composer\legacy\common\wp_booster\td_covid19.php(32): td_covid19::get_data_from_novel() #1 H:\root\home\codesquare-001\www\upstreamplus\wp-content\plugins\td-composer\legacy\Newspaper\includes\shortcodes\td_block_covid_19_counter.php(207): td_covid19::get_data() #2 H:\root\home\codesquare-001\www\upstreamplus\wp-content\plugins\td-composer\legacy\common\wp_booster\td_global_blocks.php(27): td_block_covid_19_counter->render(Array, ”) #3 H:\root\home\codesquare-001\www\upstreamplus\wp-includes\shortcodes.php(343): td_global_blocks::proxy_function(Array, ”, ‘td_block_covid_…’) #4 [internal function]: do_shortcode_tag(Array) #5 H:\root\home\codesquare-001\www\upstreamplus\wp-includes\shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(td_blo…’, ‘do_ in H:\root\home\codesquare-001\www\upstreamplus\wp-content\plugins\td-composer\legacy\common\wp_booster\td_covid19.php on line 72
The only workaround is to use default WP editor and copy all page content into Mobile Editor in the bottom of the editor.
That’s not good solution. I don’t need different content for desktop & mobile content.
It stopped working without any previous change to the settings or the content.
see: https://www.hlidacstatu.cz/texty/licence/
and
https://www.hlidacstatu.cz/texty/licence/?amp=1
You cannot find any content text from desktop version inside html of Mobile/AMP version
I tried to edit content of the page, disable and enable mobile theme and AMP again, stop WP-Cache plugin. No success.
Have tried deactivating all plugins, same issue. This main page is created by TD Composer with Woocommerce elements. Using the default woocommerce main page is fine, but using TD Composer will make the products sticking to the edge.
P.S. Mobile & Tablet View only, desktop view is fine
For example: https://shop.seablue.hk/?product_cat=ohmygud2 (This default layout is fine)
but https://shop.seablue.hk/ (Used TD Composer to create this page, products enlarged and moved to sticking to the edge)
Also, please assist on Q2 & Q3 too, thank you!
Hi Vlad,
Thank you, I have managed to be able to edit the header now.
Please kindly answer the remaining questions. I have paste them all here for your reference.
3. A) So if I have the mobile theme installed then the top menu and footer is black by default no matter which demo theme I install?
3. B) If I have the mobile theme installed then my website will run much faster compared to not having it installed?
3. C) To clarify my understanding, if I have the mobile theme installed then I cannot do much editing or customization to the mobile design?
4. To clarify, you would recommend that I should only do edits and customization through the tagDiv Composer, and not do them through the Theme panel?
5. A) In Appearance > Menus, How do I change the name of the menu buttons? For example, if I want to change “Tech” to “Money”. Is there a way to change it without touching the code? https://imgur.com/lQIW7ut
5. B) How do I change the menu icons in the Menu section? And where can I find other icons that are available to choose from? I cannot find the option to do this in the TD Composer when I click on them https://imgur.com/Gbmg7mv
7. Instead of providing links to images, how can I embed images on these forum threads like how you did for answer 3 above?
9. I noticed the the button circled in red only appears when the Mobile Theme is activated but not when it is deactivated https://imgur.com/NfdCJw1. Is there a way I can include this on my site when the Mobile Theme is deactivated?
Thank you!
Hi
When I first go onto my homepage https://onemoretrack.net , the page doesn’t load using newspaper’s optimised mobile theme, though my content does work. To temporally fix it I edit the page by turning amp on/off and then it works again in mobile theme, but after a certain while it reverts back.
Ive tried clearing the cache, changing the amp and leaving it both ways, changing the mobile theme settings for apm. Same problem still persists.
Any ideas?
Thanks
Thanks, here is an example:
https://usalg.wpengine.com/how-alg-helped-a-ugandan-immigrant-family-during-the-covid-crisis/
Hi,
Please make sure that you are using amp plugin with mobile theme plugin, after that you’ll need to index your amp versions on google.
For adding your amp to your Google Analytics, please check these articles:
-> https://documentation.unbounce.com/hc/en-us/articles/360020692572-Adding-Google-Analytics-to-Your-AMP-Page-
-> https://developers.google.com/analytics/devguides/collection/amp-analytics
Thank you!
Hi,
Sorry, the anchor link are not supported yet in our amp version, I thing this will be add in coming versions, but I not 100% sure.
Thank you for your understanding!
Thanks for hint!
Right now, I’m workin with help of Classic Editor.
So, I’ve created CSS code for text quote – screen – https://www.screencast.com/t/L4WtCETE
But CSS template editor told me warning – is it ok ?
see screenshot – https://www.screencast.com/t/XNNRhVD3f4t
page example – http://wp.webdoroga.com/ru/how_to_start/
Thanks in advance for your support, Calin!
Hi,
Using mobile theme with amp the rel=”amphtml” is set in post and pages -> https://i.imgur.com/7WzbUqs.png
This can be a plugin conflict or something that is interfering and the plugins is not working normal. Please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Let me know the results!
Thank you
Hello !
This comes from the AMP plugin not from Newspaper Theme. We recommend you not to remove such files since it may break your plugin.
Thank you !
Yeah that is happening because of conflict with other plugin but in mobile theme page title show only
And the other content disappear in mobile Amp
Please tell how to solve