- 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
Hi there,
we are facing an issue with the Flex Block only.
When we create new posts we often have the thumb placeholder not showing, actually nothing – which then causes the formating to fail for our newsroom page.
You can check the normal behaviour here: https://www.livetube.tv/news
Here is an example how it looks when the first image is not showing and also not the thumb placeholder
https://app.screencast.com/HQv1Q5nE4fzLq
Here with magnifier
https://app.screencast.com/w9BRg0tku0qUk
Here is a link to our thumb placeholder
https://www.livetube.tv/news/wp-content/uploads/sites/8/2022/11/Placeholder-Large-LiveTube.jpg
For all other blocks the thumb placeholder is showing correctly
We would appreciate your help with this
Thanks
I went through it, there is no solution given there, even the person who started the thread says, it is not working for them.
You need to test AMP out thoroughly, please. We tried on two websites and there are no tracking results.
Yup, does not work for us either. We tried on all our sites. GA4 AMP with newspaper is not tracking AMP pageviews, users etc.
Hello @jackb149!
In the cloud templates, you can add the ads when you edit the post with TagDiv Composer in the element called ” Single Post Content ” in the tab ADS. Documentation here: https://forum.tagdiv.com/article-ads/
Or you can use the element called “Ad box” from TagDiv Composer, and there you need to add the ads: https://forum.tagdiv.com/ads-adsense-overview/
In order to customize the ads on mobile, this will depend on the mobile version that you use. You can choose from three different options:
1. Responsive version: A responsive version of your website looks similar to the desktop version. TagDiv Composer is used to edit the page. Click on the mobile viewport: https://www.screencast.com/t/XDQJedlggSB. There, you can see your mobile version and edit or adjust the elements to look better.
2. Mobile pages: https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages
3. Mobile theme plugin: The Mobile Theme is a performance-optimized theme included in the main Newspaper theme that only loads on mobile devices. It comes with its own templates and designs for pages, posts, categories, etc., so your current templates from the desktop theme will get converted to the mobile theme layout. Please see https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/ for more information.
A full explanation is here: https://www.youtube.com/watch?v=SpGkOnJeNZY
In your example, the last column is the column from the right(desktop). But, we have an option to re-order the columns: https://forum.tagdiv.com/topic/how-to-re-order-the-post-page-on-mobile/
Thank you!
Hi,
First, I want to make sure that I was able to inform you of all data about the mobile versions that our theme can have.
1. Responsive version, this is by default when you install the theme and you do not use the mobile page or mobile theme plugin.
2. Mobile page/template this allows you to create with tagDiv Composer and cloud a different layout and set different elements for mobile and iPad/tablet and it will overwrite the responsive version.
3. Mobile theme plugin, this is a light theme version for mobile that will overwrite the mobile page and responsive version if enabled. The mobile plugin is also used as a template for amp version.
So when you have a mobile page/template this will be used instead of a responsive version, but if you also have the mobile theme enabled, this one will override both of them.
How to combine them? Yes, this can be possible, for example, the mobile page/template will apply only on that page or cloud template that is assigned. But what to do if you want to use a mobile theme plugin too? If you use the mobile theme, in the Gutenberg editor it is an option to disable the mobile theme in the current post/page, if you use the option, then it will use the mobile page/template (if assigned) or the responsive version.
So in your case, you can disable the mobile theme on the homepage -> https://i.imgur.com/NX57q4t.png or if you do not want it at all, disable the plugin or use it only for amp -> https://i.imgur.com/Grlz5Ee.png.
Here is also a video that explains all those -> https://www.youtube.com/watch?v=SpGkOnJeNZY
Hope this will help you!
Thank you!
Hi,
The amp was implemented to work with mobile theme, for more details please check here if you want to use it without a mobile theme -> https://forum.tagdiv.com/topic/amp-pages-not-working-well-with-this-theme/
Also, you have a very good score -> https://i.imgur.com/G3DhFux.png -> https://i.imgur.com/Vw3iYqN.png, and the site load fast.
Thank you!
Hello,
Please check this topic https://forum.tagdiv.com/topic/low-scores-on-mobile-theme-amp-and-desktop-pagespeed-and-gt-metrics-optimize/ and try this code ->
// Preload Newspaper fonts for responsive theme (main theme) function dns_prefetch_responsive()
{
echo '';
echo '';
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
Also, please check this post https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
Thank you!
Hi,
I am unable to add archive templates for custom taxonomies. I am using ACF plugin. When I import a blank template it’s added in the list of templates in Cloud templates->CPT/Taxonomies->Custom Taxonomies – Templates, but when I make any change to the template from the edit option that we get when we hover on three dots (not edit with TD composer), it disappears from the list.
For example, I imported a template from cloud library for a custom taxonomy that I created called “section,” When I clicked on edit, it took me to new tab. There I changed its name from Blank taxonomy to Section taxonomy template and updated it.
When I retured back to the CPT/Taxonomies section of the cloud library and scrolled down, I found that my template was no longer there. This message was written there: “No cloud templates. Please import one or more templates from Cloud Library.”
I tried this 5 times — same results. I once even tried not making any changes, just clicked the update button. It still disappeared. But surprizingly, I found all the invisible templates at this url: “mydomain[dot]com/wp-admin/edit.php?post_type=tdb_templates”
My website even sent me an email regarding the fatal error caused by tagDiv Cloud Library. You can see the snipped it sent me below:
Howdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, tagDiv Cloud Library.
It sent the error details as well. Please have a look:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2
Active theme: Newspaper (version 12.3.1)
Current plugin: tagDiv Cloud Library (version 2.6 | built on 06.04.2023 10:28)
PHP version 8.1.2-1ubuntu2.11
Error Details
=============
An error of type E_ERROR was caused in line 77 of the file /mydomain.com/wp-content/plugins/td-cloud-library/state/tdb_state_loader.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /mydomain.com/wp-content/plugins/td-cloud-library/state/tdb_state_loader.php:77
Stack trace:
#0 /mydomain.com/wp-includes/class-wp-hook.php(308): tdb_state_loader::{closure}()
#1 /mydomain.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /mydomain.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /mydomain.com/wp-settings.php(623): do_action()
#4 /mydomain.com/wp-config.php(88): require_once(‘…’)
#5 /mydomain.com/wp-load.php(50): require_once(‘…’)
#6 /mydomain.com/wp-admin/admin.php(34): require_once(‘…’)
#7 /mydomain.com/wp-admin/post.php(12): require_once(‘…’)
#8 {main}
thrown
Please also note that there are options in the edit window to select the template type from the dropdown like “header, search, tag, etc.” I tried to experiment with that as well. I once kept it at default “No template type” and after encountering the issue changed it to tag, but it didn’t help. I couldn’t find an option for custom taxonomy in the dropdown.
Custom post types and taxonomies are the foundation of my website from structural perspective. This issues has caused me great inconvenience and more than that, frustration. Please help.
I shall be extremely thankful.
Regards.
Also, why can’t I use AMP without “Mobile Theme”? It checks the new version, where these errors are fixed, 3 times a day. No new version has been released yet.
yes, that option is selected. but; With “Mobile Theme” the site is very slow. Please check the JS part.
Because of these javascript errors, my site lags a lot in Google. I started getting errors after updating the newspaper theme.
Hi gang. Can we use AMP and the tagDiv mobile theme at the same time that we use cloud templates for our normal, mobile responsive site? Please see the video here for details. Thanks in advance!
Hello!
This issue has been discussed here: https://forum.tagdiv.com/topic/google-analytics-4-ga4-for-amp-pages/
Thank you!
Hi,
We are facing a problem of Amp pages not being added in GA4.
In Google Analytics Universal, they are adding fine but in GA4 they are not.
We have added the GA4 Code to amp analytics in the theme panel, but still, GA4 is not able to pick it up.
What could be the reason?
Website: http://www.gadgetbridge.com
Hi,
Can you please send me the exact settings of the cryptocurrency plugin + the custom CSS or the relevant settings on TagDiv composer for the green crypto price widget table in the middle of the page of this demo prebuilt website:
https://demo.tagdiv.com/newspaper_crypto_pro/
Thank you
Hi,
The AMP only works better with the Mobile Theme plugin, and you need to select this option -> https://i.imgur.com/U1pH6QN.png
Also, please check this topic where I explained each mobile version -> https://forum.tagdiv.com/topic/mobile-version-not-working-properly-2/ -> https://forum.tagdiv.com/topic/amp-pages-not-working-well-with-this-theme/ and choose what mobile version you want.
Thank you!
Loading duplicate modules in JavaScript packages
Hi,
Out of nowhere AMP started giving problems. I wrote here. authorized friend solved the problem with “mobile theme”. But; Google ranking did not improve. Good URLs are zero. I want to use AMP normally. Please help me.
Mysites : https://www.tatilpanosu.net
AMP : https://www.tatilpanosu.net/dorukkaya-ski-mountain-resort-incelemesi.php?amp=1
Now : AMP + Mobile Theme
i want to use : AMP + regular theme (no Mobile Theme)
A site skin add is something that advertiser sometime ask us, and that newspaper don’t have, only background add, which leaves us no other option but decline the ad campaign.
Tried several plugins, without success.
In other posts already pointed some problems and bugs with the ad placement in newspaper.
Don’t know what a site skin add is? Here
It’s a shame that newspaper does not allow us to fully explore ad solutions leading to loss in revenue
vakvas for what you want you don’t need a plugin, in the theme menu in ads go to “Background click Ad” and place the url, then go to “Background” and upload the ad
-
This reply was modified 3 years by
Archerix.
Hello!
Can you please provide an example of what you’re trying to achieve and where the issue is?
Thank you!
Hello!
Try to do this with the help of a plugin, for example: media cleaner plugin.
Thank you!
Hi Guys,
I’m using a custom shortcode which I place in the sidebar on cloud archive templates and cloud single post templates.
The shortcode works fine with standard pack templates but fails to render anything in cloud templates.
The shortcode is really simple, like this.
if ( is_category(306) || ( is_single() && in_category(306) && !has_tag(array(464,37755)) ) )
{
echo do_shortcode(‘[bsa_pro_ad_space id=”63″ crop=”no”]’);
}
I assume it’s because the categories and tags aren’t being fetched by the cloud templates so is_category or in_category aren’t working properly.
What do I need to do in order for the shortcode to work in cloud templates?
Do I need to declare the queried object id’s somehow?
Thanks
Matt
Hi team,
i am using mobile theme for AMP, i couldn’t able to see Post and Custom Post Types setting on my theme panel(version: 12.3.1) to show my author on my amp page. how could i show my author name on my amp pages.
Hello,
please, do you have some experiences about using this plugin and ads placed as background or ad placed next to content, aligned with content left or right.
Plugin has option like “main content element”, is used for element to align ads to. Im nit able to find right CSS element.
Im not able to setup this.
What is the expectation?
Place ad next to content or in background, left side or right side, sticky or not sticky.
Any advice to make it work, will be great.
Only what work is align ads as sticky to page, but not align to content.
Thanks a lot
Vaclav
Facing exactly the same issue.
This seems to be happening when “Double opt-in email” is enabled in Leads block (placed in footer, for example) – e.g. user must receive an email and confirm subscription.
Have you found a solution?