- 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
Hey, Catalin.
We publish content in our staging site with absolute or relative URLs. If we use a relative URL, nothing goes wrong – it works like a charm. However, this takes extra overhead to process.
If we use absolute URLs while coding in a custom HTML block in TagDiv Composer, like https://stemcellpowernow.com/stem-cell-therapy-faq, then save the page, it is instead usually saved as https://staging5.stemcellpowernow.com.
We have tested this dozens of times with all sorts of workaround attempts and each time we save an absolute URL pointing at our live site while developing on our staging site, the URL runs the risk of being changed to the staging URL instead.
We have also tried taking pages that were made on the live site, creating a staging copy, then updating data on the site and pushing back to live. The URLs get changed to point at staging5.stemcellpowernow.com even though we did not change those links at all.
A useful example would be to go to staging5.stemcellpowernow.com/stem-cell-therapy-faq and stemcellpowernow.com/stem-cell-therapy-faq see that both of them point at staging5, even though we never had those URLs pointed at staging5. Staging5 was created almost a week ago, while that page was created around a year ago.
We contacted our host and confirmed that they never change the URLs. We do not and did not have any form of plugin installed that changed these URLs. We have tried downloading plugins to quickly change those URLs back after going live (which is still not ideal), but they can’t find any of the URLs that were made in custom HTML blocks by TD Composer.
Screenshots can’t capture the change, it’s simply a difference in URLs from what’s being written in the composer and what’s actually being saved when we save using the composer. My guess is that these are rewritten when the Custom HTML block is processed?
If you do want screenshots anyway, please let me know what part of the process you want screenshots of and I will get them for you.
I replaced the child theme with that of 9.7.3, and it looks pretty good, but it puts the basic settings and if you try to change them from the theme panel (for example the post settings) it doesn’t change anything. Moreover wordpress 5.2 signals an error on index. so at the moment I reported everything at 9.7.2
Hi,
I have installed Slider revolution and embedded the slider in the theme. However, the responsive design is not working. Please advise how to do.
In addition, For the page setting, i am using WordPress 5.2.1, when i am editing the page, i cannot adjust the block setting, it must be editor in TagDiv Composer. May i know what to do to enable block setting in page edit instead of using TagDiv Composer. Thanks!
Cheers
Fred
Resolved! What if I disable Mobile theme and install a famous AMP plugin which is widely used ( https://wordpress.org/plugins/accelerated-mobile-pages/). In that, I love some templates which are more attractive than tag Div mobile theme. It will be fine ? If i do ? I wish some more mobile theme templates need to be added. You have dozens of Desktop templates. But not for Mobile.
Hi Support team,
im using your newspaper premium theme and i installed mobile and also amp plugin but when i open my website in mobile device it’s not showing mobile version what is the problem?
Hi,
Indeed there are some problems using the child them and WPBakery,
Please check this topic for child theme -> https://forum.tagdiv.com/topic/website-broke-after-update/
The reason for doing it was because users who wanted to use for example single images in WPBakery, couldn’t because the tagDiv composer affected the single images functionality.
So now when WPBakery is active and users wish to use it bot thre are still some problems, some elements will not be part of the composer, to prevent conflicts. If a different solution is found, this may change however.
Sorry for the inconvenience!
Thx. We use „amp+mobile” since this option was available. I’ll send your screen with code to our dev and let you know if its going to work.
Hi,
From what I can see in the website page sources there are no links to AMP. The mobile theme is active, that would mean that this is the option selected in the theme panel
– http://prntscr.com/nvwykl
If the mobile theme and AMP plugins are active, and one of the two other settings is selected in the theme panel, there should be AMP available, like this example
– http://prntscr.com/nvx0tq
Thanks
Please look what happend after an upgrade from 9.6.1 to 9.7.2
https://prnt.sc/nvwunk
Green chart shows AMP indexed url in search console
-
This reply was modified 7 years by
Jumich.
Hi,
I haven’t seen that error before. I checked the with the AMP validation tools, seems AMP is valid at the moment – http://prntscr.com/nvwi07 – http://prntscr.com/nvwi40
But when I test with the structured data tool there is an issue
– http://prntscr.com/nvwo63
Could be related to the schema Yoast adds, which cannot be disabled it seems
– https://github.com/Yoast/wordpress-seo/issues/12752
It could be disabled with a code in the functions file
– https://developer.yoast.com/schema-documentation/api/
You could try to disable it temporarily and check again to see if this is really the cause.
Thanks
Hello @Calin
I have disabled the feature in post setting but if the images load you need to do a back page with the browser to get back in the post, the image loaded doesn’t have arrows for previous and next … well it’s not ok.
I don’t use & have backery
Gunter
thanks now it works, but how can I put an adsense ad under the title in the single, ONLY IN AMP?
Hi,
1. The cloud library post template don’t have PHP files, these can be created in the composer like a page for example. So they don’t follow a predefined code structure like the default post templates do. The predefined templates can’t be edited with the composer, only in their PHP files.
The loop files of the predefined templates are in the tagDiv composer plugin, you could modify them there, just follow the highlighted directory path – https://prnt.sc/nvedxl
2. One loop single file remained in the theme folder, the default post template. But this will apply only if the tagDiv composer is not active, as a temporary post template basically, before the composer is activated. The actual post template default file is in the composer as well – http://prntscr.com/nvv7fi
So basically if you want to modify the predefined post template, you could do it in the composer plugin. Edit the template you want and modify it as you want.
If you have more questions let me know.
Thanks
Hi,
So the mobile theme is loading on desktop? In almost all cases this issues is caused by various caching plugins. But currently after browsing the website, it doesn’t seem to be happening anymore.
We recommend the WP super cache where possible, this will not cause such problems
– https://tagdiv.com/wp-super-cache-plugin-install-and-configure/
From what I can see at the moment, the mobile theme is set to apply only for AMP
– https://stackrackal.com/oneplus-7-pro-android-q/?amp
That would be this setting – http://prntscr.com/nvuwtr
I have tested the validity of an AMP post, there is 1 error
– http://prntscr.com/nvuxr0
This may happen if you are entering code in this section – http://prntscr.com/nvuy2e which is not a valid auto AMP ad code. The code should be like this – http://prntscr.com/nvuyuw
Please check if that is the case.
Thanks
Hey guys,
So I’ve just used that fresh new tool from Neil Patel called SEO Site Audit, which shows me 99 critial errors, of which 99 are due to the lack of title tags. Erm? Not sure what’s going on here. Also 99 title tag errors, but I only have 58 articles published.
I’m using Yoast SEO where theres a SEO Title option and all my articles are marked green light (which is good to go).
Any ideas?
My website is http://www.biohaker.pl
Best, Matt
Hi,
Those already have a horizontal scroll by default, for the bottom modules. For example big grid flex 9 on mobile
– http://prntscr.com/nvubui
You could hide the top 2 modules with CSS, but that would hide the 2 posts as well.
Adding a scrollbar to a flex block by a setting isn’t possible, but if this request becomes more popular it will be considered. Maybe it could be done with CSS, haven’t tried something like that however.
Thanks
Hi,
having the same issue. I want the first page to be a description of the smart list with a button “start slideshow” then it goes to the first element..
The code from OP helped me but it still shoes the first element on the first page, I’d really like to have only the description and then start with slide 1 on the next page.
Any way to do this?
I mean like this:
Thanks,
-
This reply was modified 7 years by
ebaskin.
hi guys, short info about an amp after update from 9.6.1 to 9.7.2 Look at this address: https://www.google.com/amp/s/radioklinika.pl/swiad-dlaczego-skora-swedzi/. Beafore it was validated by google as a pure AMP and indexed. Now it is not and my AMP index getting down (dramaticly). No comments…
Hi,
It won’t adapt automatically, you have to make the flex block adapt. So for example while flex block 1 displays 3 modules per row on desktop (which looks properly) – http://prntscr.com/nvrgul
On mobile it will display the same 3 modules per row (which doesn’t look alright)
– http://prntscr.com/nvrh8l
So you should set the block to display 1 module per row on mobile
– http://prntscr.com/nvrhhi
Most of the setting are per device (viewport) including the number of modules per row.
While working with flex blocks in the composer, keep switching viewports to see how the result looks on other devices.
If you have more questions let me know.
Thanks
The same problem, tagdiv team please respond & fix this issue ASAP.
I can’t say what will happen exactly, at the moment. This may change in the next theme update.
The reason for doing it was because users who wanted to use for example single images in WPBakery, couldn’t because the tagDiv composer affected the single images functionality.
So now when WPBakery is active and users wish to use it, some elements will not be part of the composer, to prevent conflicts. If a different solution is found, this may change however.
I get this message in google webmasters for AMP pages.
error in required structured data element
I think is the review system that causes it, think I saw “review type: thing” or smth but google doesnt highlight the code anymore.
Here is an example URL https://www.personal-reviews.com/2019/04/samsung-un55ru8000-review/?amp
AMP version has invalid structured data
Hi,
You need to set that code for mobile ads in Theme panel>Mobile Theme > AMP Analytics -> https://www.screencast.com/t/eaj9E3xDVRk also the code for desktop need to be set in Theme panel>Analytics -> https://www.screencast.com/t/26SmCckQ
Thank you!
The problem is in this div with class “td-a-rec td-a-rec-id-content_top”. Is in a display:none !important
<div class="td-a-rec td-a-rec-id-content_top td-rec-hide-on-m td-rec-hide-on-tl td-rec-hide-on-tp td_uid_2_5cf0ccd26b705_rand td_block_template_1">
<div class="td-visible-phone">
<div id="adv-gpt-box-mobile-container1" style="padding-bottom:10px"></div>
</div>
<div class="td-visible-desktop">
<div id="adv-gpt-masthead-skin-container2"></div>
</div>
</div>
A example link of my site is
https://wp.me/p7pQW0-sOc
the code is after Featured Image.
-
This reply was modified 7 years by
geniovi.
Hi,
Unfortunately the theme will take into account only one author of the post. Using a plugin and modifications in the theme there was a solution to display more authors in the post template, like this – https://forum.tagdiv.com/topic/co-authors-plugin-code/
But to display author boxes for each author there is no similar topic I could provide, with an example. I don’t think this was attempted before.
From what I know an easier integration with the co-authors plugin will be taken into consideration by our developer team, when that happens we will provide documentation for it. For the time being the theme will use and display only one author for each post. Sorry for the inconvenience.
Thanks