- NewspapertagDiv AMP Plugin Tutorial
- ApiPractical example – How to add a new Block and Module
- NewspaperTrack Subscription Sources with Locker URL in Opt-In Builder
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperCredit System
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to use the Posts List shortcode
- NewspaperUser review system
- NewspaperCustom Fields Support
- NewspaperHow to generate Facebook App ID
- NewspaperHow to insert a block inside the content of a post
- NewspaperModal Popup
- NewspaperPayPal Setup
- NewspaperLink Tracker
- NewspaperLockers
- NewspaperGeneral Options that May Interfere with the Newspaper Theme
- NewspaperAdd Cryptocurrency Price Ticker Widget
- NewspaperPosts Loop Element
- NewspaperThe Newspaper Mobile Theme: Introduction
Hi,
@Erythros
Sorry but the implementation of our amp plugin is to show the amp template when a users accesses the site from google. If you want to always show the amp template even from other platforms, you will have to use another amp plugin as the theme does not offer this possibility.
Sorry for the inconvenience.
@ldfy
Your logo is blurry because amp uses the mobile logo which in your case is smaller than the thumb used on amp pages. Your mobile logo needs to be larger in order for amp not to show it blurry. Please read this guide in order to learn about our theme amp implementation: https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
Thank you!
and where do I add the below code to include the Facebook Javascript SDK? In the “Custom Code > Custom Javascript” section of the Theme panel?
Do I need to modify the code at all as the Newspaper Theme panel says not to include the script tags.
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = ‘https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0’;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
Any help is much appreciated! Thank you.
This just received from Google:
Google has detected harmful content on some of your site’s pages. We recommend that you remove it as soon as possible. Until then, browsers such as Google Chrome will display a warning when users visit or download certain files from your site.
Deceptive Pages
These pages attempt to trick users into doing something dangerous such as installing unwanted software or revealing personal information.
I have no idea what they’re talking about. They don’t give you an direct answer, but just “samples” of so-called
deceptive ads. The only ads I have on the site is their ads. They want me to get a security agent to inspect the
site. No one has access to the site, but myself. If anyone is introducing malware, I’m not aware of it.
I’m not going to say here I really feel about all of this as I’m trying to be civil, but I’m just about to the
end of my rope with all of this.
Thanks,
Larry
Hi,
In Appearance->Widgets you can add widgets to the footer sections
– https://forum.tagdiv.com/footer-templates/
If you want to display an image in the footer add an image widget for example
– https://www.screencast.com/t/wC29uho2
Thanks
Hey guys, can you help me by doing this?
i want the headline to be on the left,
and under the post the red marked text to be not shown.
hope you can help how i can solve that.
https://kampfsportupdate.de/wp-content/uploads/2018/06/screenshot-1.png
First of all, I don’t think you can determine if the user is accessing your website from a mobile device or from a desktop in order to use REGEX. This aside…
As a user, do you think it’s normal that if you access a webpage from your smartphone, to get 2 different versions: one AMP and one regular, on the same device, depending whether you clicked the link on Facebook or Google? I don’t. I ALWAYS expect to be served the same page on the same device, be it AMP or not.
Again, I am talking only about mobile devices.
Lastly, Google used in many examples Techcrunch as an AMP example. If you go to any blog post on Techcrunch from you smarthphone, you will ALWAYS get the AMP version, no matter if you navigated there directly, via Facebook or via Google.
That’s the point of AMP. To always serve a fast webpage to MOBILE devices.
P.S. I am not saying to serve AMP pages to desktops. No, never. Only to mobile devices.
-
This reply was modified 8 years by
Erythros.
I think have same problem…
google search console (italian) : “L’attributo incorporato “style” non è consentito nei documenti AMP. Utilizza invece il tag “style amp-custom”.
my wrong amp pages are coming up also after last update..
I read forum answers about ads wrong format, but I have not any..
Sadly, that’s how AMP works. The browser, referrer, and source origination usually determine if AMP version loaded. Meaning, if somebody comes from FB or SERPS and the link itself is not an AMP link, the normal page is loaded, as expected. If on mobile connection, and browser and Google have identified as AMP compatible using AMP enabled browser, then the AMP page loads, or if followed from AMP enabled link in SERPS.
If you forced all traffic to AMP, defeats purpose of having non-AMP pages, and you might as well just setup a REGEX in your system to redirect all traffic to /amp/ endpoint, but outside scope of the theme.
I don’t work here. But been using AMP since it was in beta in 2015.
I’m assuming you read up on Google copious notes on what AMP is for, when and when it doesn’t work, how to serve, etc. ?
WHAT THE HELL IS AMP: https://www.ampproject.org/
(( sorry if that didn’t help … ))
Having similar issues with the AMP.
User is redirected to an AMP page only if he is coming directly from Google.
If he is coming from Facebook (for example) or directly from the website, but from a different page, he will be served the non-amp page.
This is a horrible user experience – one blog post to be served AMP while the next one to be not…
Is there any solution for this?
I’d love a “force AMP redirect” option (or a snippet to implement it myself)
Another (test) example is here: https://esportsmedia.ro/hardware/scaun/review-gamdias-achilles-p1-l/
At the bottom of the page there are a few “related articles”. Clicking one of them takes the user to non-amp post.
-
This reply was modified 8 years by
Erythros. Reason: Adding test samples
I have over 10,000 articles with videos in the old template.
now I need to know what php file I need to change to make the videos attached to previous posts.
example: in the old template, edit the post.php file and simply change the video_url value in magazin_video_url
I apologize for the bad English
Hi,
We have implemented the TagDiv AMP plugin, however for some reason:
– Certain content on main page does not show – certain post header images
– AMP does not follow through when you click a blog post, you are redirected to the normal page
– Logo looks blurry
Site URL is https://smart.lendify.se/
Thanks
Hello,
You can do it with a bit of css. Here is an example:
.td_ajax_load_more{
font-size: 15px;
border: 2px solid #ff0000;
}
.td-load-more-wrap a{
color: #ff0000;
text-transform:uppercase;
}
You can add the code in the theme panel-> custom css box.
Thank you!
Hi,
You could add an image widget to the footer sections, place the image there for example. That would be a solution.
In my case only the categories afferent to the language of the page are shown. So for example I have only one translated category in French
– https://www.screencast.com/t/8YevfAEtYCTt
While creating a page in French
– https://www.screencast.com/t/OWDcRkqkEY
Enable the ajax filter, at first all the accessories will be shown, all languages
– https://www.screencast.com/t/x44umIK9
If you save the page and view it, only the categories that belong to that language will show
– https://www.screencast.com/t/aYmXuHvu
If you enter IDs of categories in that language, only those will show. Be sure to save the page and view it, not as you are editing it in the composer.
Hello, last 7 days I have a problem after image uploading – some of their thumbnails are distorted – for example see http://www.jedemenadovolenou.cz/wp-content/uploads/2018/06/kuks-vinobrani-1024×576.jpg
The problems occur with larger images (1200 px wide), pictures with width around 600 px are imported all right. I tried to increase max_execution_time but with no results. Do you have some idea what is the cause of this. I can create admin account for you to explore it.
Hello. Many pages have disappeared from Google because of the lock
https://SITE/wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=8.8.1
Access to the file has always been closed, but block happened 3 days ago. Access was given, but the situation remained the same. Could you advise something?
Hi,
That is not where the modification is to be made, this is an example
Before – https://www.screencast.com/t/MCBnX24ee6gr
Modification – https://www.screencast.com/t/dv7QHh6xs0p
After – https://www.screencast.com/t/EVUKUx94PKf
For the ajax menu, you would have to edit all the block templates
– https://www.screencast.com/t/4CJIMJCZ
Thanks
Hello,
Yes, you can use anchor links on a page using the custom classes. You can see an example here: https://www.screencast.com/t/5zxIGH04O
A button element has a scroll to class section where you can add a class you want the button to scroll to. A custom class can be added to any block or row in the page builder.
Thanks.
Hello,
This issue has already been fixed. Please update your amp plugin by disabling and deleting the current amp plugin you use and then installing it again from the main theme package you download from envato.
Thank you!
That is unusual indeed, any plugin should not deactivate by itself unless maybe this is supposed to happen and triggered by an action. Like the theme update in the composer case.
So the composer should only deactivate itself after a theme update if the automatic update has failed. If that happens click update manually and also check if the update is successful, check the timestamp of the plugin
– https://www.screencast.com/t/8FJ0bYkP7
Sorry for the misunderstanding. Indeed, if you import only sections this will create a new page with the imported section, not a template.
If you import sections in a single template for example, they will be part of that template. Sections can be imported while editing any template
– https://www.screencast.com/t/Mp0qp33lPgdP
Hello,
You cannot change the responsiveness breakpoints in our theme. There should be no overlapping elements on either device. Please provide an example of this.
Thanks.
Hello,
This code will change the border to red for example:
.woocommerce div.product .woocommerce-tabs ul.tabs:before{
border-bottom: 2px solid red;
}
You can add the code in the theme panel under the custom code section.
Thank you!