- 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
Hello,
If you use the Single Post Template global for all posts, then you can set the code here
For mobile you can create a mobile template and delete the code from the top ad -> https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/
AMP is very restrictive when it comes to the ads and to the content. What type of ads are you planning to use on AMP exactly? Are they compatible with AMP?
The most popular and widely used type of ads used for AMP are AMP auto ads from Google https://support.google.com/adsense/answer/9261309?hl=en
We provide a field for entering the code https://i.imgur.com/2kAsROP.png
Also, the mobile theme ad spots will load ads on mobile or mobile + AMP https://i.imgur.com/YEkMJ6N.png
Thank you!
Hello @jej!
The Mobile Theme is a performance-optimized theme included in the main Newspaper theme that only loads on mobile devices. It comes with its own templates and designs for pages, posts, categories, etc., so your current templates from the desktop theme will get converted to the mobile theme layout. Please see https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/ for more information. A full explanation is here: https://www.youtube.com/watch?v=SpGkOnJeNZY
Please read all about AMP here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
Thank you!
Hai,
what is the technical environment:
• Newspaper Version: 12.1.1
• WordPress 6.1.1
• PHP Version 7.4.30
• Testing with Chrome and iPhone 6s
What is the problem: the settings are the same for all three modules and yet there are different mobile displays. From my point of view, this should not be the case, because I can only make mobile settings for Flex 10 M2. This means that otherwise the CSS settings for desktop should apply to mobile.
Maybe I am blind and do not see the right settings … thx for supporting the issue!
Rgds
TheStormer
I can force the desired behaviour by adding this CSS:
@media (max-width: 767px) {
body .tdi_115 .td_module_fex_6 .td-module-meta-info {
padding: 0px;
}
body .tdi_131 .td_module_flex_6 .td-module-meta-info {
padding: 0px !important;
}
body .tdi_131 .td_module_flex_7 .td-module-meta-info {
padding: 0px !important;
}
}
Module Settings:
Big Grid Flex 5
MODULE CATEGORY GRID 1
MODULE CATEGORY GRID 2
MODULE CATEGORY GRID 3
Meta info margin: 0px 0px 0px 0px
Meta info padding: 0px 0px 0px 0px
Article title padding: 2px 5px 2px 5px
Category tag spacing: standard
Category tag padding: standard
Big Grid Flex 10
MODULE CATEGORY GRID 1
MODULE CATEGORY GRID 1 – MOBILE
MODULE CATEGORY GRID 2
Meta info margin: 0px 0px 0px 0px
Meta info padding: 0px 0px 0px 0px
Article title padding: 2px 5px 2px 5px
Category tag spacing: 0px 0px 7px 7px


Already uninstall the mobile theme & AMP plugin
Everything looks fine on PC and phone.
May I know why this function cannot be turned on?
Dose mobile theme & AM P plugin increase web page speed?
Thank you
P.S.: In addition I would like to know, how I can control the Ads in an AMP article (via mobile theme and official AMP plugin)
Hello,
You can set the limit for the latest posts here for mobile theme -> https://i.imgur.com/iMmxxMw.png
Thank you!
Hello @swankyfella !
If you have the Mobile theme plugin disabled, then you don’t need that code.
Specify only the folder name: /wp-content/themes/Newspaper/images/icons/newspaper.woff
Thank you!
Hi,
I’m using cloud templates too, and want to add ads globally to all posts.
If I understand it correctly, I need to go into my single post template (and not use the article ad option in the theme panel), right?
There, I’m having trouble adding a top ad just for mobile devices – how can I exclude tablet and desktop for that?
Thanks,
eC
Hello @ndodariya!
The AMP works better only with the Mobile Theme plugin. From my point of view, if you don’t use the Mobile Theme plugin, then there is no reason or benefit to AMP. Please read all about AMP here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
Check this thread also: https://forum.tagdiv.com/topic/as-a-result-of-checking-the-amp-version-of-the-website-it-was-found-that-the-st/
Thank you!
Hello
In newspaper theme panel, on section mobile theme – grid & latest article settings at number of post to display 6 is the biggest value. Is any solution to increase the value?
Ok. I found the problem. It came from the mobile version where I didn’t check the option to disable the h1 tag on the image. So now, I disabled all the h1 tag on images and I have only one h1 anymore but I have another problem. I don’t have NewsWeekPro text on my h1 anymore (it’s good) but I have the name of my website + “Pro”… I don’t see where this « Pro” text come from. ?
-
This reply was modified 3 years by
netso.
Hi @Bettina,
Thank you for the quick response. Is the second code, the one for mobile theme, only needed if I use the dedicated mobile theme?
I will try it and then get back to you.
EDIT – sorry, considering that I use WP Rocket, I will preload the fonts there. Do I add the links from example in code, like “/wp-content/themes/Newspaper/images/icons/newspaper.woff?17”, or just “/wp-content/themes/Newspaper/images/icons/newspaper.woff”, like in the screenshot of WP Rocket settings?
Thanks.
-
This reply was modified 3 years by
SwankyFella.
-
This reply was modified 3 years by
SwankyFella.
Hello,
Unfortunately, this can’t be achieved using the mobile theme plugin.
Thank you!
Hello Hakan!
Please check the settings you applied here: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/ ; https://forum.tagdiv.com/the-mobile-theme/ ; https://forum.tagdiv.com/mobile-theme-introduction/
If the problem is still there, then please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– cpanel url and credentials
– a link to this topic in order to identify you
Our team will take a look!
Thank you!
Hi,
@imranarshad,
The menu is created in Appearance -> Menus.
To change the font and color for the mobile menu, please go to Theme Panel -> Theme Colors -> Mobile menu/mobile search => https://www.screencast.com/t/0CvSgXp9H to set a background image go in Theme Panel -> Background -> Mobile menu/mobile search => https://www.screencast.com/t/uvDejzbX to change the font from Theme Fonts => https://www.screencast.com/t/ANBQe7hQhJd.
The social icons from the mobile menu are coming from the Theme Panel -> Social/Apis -> Social Networks -> https://i.imgur.com/kKYIECB.png. Remove/edit them after your needs.
@ilouie,
I saw that you also wrote about the topic and sent an email; not all problems are alike.
For example, with you, maybe you have a conflicting plugin, or maybe you added a custom code that interferes with the theme, we will investigate it, but you have to be patient because the support is from Monday to Friday from 8:00 AM – 5:00 PM.
Thank you!
@bettina Didn’t understand. Please explain in details. What is dimension for that particular theme. What is dimension of that square image? And problem is it is different in mobile and other devices? Also, when we open post after clicking on this image, it goes behind the title. So the feature image becomes huge horizontal cover image. If we give small dimension like u said 50*50, it will be stretched and look ugly on post.
Hope u r getting my point.
Hi my website is https://www.wendyjourney.com/ and use Newspaper Version: 12.1.1 REGISTERED
There are some page that will display the normal theme like below
in pc
https://www.wendyjourney.com/zurich

