Search Results for 'amp'

Results from the Forum
Prateek
tagDiv Member

But these shortcodes occupy different lines. They don’t display inline.
For example if one taxonomy has only one term, it will still take entire space infront of it and the next shortcode will begin in the next line. If I have five taxonomy types with one term each taxonomy type, it will take five different lines.

mattemkadia
Participant
#0

Hi Guys, when we create a custom template for a custom post type it looks like the only way to enable it is globally via the Cloud Templates interface. For posts, we can select from all the available templates in ‘Post Settings’ on a post-by-post basis. Is there any way we can do this with custom post types? I,e, if we have more than one custom cloud template, when adding a custom post type we can select ‘custom template 1’ or ‘custom template 2’?

Also, when we’ve imported cloud templates it’s created ‘Global Colours’ in tagDiv Composer, where are these colours stored and can we add our own global colours?

Thanks
Matt

Anamaria
tagDiv Staff

Hello,

You need to edit the post with tagDiv Composer => https://www.screencast.com/t/jHatJGC1qRf, for example, select the Single Post Views => https://www.screencast.com/t/NhUGCRfI and with right-click, you can delete it.
Also, you can delete other elements.

Thank you!

Anamaria
tagDiv Staff

Hello,

For mobile theme + Amp the content need to be added in Mobile Editor -> https://www.screencast.com/t/xbgZG8kH
Please check this topic where I explained each mobile version -> https://forum.tagdiv.com/topic/mobile-version-not-working-properly-2/ and choose what mobile version you want.

Thank you!

ionassi
Participant
#0

I’ve been using AMP plugin + mobile AMP theme plugin but suddenly all mobile AMP pages went blank (no content, just the link to non mobile version)

Can someone help me configuring it right from start? I’d be thankful!

muterobert
Participant
Center row - topic
#0

This is a new blank page. I’ve added a row and used the Width option in the tagdiv’s CSS tab to increase the width to 1260 width. The column expands but it seems the row does not, this also causes the column to not stay centered on the page. How can I keep the row/column centered?

Example of issue: https://imgur.com/a/oleeTrG

Prateek
Participant
#0

Hi,

We have shortcode to display single post tags, categories, and custom taxonomies. It would be great to have a shortcode that can display all the taxonomies(including custom taxonomies) in one place by putting comma separated values. For example, a shortcode that takes the following values, categories, post_tags, custom-taxonomy-1, custom-taxonomy-2 and display all of them in one place skipping the taxonomy that is not used for the article.

If you think that’s enough for you to know, you can skip the rest of the post. But if you want to know why I made this request, please continue reading.

The reason is that tags in wordpress are painfully disorganized.

Suppose you have a tech blog. The categories are

  1. OS(subcategories(Linux, Windows, Mac, etc));
  2. Programming(subcategories(software dev, web dev, AI, etc));
  3. Sysadmin(subcategories(security, performance, monitoring, etc));

Everything’s sweet upto this point.

Now, tags come into play…Suppose we have these tags:

js, css, python, c#, commands, cloud, database, dns, networking, firewalls, mathematics, algorithm, scaling, infrastructure, servers, ubuntu, debian, fedora, css, html, responsive web design, apache, nginx, litespeed, oop, mysql, response time, jobs, remote work, visualstudio, support, updates, disaster management, testing, training, etc.

You can see there is no organization among tags. But there is a pattern, some tags are programming languages, some are OS, some are web servers, some are performance related. One can argue as to why not use them as sub-sub categories for organization? But a job tag could be placed in a lot of categories and so could be python and a lot of others. Moreover, a tag is open and free of relations and hierarchy. Also tags could be thousands in numbers, categories shouldn’t be.

But this is not the main issue because everthing can be solved with the help of custom taxonomies using a plugin.

Following custom taxonomies can be created:-
Tag Programming Language— js, c++, python, c#, java, swift, php, html, css, c and a lot more
Tag Work— Job, workplace, remote work, team management, salary, interview prepration, etc
Tag Software— VS code, notepade++, putty, virtualmin, termius, cyberduck, etc
Tag Infotech— dns, networking, infrastructure, clustering, cloud computing, scaling, firewalls, scripting, nginx, and a
hundred more.

