- 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,
There were changes made in the theme, the old dedicated AMP plugin created by us is no longer provided.
Now the official AMP plugin and the mobile theme can be used. The AMP URL’s will be with /?amp at the end.
The /amp should redirect to /?amp so there should be no problem in this case. Try to re-save the permalinks and check again.
Thanks
so when i open this page in pc browser the video plays fine but when i open it in mobile view is shows the youtube symbole and wont play.
Hi,
Today I noticed “/?tdb_action=tdb_ajax” extensions after some links and in those pages it only shows the beginning of the post as you can see in this example:
https://ailevecocuk.net/bakan-ziya-selcuktan-ders-saati-degisikligi-aciklamasi/?tdb_action=tdb_ajax
I checked it both on mobile and desktop and it is the same.
The user can’t view all of the post.
In analytics I have seen there are many pageviews like this.
I’ll be glad if you could help me how to fix it.
Best Regards
hello , on the left side of my website ( all pages ) the menu is always there even in the mobile version , i would like to have my content pages fit to screen desktop and mobile , and show only when i press the menu icon , tnx
Sorry but the new implementation requires /?amp.
This is the officially AMP implementation. The old one is deprecated and it will no longer work soon. The official amp plugin made this change in their new implementation.
https://forum.tagdiv.com/topic/mobile-theme-does-not-redirect-to-amp-page-after-update/#post-285634
Hi,
Make sure if you are correctly added your Ad Code in the ad section from the theme panel, according to our documentation from here -> https://forum.tagdiv.com/header-ads-adsense/ Make sure that you Ad Code are correctly set up and it will take a while until the code to be displayed at the website, until the Google will index it. In the mobile theme, you can provide some useful screenshots with the error and your website URL so I will be able to provide a more accurate response.
Thank you!
Hello,
I now use the mobile theme on my site.
The featured article will appear twice on the homepage.
See screenshot https://drive.google.com/file/d/1_pFzq38xxvOwn4VXWRImdgWrSAOXHiFE/view?usp=sharing
Do you have a CSS code that hides the featured article in the latest article list on the homepage (as on the desktop version)?
Many Thanks!
I’ve tried what I suggested above putting these codes into the header.php of the child theme but unfortunately – this means that the code doesn’t work on mobile OR amp pages. Obviously I need the code to work on mobile but be ignored in amp due to the errors.
Could someone from tagDiv chime in please?
hi, I just renewed the support because I’m wasting a lot of time for changes. I’m not a technician.
I use header style 9 | top bar style 1 | Footer style 8
I have a big list of changes and issue to solve …. ehehe so I start with this.
This is my css – I put in so You can check any issue
.td-a-rec-id-sidebar > div{
margin-bottom: 5px!important;
}
.td-main-page-wrap {
padding-top: 24px;
}
.td-all-devices{
margin-bottom:5px!important;
}
.td-ad-background-link {
cursor: pointer; cursor: hand;
}
.td-social-google, .td-social-pinterest, .td-social-facebook, .td-social-twitter{
display:none!important;
}
.td_block_related_posts .td-related-right {
display:none!important;
}
.category .td-page-title{
display:none!important;
}
/*.sf-menu{
margin-left: auto;
margin-right: auto;
display: table;
}*/
.entry-title, .td-module-title {
text-align: left;
}
.td-module-meta-info {
text-align: left !important;
}
.td-excerpt {
text-align: left !important;
}
.home .td-header-rec-wrap {
display:none;
}
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
th, td {
text-align: left;
padding: 9px;
}
tr:nth-child(even) {
background-color: #f2f2f2
}
.intestazione {
color: white;
background: black;
}
.page-id-12658 .td-header-wrap, .page-id-12658 .td-footer-wrapper, .page-id-12658 .td-sub-footer-container {
display:none !important;
}
I would like to know if it’s possible display different version ads (for desktop and for mobile).
I try with this code
<div class=”td-all-mobile” style=”padding:0px”> I have a revolution slider inside </div>
<div class=”td-all-desktop” style=”padding:0px”> I have a revolution slider inside </div>
but don’t work.
I’ll wait for your answers. Probably You need more info…?
Thank a lot for your help.
Hello
when you view my site lifeboss.com.au on the mobile theme under the header is a blank space and I can not figure out why its there. Please help me in finding out how to get rid of that space.
Thanks Adam
Hello,
I have upgraded to the latest Newspaper theme version 9.6. I have also used one of the new headers that you have introduced starting v 9.5. However, I see the following problems after using it:
1. Header ads are not visible although I have turned them on, inserted the Adsense code in the theme panel.
2. I have also used the header for the mobile version of my theme. But on the mobile the revised header colour scheme, etc is not visible. I tried many options like deleting history, cache, cookies, etc but still the mobile version is showing the old version.
3. In the mobile version, the latest article is not listed on the home page — i.e. it shows the previous article as the latest article. For example, if I publish something new on Wednesday, it is showing Tuesday’s article.
Please help how to fix it.
Hi,
The background image is set to cover for a reason I believe – http://prntscr.com/n7ac83 If the image would be fully responsive it will not look good – http://prntscr.com/n7aczd as it will not cover the whole section properly.
So some of the sides of the image will be lost on smaller devices, but the image will cover the container.
For the text you can set a smaller size when on mobile – http://prntscr.com/n7ady9 font settings are per device – http://prntscr.com/n7ae97
Let me know if you have more questions.
Thanks
Hi,
Usually when you are on desktop and you are redirect to a mobile version of your website it is a cache problem, I would suggest as a first step to clear the cache then deactivate the caching plugin temporarily. Then check if the problem is solved.
The WP Super Cache is one of the plugins that was tested with our theme and was fully suported by our theme; this is our list with tested plugins with our theme -> https://www.screencast.com/t/cmPkh9jba4sZ
How to use WP Super Cache -> https://tagdiv.com/wp-super-cache-plugin-install-and-configure/
The Gutenberg is now the new WordPress editor and this will be use as default when you make a new post, if you want to use the element classic from Gutenberg you need to add it -> https://www.screencast.com/t/TUwQI76tbNNM or you can install the classic editor plugin and replace the Gutenberg https://ro.wordpress.org/plugins/classic-editor/
Please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.
Thank you for your understanding!
Hi,
What kind of theme did you use? You have written to us on Newsmag forum. That theme does not support the Mobile Theme but only the Newspaper. Provide your website URL so I will be able to take a closer look at it and also so I will be able to provide a more accurate response.
Thank you!
Hi,
Seems that grey bar is a padding set on the body of the website http://prntscr.com/n79qd3
I believe that top ad is adding it, so that when the page is loaded it pushes down the content – http://prntscr.com/n79r09 it should remove the padding when it’s closed however, but it does not – http://prntscr.com/n79rca
Without that padding it will appear over the mobile header – http://prntscr.com/n79rsb
so the menu, logo and search will not be seen unless the website visitor closes it. I could give you a code to remove that padding – http://prntscr.com/n79uer
body {
padding: 0!important;
}
Enter it in the theme panel -> mobile theme -> custom CSS code section.
Thanks
Hello tagDiv Team,
I’ve just updated our dev environment to the latest version of Newspaper + the mobile theme and followed the instructions to do so.
Unfortunately, when I add Analytics and JS code to the site under “ANALYTICS/JS CODES” in the theme settings it leads to AMP failure when checking via Google with many errors. It appears that the mobile theme is attempting to convert the code into amp-friendly without success. As soon as I remove the code from this section all the amp tests pass perfectly.
An example of the code I am using is below:
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init(1234); }catch(e){}</script>
<noscript><p>
</p></noscript>
<script async src="//sub.domain.com/js"></script>
Is there any way to tell the mobile/amp theme to ignore these?
If not, could I place directly into the header.php in a child theme?
Thanks
Hi,
1. Yes if you want to have the desktop content on your mobile version you need to use the “AMP” option from mobile theme.
2. You can check all those boxes, like in our documentation -> https://tagdiv.com/amp-newspaper-theme/ , by default are checked only few because more customer want to have in special amp on posts or pages.
3. We recommend to use WP Super cache,
4. All existing post/page will be automatically make amp if the box for those are checked in Map> General -> https://www.screencast.com/t/FL2E6AOwd6 -> https://www.screencast.com/t/QL0m2LL5Zq
5. If you are not using mobile theme with amp you can choose the native and paired mode for amp -> https://www.screencast.com/t/ScLq4L47td and the ‘validated urls’ and ‘error index’ will appear again, unfortunately those two options need a template for amp version and our theme do not have one, that’s way wee recommend to use only the classic mode -> https://www.screencast.com/t/G994kkdcnZ if you have mobile theme activate this will automatic handle the ‘validated urls’ and ‘error index’.
Thank you!
Hi,
That effect do not cause that problem, you need to way until your page/post is full load, after that your menu will work properly.
If you want you can follow our guide for increase page loading speed -> https://tagdiv.com/how-to-increase-page-loading-speed/
Or you can try the mobile theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
Thank you for your understanding!
Hi,
Please check our documentation for How to Make an AMP Ready Website with Newspaper Theme
-> https://tagdiv.com/amp-newspaper-theme/
Also please check our documentation for mobile theme automatic Optimization for Mobile with Newspaper Theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
If you want to keep the desktop layout on mobile you can use from Mobile theme the “AMP” option https://www.screencast.com/t/jcbjyrjrjgW , and your website will have on mobile version the same content and design as on desktop, and only the amp post/page will have the mobile theme design.
Thank you!
Any guesses? I can’t tell if the issue is coming from the theme, the browser, or WordPress?
I am using mobile theme plugin. I have enabled AMP only in the mobile theme settings
AMP URL Structure Problem:
When I select Mobile+AMP then the URL is https://domain.com/post-name/?amp but I want to https://domain.com/post-name/amp/.
How can change?
Can’t be solved? insert the mobile menu or insert a css rule in the advanced section of the css?
Hi, how do I edit my pages now that wordpress has changed to a blocks editor? I can’t find how to edit my newspaper theme as before. I am also getting a lot of AMP errors and some pages showing as Mobile pages on a Laptop, is this related? I have not experienced this before.
Hello,
I’m adapting a template from the library, I’ve changed some photos and texts and everything seems to work fine. Except for the first row. The image doesn’t fit the mobile phone and the text doesn’t either. How can I fix it?
Capture attached: https://fotos.subefotos.com/2fe801fd3a84bbddda9cb01a0860b6a0o.jpg

Cheers