- ApiPractical example – How to add a new Block and Module
- ApiAPI – Smart Lists – Introduction
- ApiAPI – Category top section style – Introduction
- ApiAPI – Category top section template – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
Hi,
For this error https://prnt.sc/mupdgl here is the fix.
You’ll need to go in wp-content/plugins/td-mobile-plugin/td-mobile-plugin.php
and at the bottom of file set this code
$theme_options = get_option( ‘td_011’ );
https://prnt.sc/mv165e
https://www.screencast.com/t/NclX3sIf
Relented topic -> https://forum.tagdiv.com/topic/errors-after-update-2/
Thank you!
Hi,
If you are using Newspaper 9.5 or 9.6 and the responsive version of theme, not mobile theme, then this is possible using the header builder.
Check out the New Header Main Menu with Newspaper Theme -> https://tagdiv.com/header-main-menu-newspaper-theme/
Get Slick Designs with the new Mobile Header Feature -> https://tagdiv.com/mobile-header-newspaper-theme/
Thank you!
Hello Bogdan,
with SHOW ON AMP turn on on mobile plugin url/amp/ are redirected to normal url.
I understand it’s correct according to what you said…
But Making test https://search.google.com/test/amp
Putting articles url/amp/ it show
Invalid AMP page
Invalid AMP pages will not have the specific functions of the AMP pages in the Google search results.
Solve the following problem
Validation issues
1 instance Line 20:2421
The tag “noscript enclosure for boilerplate” appears more than once in the document.
<noscript><style amp-boilerplate>body{-webkit-animation:n
——————————————–
1 instance Line 20:1702
The main tag related to the “style amp-custom” tag is “noscript”, however it can only be “head”.
<style type=”text/css”>.wpb_animate_when_almost_visible {
Please solve… thanks..
Hi,
The initial AMP plugin we released was designed based on the first version of the official AMP plugin for WordPress. Even though it was a tagDiv plugin, it still required the API of the official plugin. The changes came from the official plugin as they limited the theme support in the version we used and instead of updating it, they launched a new version with another, better implementation. They also announced the initial release will shortly become deprecated. This is why we decided to abandon our initial AMP plugin and use the new AMP implementation through the mobile theme. The new version required a specific theme for it as it would not have worked through the standard theme. There was no decision to take, unfortunately. If we have not made this step, soon the AMP plugin would have stopped working once the official AMP plugin implementation we used became deprecated.
If you chose to use the mobile theme with amp, all you need to do is to make sure that you make the settings like in our guide.
Mobile Theme: Automatic Optimization for Mobile with Newspaper Theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
How to Make an AMP ready Website with Newspaper Theme -> https://tagdiv.com/amp-newspaper-theme/
Please make sure that you activate the amp from mobile theme -> https://www.screencast.com/t/6m5bxthx8ec and you check the box from general Amp -> https://www.screencast.com/t/WEyXhNzY
In order to have the 3 posts you’ll need to make sure that you have some post in feature category -> https://forum.tagdiv.com/featured-posts-2/
-> https://www.screencast.com/t/44kBTEzkJNy
-> https://www.screencast.com/t/dpVV27TTe
-> https://www.screencast.com/t/27QB6dv0VGs
Also is not need to use the mobile theme with amp, you can sample use others amp plugins and use the responsive version of theme.
If you want to go back to v9.5 you can get it from here
Thank you
The footer logo code working.
1. But the mobile theme not working properly in homepage. When I directly go to link, it’s showing fine.
But when I search for the site name from google and then head over to the link from the search result, it’s opening the homepage in normal mode. (I’m not using the AMP)
2. How can I get the font style in mobile theme and link underlines same as actual settings?
Hi,
If you chose to use the mobile theme with amp, all you need to do is to make sure that you make the settings like in our guide.
Mobile Theme: Automatic Optimization for Mobile with Newspaper Theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
How to Make an AMP ready Website with Newspaper Theme -> https://tagdiv.com/amp-newspaper-theme/
Please make sure that you activate the amp from mobile theme -> https://www.screencast.com/t/6m5bxthx8ec and you check the box from general Amp -> https://www.screencast.com/t/WEyXhNzY
In order to have the 3 posts you’ll need to make sure that you have some post in feature category -> https://forum.tagdiv.com/featured-posts-2/
-> https://www.screencast.com/t/44kBTEzkJNy
-> https://www.screencast.com/t/dpVV27TTe
-> https://www.screencast.com/t/27QB6dv0VGs
Also is not need to use the mobile theme with amp, you can sample use others amp plugins and use the responsive version of theme.
Thank you!
Hi,
That top grid will show featured posts, if there are no posts in the featured category created by the theme when it is installed, then the grid will not appear
– https://forum.tagdiv.com/featured-posts-2/
More information about how the mobile theme works here – https://forum.tagdiv.com/the-mobile-theme/
Let us know if you have more questions.
Thanks
Hello,
If you try to ad it on pages, please add it in the mobile editor in the page edit back-end. On posts you can add it to the post content directly in text mode. The custom html section doe snot render shortcodes.
Please read this guide: https://tagdiv.com/amp-newspaper-theme/
Thank you!
Hi,
Please post a link to your website so we can test the AMP. Leave the AMP and mobile theme plugins activated, as well as the required option in the theme panel.
Thanks
Hi there, i recently activated the mobile theme to improve my site speed and it looks that everything works fine but when i try to navigate through the menu and select one of the sections not even one post is shown. I created the whole website pages using your tagdiv composer but as i said before i cannot see any of the post when navigating on the mobile theme. Probably I am doing something wrong but i cannot find it ¿any idea?
Hello,
Please read this guide: https://tagdiv.com/amp-newspaper-theme/
You cna no longer test the amp page on desktop addin /amp or ?amp
You have to use the amp validator.
Without the mobile theme, there will be no specific theme style for amp. AMP now works through the mobile theme in order to have the theme style and all of the mobile theme options in amp.
The initial AMP plugin we released was designed based on the first version of the official AMP plugin for WordPress. Even though it was a tagDiv plugin, it still required the API of the official plugin. The changes came from the official plugin as they limited the theme support in the version we used and instead of updating it, they launched a new version with another, better implementation. They also announced the initial release will shortly become deprecated. This is why we decided to abandon our initial AMP plugin and use the new AMP implementation through the mobile theme. The new version required a specific theme for it as it would not have worked through the standard theme. There was no decision to take, unfortunately. If we have not made this step, soon the AMP plugin would have stopped working once the official AMP plugin implementation we used became deprecated.
Thank you!
Hi,
This is a strange issue indeed. Do you use any plugins for on page anchors? If you do please test without plugins as it could be a plugin conflict. Also please check your mobile pages in your mobile editor. There is most likely something added in there making the internal pages be recognized as the homepage.
If everything else fails, please contact us via email at contact@tagdiv.com and provide wp-admin so we can login and investigate why this happens.
Thank you!
Hi,
I see the mobile theme is active, but not the AMP plugin. Now ads are displayed
– http://prntscr.com/mwb78p
If you plan to use the AMP plugin and AMP auto ads, that is where the respective code has to be entered. We have tested this and it should work. Just remember to test with a mobile emulator, not in desktop.
If you want us to test, send us admin login at contact@tagdiv.com so we can activate the AMP plugin and make some tests, also see the error you mention. Let us know.
Thanks
Hello,
Sorry but the mobile theme will convert all styles to the single mobile styles. The mobile theme only has 1 smart list style. It cannot use any other styles.
The tagdiv composer will never be part of the mobile theme as it will defeat the entire purpose of it. If you need the composer on mobiles, please disable the mobile theme and you can use the standard responsive implementation of the theme. The mobile theme plugin is an optional plugin, not required for the proper functionality of the theme. We will be adding new features to the mobile theme in future updates but a full on composer will not be possible.
Thank you for understanding.
Hi,
Unfortunately our mobile theme/amp do not have this option to show the image captions in gallery’s, but this seams to bee a good feature, I will write this one on our list with suggestions.
Thank you for your understanding!
You could still use the previous theme version and the old AMP plugin, as to when it will be deprecated I cannot say.
@GiacomoLaw If you want us to check you can send us an email at contact@tagdiv.com and we will. Basically all there has to be done is mentioned in the guide. Install both plugins and activate the option in the theme panel.
@gossiponthis Why exactly do you need to rebuild all pages now? The previous AMP plugin did not have an option to build pages. The functionality now is the same as always with the mobile theme, just with AMP support. Maybe I am misunderstanding. Let me know.
Hi,
In order to have the 3 posts you’ll need to make sure that you have some post in feature category -> https://forum.tagdiv.com/featured-posts-2/
-> https://www.screencast.com/t/44kBTEzkJNy
-> https://www.screencast.com/t/dpVV27TTe
-> https://www.screencast.com/t/27QB6dv0VGs
For footer logo you can try this custom css ->https://www.screencast.com/t/od1J4l5A
.td-footer-logo img{
width: 50%;
}
Set it in Newspaper>Theme panel>Mobile theme>Custom code> section css
Thank you!
Hi,
Maybe that plugin does not work with AMP, the plugin developer should be able to mention if this is the case. Or maybe the problem is with the mobile theme itself. Try to test if it works when only the mobile theme is active, or when only the AMP plugin is active.
Thanks
Hi,
When the AMP plugin is active, the theme should load the AMP in native mode, without canonical URL, when the website is accessed from mobile devices. Unfortunately, I cannot say for sure when exactly, Google treats this aspect but might exist the possibility that Google to not receive AMP in native mode and not from canonical URL when the site is not accessed from the mobile devices. I’m not aware of this case but I will forward placed this task to our developer’s team for more deeper investigations which should be done.
Thanks for your understanding!
Actually, I have a follow-up question for tagDiv regarding this. The custom code works fine on mobile for regular posts, but now the inline ad on a Cloud Template-created page is right-aligned. Is there a way to have both work?
Example: https://www.vitalthrills.com/2019/03/11/singapore-grip-charles-dance/
Hi,
1. If you want to use our mobile theme with amp all you need to do is to make sure that you make the settings like in our guide.
How to Make an AMP ready Website with Newspaper Theme -> https://tagdiv.com/amp-newspaper-theme/
Mobile Theme: Automatic Optimization for Mobile with Newspaper Theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
Please make sure that you activate the amp from mobile theme -> https://www.screencast.com/t/6m5bxthx8ec and you check the box from general Amp -> https://www.screencast.com/t/WEyXhNzY
2. If you are using mobile theme you’ll need to set the shortcode of WPForms contact forms in mobile theme editor -> https://www.screencast.com/t/gAiG59IMYs
Thank you!
Hi,
When the mobile theme plugin is active, pages will not display the same content as on desktop. Each page requires two versions, one for desktop created with the composer or in any way possible in the theme, and one for mobile created with the simple mobile editor and it’s capabilities – http://prntscr.com/mw64sf – https://forum.tagdiv.com/the-mobile-theme/
Posts, category pages author pages etc, will use a predefined template on mobile created specially for mobile. Let me know if you have more questions.
Thanks
Hi,
Besides the new implementation with the official AMP plugin and the mobile theme, there weren’t any other major modifications made in the theme. A few new features were added and some fixes.
So if you do not use the mobile theme and the AMP plugin everything should be as before. The mobile theme was modified to work with the AMP plugin. Maybe double check the implementation of the plugin, ad codes, clear all caching and CDN if used.
Thanks
it doesn’t really work…
Amp integration of the mobile plugin does not work.
Only way to use amps so that the amp test (https://search.google.com/test/amp) gives correct results, is to exclude SHOW ON AMP on the plugin and thus have a horrible version of articles url/amp/ without css…
3. That would be true, the mobile theme doesn’t have that many settings. Most elements are predefined, this is why it is lighter. We will add more options in it now that it has also been integrated with the official AMP plugin.
From what I know Google changed the testing method a while back, this is why now the results are quite different when compared to before this algorithm change. I see that render blocking would be the main issue when checking you website with the tool
– http://prntscr.com/mw86n1
Maybe try and eliminate or at least optimize in this matter. Try some render blocking plugins for example, there may be other methods.
7. Seems in this case there is also an inline margin left – http://prntscr.com/mw8fd3
Quite unusual. I can give you a code for it, to make it look better
– http://prntscr.com/mw8qf6
.td-g-rec-id-content_top .adsbygoogle {
margin-left:auto!important;
}
Looks like the ad does not respect the size it is supposed to appear in for some reason. I see that it is supposed to appear in 300×250 but it does not. What if you try and select that setting in the theme panel for mobile? – http://prntscr.com/mw8s09 let me know.
8. Setting a background color would best be left until the ads display issue is solved. It would appear just on the top and bottom at the moment.