This type of organization is not possible with categories. Firstly because the above organization is not hierarchical, secondly there’s no stress of numbers. They can be in thousands. Thirdly, they don’t share any exclusive relationship to their parent.

You might ask why I want this. User experience. That’s all.

For example, I can make separate section for different types of taxonomies for users to see. A section for softwares, a section for infotech, a section for programming languages, etc, or put softwares, infotech or programming languages in the header menu along with the categories. Imagine seeing a section displaying hundreds of tags on a website on a single page. That would a disaster. Pure chaos. But with custom taxonomy I can achive this.

Now the problem is everything is ready. I have four different type of custom taxonomy. I write an article that requires these tags— job, python, cloud, termius. But, as seen above, these are all different taxonomies(not tags).

To display them on my article, I have to use four different custom taxonomy shortcodes and put each taxonomy in each shortcode setting. These would occupy four horizontal lines(a lot of space, and will look ugly).

It would make the job a lot easier if just one shortcode could do this job. Like putting work, infotech, programming language, softwares, etc in the shortcode will show all the taxonomy terms at one place like tags. And if a term is put in shortcode but is not used in article, it won’t appear. Because you don’t know which taxonomy would be used on which article because it’s a global template. So you put all of them and the unused ones are not shown.

All you would have to do is create a shortcode that is able to accept multiple types of taxonomies and display them in one row(inline) and discard the taxonomy types that are not used even if they are in shortcode.

Thanks.

If you want, I can share examples.

Prateek
tagDiv Member

Is there any way to remove this button? I am using transitional mode and the redirect mobile users to amp option is turned off.

Thanks

Bettina
tagDiv Staff

Hello @prateek!

This button should not lead to a /?amp page. This button shouldn’t be there because it is not part of our theme and we cannot customize it.

Thank you!

AlbinP
tagDiv Member

Hi Bettina,
This link states that Anchor & Vignette Ads are not supported on AMP pages, but in Google AdSense Help Sistem is claimed otherwise.

https://support.google.com/adsense/answer/11418825?hl=en

Also when I check “Ad Settings Preview” for my site I can see Anchor Ad.
https://prnt.sc/8CKnNxSb1715

While on a mobile device when I test there is nothing

https://prnt.sc/UG7zMq9SO13F

Same problem is with “Vignette” ads

https://prnt.sc/2vyOQR0LKAHz

  • This reply was modified 3 years by AlbinP.
  • This reply was modified 3 years by AlbinP.
Bettina
tagDiv Staff
Prateek
tagDiv Member

The button is working but not as intended. Let me explain.

Suppose you have a page on your website that is not amp-enabled.
For example domain[dot]com/category/news/

If you add ?amp=1 at the end of this url(../news/?amp=1), it will still redirect you to ../news/

It’s because the amp version for that page does not exist. That’s an ideal behavious. No problem.

Now if a page is amp-enabled (for example, an article page), it creates problems. If you load an amp page on your system, you’ll notice that all the internal links on that page add ?amp=1 at the end of every url. For example, the author link, tags, categories links, other related articles, etc. (Even the exit mobile button link)

Now, if you click the author link or tags link or whatever link(on the amp page) that has no amp version, it will automatically remove the ?amp=1 from the end of url

Examples:-
domain[dot]com/author/bettina/?amp=1 will redirect to ../author/bettina/
domain[dot]com/tag/wordpress-theme/?amp=1 will redirect to ../tag/wordpress-theme/

Nothing against this behaviour because this is exactly how it should be.

But what if the exit mobile version button also has /?amp=1 at the end url (as I mentioned above). Then it becomes an issue.

This is the amp article url —> domain[dot]com/this-is-an-article/?amp=1

The exit mobile version button add this at the end of url: /?noamp=mobile. But the problem is it also adds &amp=1 after that.

Now clicking this button will redirect user to domain[dot]com/this-is-an-article/?noamp=mobile&amp=1

This behavious again loads the amp-version of the article because the url has &amp=1 at the end. The ?noamp=mobile alone would have redirected the visitor to non-amp version, but this is not the case.

This creates an endless loop and the visitor never gets to see the non-amp version.

Can it be resolved? You can ask again if I confused you.

Thanks.

AlbinP
Participant
#0