in mobile
https://www.wendyjourney.com/page/4

but some pages are not themed like below
in pc
https://www.wendyjourney.com/swiss-pass-and-half-card

in mobile
https://www.wendyjourney.com/page/3

I discussed with my server manufacturer cloudways.com, cleared server & cloudflare cache but it still didn’t work
The following is the response from the server manufacturer Cloudways Support team
Support (Cloudways Ticketing System)
Dec 9, 2022, 10:23 AM GMT+5
Hello There!
I hope this finds you well. I have checked your caching and it looks setup fine. Can you please check with your theme developer if theme is compatible varnish and object cache? And also ask for their suggestion if they recommend any other cache plugin for their theme. Furthermore let us know if theme requires anything exceptional on server level so we could setup that too for you. Thanks!
Kind regards,
Usama Sharfi
Please help me how to troubleshoot this problem, Thank you
Hi, we can add code in head for desktop and mobile theme but not for mobile+amp because there is no head section for amp.
This is bad because CMP code for amp needs to be inserted in head code on amp pages.
How can we do it ?
Salve, sito https://tenacemente.com/
Vorrei sapere se è possibile aggiungere gli articoli più letti del giorno (tramite Jetpack) nella Home del Mobile Theme. Grazie.
I Import “Header Template 26” In My Website
In Normal Window Show This Right Hight
https://app.screencast.com/zmA8F2RHi5XI1
But When I Open This Url In Guest Window On Chrome or Test In the Lighthouse Show This Type Of Extra Hight On Both Desktop & Mobile.
https://app.screencast.com/9pdHWpIKIPne4
How to Resolve This Issue?
Hi,
I suppose mobile theme has a lot of optimizations for CWV.
Maybe you use defer or delay js ?
PRoblem is ads only show if the user interacts with the content like scrolling.
If there is no scroll, then ads don’t show (talking about adsense)
And it makes big drop for earns.
How to resolve it ?
It appears that there’s an issue w/ my logo here on Chrome Desktop on MacOSX for not logged in users. I cannot replicate this behavior in Safari, for example.
The logo on the menu on the top left does not appear using Chrome unless I move/resize the window, and then it shows up. I also cannot replicate this on mobile.
Have tried turning all caches off to test the issue but appears unrelated from that. Would appreciate any assistance.
How to Edit Mobile Menu & Search Result Page In Header Template 17 – Fast News
https://cloud.tagdiv.com/header-template-fast-news/
In This Template, I can only edit Mobile Menu & Search Icon. Not Menu & Sub Menu Setting
https://screenrec.com/share/ot08xP7BFi
I Want to Make Changes To the Menu Page setting in this template. I want to remove the Social Icon & Sign button, but this template does not show any edit Options to do this.
Hello @ezioboy!
1. Use some CSS. For example: https://prnt.sc/z5bUzniOF2yQ
2. You must also modify it for mobile: https://prnt.sc/X3SlzGO1PwQj
3. Align the text like this: https://prnt.sc/9Wef_NpX5C1E -> https://prnt.sc/SF_xs3tA2i8H
4. You cannot stop that. You should use a cloud product template from the Cloud Templates: https://forum.tagdiv.com/tagdiv-shop/
5. This code will require custom work, which is not covered by the support team.
For customization and other services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
6. Test it and let me know if you encounter any issues.
Thank you!