- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Sir, I have an AMP error notification from Google. Invalid URL for HTML attribute ‘href’ in tag ‘a’ So How can i fix it?
Hi palcomp,
If you like that, you can install that demo ( with out content/with content ) and just replace it.
Or if you like make your one, there is a row set on stretch row and content ( https://www.screencast.com/t/FQQoi8fov ) and it is set on it a background image ( https://www.screencast.com/t/e2pP6AQQp ).
For posts is a new row and drag in it the block 5 , and set margin top with – example -250 from css ( https://www.screencast.com/t/4vLbHAcwimjN )
Thank you.
Good morning, how could I place 2 columns within a row for the mobile version?
See example on my website: https://www.todosobrealopecia.com
(would be to place rows of 2 icons each)
And another question, to change the color of the arrow icon in block 3 of the theme?
Thank you very much
Hi,
Here is an example with a link from youtube, is quite bet tricky .
https://www.screencast.com/t/HN46465u7JAd
Results: https://www.screencast.com/t/I3MMhsci4tG
Step one:
Use this iframe :
<iframe class="yt_video" src="https://www.youtube.com/embed/r7-xpJE5I9A" allowfullscreen="allowfullscreen" frameBorder="0" ></iframe>
here is the tricky part: https://www.screencast.com/t/Mdm3JXTap all you need to do is to put after src="https://www.youtube.com/embed/id_video_youtube ( https://www.screencast.com/t/5fgGzpWRP )
src="https://www.youtube.com/embed/r7-xpJE5I9A"
After that you need to add a custom code in Newspaper> theme panel > custom code custom css:
The cod is this, you can change it if you wish.
.yt_video{
width:50%;
height:50%!important;
margin: 0 25%;
}
https://www.screencast.com/t/6M3euQf7uyh4
Hope this will help you.
Hello EPICsm,
Try to make this customization using the Cloud Template and create a Category Template for each category you want to have. Itțs just a simple example.
Thanks for the message!
resave permalinks to enable amp endpoints; then test they work in web browser
Hi, search console can not find the AMP pages, there is a 404 error.
My website is https://www.todosobrealopecia.com
Example: https://www.todosobrealopecia.com/setipiprant-fevipiprant/amp
Also, if I try to place adsense ads automatically they give errors ..
Thank you very much for your help!
Thanks for your response! I followed your recommendation and now I use cloud category templates. That works fine but there are some small issues:
(1) Breadcrumbs: When I go to a category (or subcategory) page, I do not want the link in the breadcrumbs to be clicked. For example https://domain.com/category1 should show breadcrumbs of startpage and category1, but only the startpage should contain a link.
(2) I edited the cloud category templates with a lot of html content (similar to a long post or page). For each category of my website, I have created a unique cloud category template. The category description, however, is completely empty. That has no negative impact on the seo, right? Because as a result the category pages the visitor sees are full of content.
(3) I don’t know if that’s a Newsletter issue or if I have to contact the support of the plugin… I use a pricing table plugin which works great on posts, pages and cloud category templates. But when I watch the category page that I linked to the cloud category template, the table is scattered all over the page.
Hope you can help me.
Regards
Florian
Yes,
The mobile page works correctly.
But on the AMP page, no.
Hello,
It worked.
But soon the site in the footer is of the wrong dimensions.
Anything to adjust or remove the footer logo?

Another issue is the favicon, it is not appearing on the AMP page.
A while ago it was working fine.
Thank you.
But I need to set the exact dimensions (width / height) of the video. I need my own dimensions and align this one video from youtube to center of the post (post is without sidebar).
Can you, please, show me exactly how you put one video in your previous example? I have another HTML code after i pasted the video to the post.
You need to go in Newspaper> Theme panel. Custom code> custom css, and paste the code there; above I give you an example with live css, to show you the classes for buttons.
Thanks.
Hi,
I checked one of your posts with the AMP validator, it seems there is an extra parameter added to all of the social sharing buttons, called “onclick”
– https://www.screencast.com/t/fGkAEB2MR
– https://www.screencast.com/t/8V1ibv0sH0KJ
In desktop there is no problem with this but AMP does not like it. The theme does not have this “onclick” element for the sharing buttons, did you maybe make modifications to the theme files?
Or maybe you use a plugin or custom code that affects the links?
Thanks
Hello Lorentz Yeung,
If you are using some custom Ads, please notice that exists some requirements to the structure of them. Please check the following official documentation from here -> https://www.ampproject.org/docs/fundamentals/spec Notice that the structure of them should be added in AMP panel like this -> https://www.screencast.com/t/InikAfBmi4J
Thanks for your understanding!
Hey Simon Thanks. I have one more query. When I create a post using cloud template. I am unable to edit post content. Like when I click Sample Post Title, I don’t see a cursor around it. Can you help me with that?
Hi, I am having problems with AMP. I am using the “tagDiv AMP” plugin.
However, Google Search Console tells me that I have these problems in all my pages:
– The “iframe” tag can only depend on the “noscript” tag. Did you mean: “amp-iframe”?
– The “a” tag contains a JavaScript attribute that is not allowed.
I have no clue what this means and how to solve it.
Thanks
Jaime
Hello swamplingman,
Unfortunately, that option is available only in Visual Composer and only for pages, sorry! If you want to affect your post titles, you should do it yourself through the code (some CSS code) for that.
Thanks for your understanding!
Hello trailblazer,
The AMP and Mobile theme are two different plugins which do not depend on each other. You can use them together because does not exists any restrictions in this case. -> https://forum.tagdiv.com/the-mobile-theme/ -> https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/
Please notice that WP Super Cache is only tested with our theme and should bring good theme results. For achieving better results, this plugin has to be configured according to our documentation from here -> https://forum.tagdiv.com/cache-plugin-install-and-configure/
Thanks for the message!
Hi,
Here is an example:
In one row we place 3 Text with image, the 3th we set here layout flip content, and we add an extra class on it ( https://www.screencast.com/t/SwJT2M52f ), select the second one and add an extra class ( https://www.screencast.com/t/SwJT2M52f ), after you do that you need to paste this code in Newspaper > theme panel> Custom code > custom css: https://www.screencast.com/t/1GyADh4uCy
@media only screen and (max-width: 767px) {
.show_in_desktop {
display: none;
}
}
@media only screen and (min-width: 768px) {
.show_in_mobile {
display: none;
}
}
See results desktop: https://www.screencast.com/t/6yUQglzX5Eu
Mobile: https://www.screencast.com/t/bXpSk4sFe2jj
Thanks.
It is applied to all the thumbnails the theme creates, including the gallery
– https://forum.tagdiv.com/featured-image/
– https://forum.tagdiv.com/thumbnails-vs-featured-image-size/
It is not really an issue, that is how the theme is supposed to work. The focus will be on the center top of the images used.
Let’s take this image you use in the gallery for example, it has top and bottom empty space
– https://collabhype.com/wp-content/uploads/2018/09/black_panther_3.png
When the theme crops it and focuses on the center top, the result will be like this
– https://www.screencast.com/t/oKFrFAX7UCJ
Having better results also depends on the images you use in the first place.
Using a regenerate thumbnails plugin is needed in these cases
– https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
In this case regenerating will not do anything, the same thumbnails will be created.
I suggested you try a gallery plugin which may display images differently. Maybe try installing a few and make tests in a test post, with the same images from your media library.
Hello Lorentz Yeung,
Please re-check your ads because the main reasons which might trigger this error are to have some ads incompatible with AMP. All of these should have to be compatible with AMP and for this. Please access your Adsense account and create AMP compatible ads for the amp version of your site: https://support.google.com/adsense/answer/7183212?hl=en -> https://www.ampproject.org/docs/reference/components/amp-ad
Hope this helps and let us know how it goes!
Thank you!
Hi,
Google picks up incorrect meta description which is from the article titles placed in right sidebar or Related articles at the bottom or even from Next and Previous articles at times.
For example: look at this search query link.
Because of this irrelevant articles show up in search results.
Also look at the screenshot
Probably the amp template itself
I’ve found that WP Super Cache severely slowed down the site. It took 3 minutes to save a post.
My web host made these changes for me and now the site is 50% faster.
> Disabling W3 Total Cache and Fastest Cache
> Enabling Cache Enabler & Autoptimize
> Database Optimization
> PHP 7.0 Value tweaks.
Do you think these changes affect using the Mobile Theme?
Hi, I want to improve the mobile experience visitors have to my newspaper theme website. Will activating the AMP and Mobile these plugins do it? Here are a few questions I have:
Do I need them both? Can I use them both? Is both better than one?
Have you had any problems with either of these plugins on version 9?
Can I just activate them, or is there configuration that must be done?