Hi,
I can’t get Google Anchor ads on my site.
AMP ads are displayed under the header as they should be.
In Mobile Theme I have following setup:
Header AD empty
Footer, Smart List, Loop, Article Top, Bottom and Inline populated with Google Ads HTML code
AMP Ads populated with Google Ads AMP code

Prateek
tagDiv Member

There are three options in Theme Panel→Mobile theme→Mobile settings(Use mobile theme for). You can choose between Mobile, AMP + Mobile, AMP.

1 Mobile – The visitor will see mobile theme version when they use your website on a mobile device, the amp version uses default amp theme provided by the amp plugin.

2 Mobile + AMP – The visitor using mobile devices will see the mobile theme version, but the AMP articles will also use the mobile theme.

3 AMP – The visitors using mobile devices will see the desktop responsive version but the amp version will show them mobile theme

I have enabled option 3.

I only use AMP for articles.

For homepage, about page, contact page, archives and all the other content, I wanted to display full website so I chose option 3 which will only show mobile theme to amp version.

Now, I can see a button at the bottom called Exit Mobile Version. It’s very useful. Because visitors can choose to see the non-amp version of the article. But it’s not working.

Prateek
tagDiv Member

This is my setting.

I have installed the mobile theme plugins as well as the AMP plugin. But I am only using mobile theme for the AMP site. For normal pages, I am using desktop responsive version for mobile.

In AMP plugin settings, the redirect mobile visitors to AMP is turned off already.

Bettina
tagDiv Staff

Hello @satyajit3097 !

The AMP only works better 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.

Thank you!

Bettina
tagDiv Staff

Hello @prateek!

I’m sorry, but you can not have the option and also to disable that button which appears there. The AMP only works better with the Mobile Theme plugin.

Thank you!

Anamaria
tagDiv Staff

Hello,

For mobile theme + Amp the content need to be added in Mobile Editor -> https://www.screencast.com/t/xbgZG8kH
Please check this topic where I explained each mobile version -> https://forum.tagdiv.com/topic/mobile-version-not-working-properly-2/ and choose what mobile version you want.

Thank you!

Satyajit3097
tagDiv Member

Hi, Bettina.

As per your direction, I have uninstall the Mobile Theme Plugin to show Ads in the inline content of mobile version. But, new problem has been raised i.e. URL is available to Google, but has issues – AMP page is invalid.

I have also observed that after creating mobile page using cloud library templates, a number of issues has been raised like 1) All pages setting has been changed for mobile view 2) Mobile Home page changed, 3) AMP issues created

What to Do ?

Davidpinto
Participant
#0

Hi I have some issue with my PAGE in AMP Mode.
The problem is that the content text of the pages doesn’t show in AMP Mode, otherwise the content text show in desktop mode.

I will attach an example here:

AMP MODE https://ibb.co/hXsJY1L

NO AMP MODE https://ibb.co/3NYrNKw

How can I fixed it?

Thank you so much for supporting me 🙂

Anamaria
tagDiv Staff
menu - reply

Hello,

The problem is that you have set the menu in the content section, not the header section -> https://i.imgur.com/0sR7vzi.jpg. Please edit with tagdiv Composer, and drag&drop the menu in the header section.

Thank you!

Buna,

Problema este că ați setat meniul în secțiunea de conținut, nu în secțiunea antet -> https://i.imgur.com/0sR7vzi.jpg. Editați cu tagdiv Composer și trageți și plasați meniul în secțiunea antet.

O zi buna.

That option is not enabled.
I just confirmed.

Here is an example https://thetnbb.com/contact-tnbb-2/

That image is super clear and sharp but it comes out blur. If I try to replace it with its original image it still comes our blurry and zoomed in.

Thanks

7grammi
Participant
#0

Hi i was wondering what would be the easiest way to assign different style colours for different categories in flexbox or other widgets, for example having a box of last articles but different categories so different colours

Calin
tagDiv Staff

Hi Friction,
Normally, the only thing is to set the social link with www and http/https and there should be no problems, but in some cases, it can be something interfering and we need to investigate the problem.
Example of link https://www.facebook.com/TagDiv/
Thank you!

Anamaria
tagDiv Staff

Hello,

Unfortunately, no.
You can change the order, only if you use the mobile page or a mobile responsive version; for mobile theme + AMP, you can’t customize it as you want.

Thank you for your understanding!

Viewing 25 results - 4,951 through 4,975 (of 38,683 total)