Hi, i have installed newspaper theme to my website, then i added crypto template.
i am using amp also
problems:
1. ads are not working properly on website (Desktop view)
2. ads are not working on amp version
3. i created Sarkari Result this page – It is working fine on Desktop but on mobile view it is showing blank page.
4. need to add – AD under Header but its not coming in proper format.
Hi,
1. What kind of ads are you using? I could take a look, post a link to the website.
2. I could take a look here as well, ads for AMP have to be entered in the Theme panel AMP section. For Adsense ads you have to enter these parameters
– https://support.google.com/adsense/answer/7183212?hl=en
– https://www.screencast.com/t/rBr4FTlcH5X
Simple HTML ads can be entered in the dedicated section
– https://www.screencast.com/t/W3d2qwNJhS
Be sure to test with a mobile or mobile editor to see if the ads appear.
3. That happens because the mobile theme plugin is active. This plugin is optional, it is intended to be used if you want to display a simpler and also different content on mobile.
You have to create 2 versions for each page, one with the composer for example as you did for that page, and one with the simple mobile editor
– https://www.screencast.com/t/vSh8aLuBzjgT
As I said the plugin is optional, so if you want to display the same content from desktop on mobile, deactivate it. More info about the mobile theme here
– https://forum.tagdiv.com/the-mobile-theme/
4. Some header styles display the header ad below the menu and logo for example
– https://forum.tagdiv.com/header-styles/
There are also plans to introduce a header builder in coming updates, this will add a considerable amount of flexibility concerning the header section.
Thanks
1. i am using google adsense
2. i have entered correctly as provided by tagdiv and google adsense but ads are not working.
3. i have deactivated mobile theme plugin, now issue i am facing is loading speed, site is loading very very slow on mobile devices. what should i do now ? even on desktop site is slow, since i am from india, my users are having slow internet connection, they might need faster site.
4. i am adding ad code to theme panel > ads > header, now advertisement is getting implemented, but it is coming over the cover image which the theme has.
5. now 1 more error is encountered, i disabled the plugin mobile them, now on mobile devices, i am unable to click on menu.
Hi,
1/2/4 Regarding the ads issues, shouldn’t be any problems with Adsense ads. As long as your Adsense accounting is fully approved the ads should be served by Google and be visible at all times
– https://support.google.com/adsense/answer/76228?hl=en
– https://support.google.com/adsense/answer/7584263?hl=en&ref_topic=1391540
– https://support.google.com/adsense/answer/9724?hl=en
– https://support.google.com/adsense/troubleshooter/7049023?hl=en
3/5 If no ads are displayed in the website then it could be that Google is not serving them to your website for some reason.
The mobile theme is a highly simplified version of the website, the performance on mobile will be significantly increased when active. When inactive the same content from desktop will be loaded on mobile.
So browsing with a slow internet connection would benefit if the mobile theme plugin is active.
However regardless of using the plugin or not, you should be able to use the mobile menu. Check in browser inspector console and see if there are any errors that could indicate why the menu can’t be used. Maybe it is a conflict with a plugin, code entered in the theme panel or theme files, child theme, or theme modifications.
6. The height of the top menu or the main menu is affected by the line-height setting
– https://www.screencast.com/t/1sszfdZ75T
Change the value of the line height and the overall height will be affected.
7. The theme doesn’t have any zooming settings, should be as the live theme demo for example
– https://demo.tagdiv.com/newspaper/
How does it look for you exactly? I could take a look at this and the mobile menu issue if you could post a link to the website.
Thanks
Hi please check this website: https://rrbnaukri.in
here, i want it to load faster, top header menu should be smaller, and the homepage should be zoomed in if possible.
I see ads as well at the moment, maybe it just took some time before they started to appear on the website
– http://prntscr.com/li4zoq
What exactly do you mean by zoomed in? Zooming is a browser function, if a user wants to zoom in they can do so.
If you entered the analytics script in the theme panel it will be loaded in each page of the website, in the header. Make sure everything is set properly on the Google side
– https://support.google.com/analytics/answer/1008015?hl=en
That is what the Analytics section in the theme panel does, it outputs the code you enter in the website header. Check in the page source for the script and it should be loaded visible. It may take some time before the statistics are available. You could check this as well
– https://support.google.com/analytics/answer/1008083?hl=en
For AMP the code has to be added of this form – https://www.screencast.com/t/QBkx8rs1PPh
– https://developers.google.com/analytics/devguides/collection/amp-analytics/
The rest of the tags and code will be added automatically.
and i am unable to understand which code to add in amp theme panel for google analytics ?
this is given by google –
<script async custom-element=”amp-analytics” src=”https://cdn.ampproject.org/v0/amp-analytics-0.1.js”></script>
<amp-analytics type=”gtag” data-credentials=”include”>
<script type=”application/json”>
{
“vars” : {
“gtag_id”: <GA_TRACKING_ID>,
“config” : {
<GA_TRACKING_ID>: { “groups”: “default” }
}
}
}
</script>
</amp-analytics>
and this is said by newspaper
{
“vars”:{
“account”:”UA-128976206-1″
},
“triggers”:{
“trackPageview”:{
“on”:”visible”,
“request”:”pageview”
}
}
}
Glad you sorted out some of the problems.
Besides installing the mobile theme plugin there would be no other solution to speed up the website on mobile.
The same page content will be loaded on mobile if the plugin is inactive, so using an average or low internet connection speed it will take more time to load everything
– https://www.screencast.com/t/3FdXZdxYPM
Also I see that there could be a problem with the thumbnails. Try to regenerate them with the plugin mentioned in this guide
– https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Then edit the homepage and check what image sizes are used by the flex blocks
– https://www.screencast.com/t/eH79VV7j2
Use a lower or the lowest image size defined there. No point in loading big images for small modules. That should reduce the page size.
The analytics code for AMP has to be of this form in order for it to work properly
– https://www.screencast.com/t/vJ78X7rUL
There is a tooltip when the question mark is hovered.
so now i get it, i just have to copy the amp analytics code and just replace UA Id right ?
i tried changing the image size, i think it didn’t help
1 thing :
can we do 1 thing, there is no problem in posts while on mobile them, but with page builder right ?
can we simply add link to full version of the page while on mobile them
for eg:
in mobile editor :
i shall place a link
click here to view this page fully,
and but is it possible ?
Be sure to regenerate first as mentioned in the guide, so the necessary thumbnails are created properly.
Once activated the mobile theme will take over. Each page, post etc will be served by it. So if you link to a page from your website, the mobile version will be served.
To achieve something like this would be like deactivating the mobile theme for specific pages, which is not possible with our plugin unfortunately.
A caching plugin would increase the loading speed significantly. We recommend the WP Super cache, this plugin works properly with the mobile theme as well
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
The guide is older, some of the settings were renamed in the plugin, most are the same however
– https://www.screencast.com/t/O4bGofxq