- 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
I have set the AMP option “ON” in my google adsense account. But I have not installed any AMP plugin so far on my wordpress site. As I understand Newspaper theme is responsive, so I don’t intend to use Newspaper mobile theme plugin.
Please advise can I install and activate Newspaper AMP plugin only without installing Newspaper mobile theme plugin . How the AMP plugin will benefit? What precautions I need to take before installing Newspaper AMP plugin and what settings I will need to do?
Thanks & Regards….. Renu Bakshi
Thanks & Regards……. Renu Bakshi
Please
My latest posts in home page available on desktop but in mobile device is not showing. I was trying to setup amp with mobile theme, however i was unable to setup. That’s why i deleted amp and mobile theme. Now how can i go back to my previous version where i can see my all post in mobile device.
Hi,
Please try these example -> https://wordpress.org/support/topic/gmail-flagging-emails-as-dangerous/
Also the link can be set using html tags, here is an example how to do it -> https://www.w3schools.com/html/html_links.asp
Thank you!
Hi,
You can use the standard comments as in the example from here -> https://www.w3schools.com/css/css_comments.asp
Thank you!
Hi,
1. If you are using a pro demo, the footer is a cloud template, then you’ll need to edit it from a page, for example, you can edit the homepage, click on edit with tagDiv Composer -> https://i.imgur.com/uweNRrc.jpg after that go down to the footer end edit it how you want (now you can customize the the whole web-page from fronted).
2. Please not that there are some standard footer templates that are pre-made (example Footer 1, Footer 2) and these can not be edited -> https://i.imgur.com/iSi9SNh.png the footer info can be edited for these from here -> https://i.imgur.com/W3Bs6V7.png
Thank you!
Hi aagrlp640,
The options from mobile plugin are similar with these from standard plugins -> https://i.imgur.com/WnHkyBC.png (for blocks) and this for articles -> https://i.imgur.com/PfVeY43.png
This will remove the author from your website on mobile theme and amp.
Thank you!
Hi,
Is look that you are not testing correctly the amp version it need to be like this -> https://i.imgur.com/u9OHDnl.png -> https://search.google.com/test/amp?id=eYw95_HscKcJuO4DjXaQYQ -> https://i.imgur.com/rLc9wvY.png -> https://search.google.com/test/amp?id=ObfDIldrvfdmDqR7NYSBRw your website is working perfectly on amp.
Thank you!
Hi,
Your example for smart list is look like smart list 2, but from what I understand you’ll like to achieve something like smart list 7.
1. Some change in style it can be achieve using custom css or using a smart list from cloud library that can be edited with tagDiv Composer
2. This can be achieve in function of the smart list you are using.
3. Unfortunately this can not be achieve with smart list, but you can achieve an infinite loading using a single post template and this option -> https://tagdiv.com/infinite-loading-for-single-posts/ from post -> https://i.imgur.com/yIf6fA3.jpg -> https://i.imgur.com/KeclHLS.jpg -> https://i.imgur.com/4jHIHFY.png
4. Our theme do not have an option for this, it can be achieve only with custom work and this is not covered by support theme.
5. The view count is set only for reloading of posts (it will count only once), the next and prev buttons from smart list is using ajax.
Thank you!
I was using Newspaper9 version on my website.The support period had expired long time ago. Today, I purchased your Newspaper X. I deactivated Newspaper 9. Now I am trying to install Newspaper X wordpress zip file only. But it’s not getting installed. Please guide me how to update/install it. Please provide me your guide & step-by-step instructions to do it.
Thanks & Regards…… Renu Bakshi
Hi,
This error happens due to a lot of possible reasons. Check the useful guide from here -> https://www.hostinger.com/tutorials/fix-sorry-you-are-not-allowed-to-access-this-page-wordpress#gref
Theme activation -> https://tagdiv.com/how-to-activate-the-newspaper-theme/
You can manually activate the Newspaper theme from here: https://www.screencast.com/t/EL4k48Lq
If this is still not working go in Newspaper> System status and replace the url from: -> https://i.imgur.com/WlRnszw.png
admin.php?page=td_system_status
in
admin.php?page=td_system_status&reset_registration=1
And try after that to activate the theme.
Let me know the results!
Hi,
This depend on how you like to look, for example you can use this demo -> https://demo.tagdiv.com/newspaper_spa/ or you can use this one -> https://demo.tagdiv.com/newspaper_law_firm/lets-connect/ or you can use a pro demo https://demo.tagdiv.com/newspaper_classic_pro/ or https://demo.tagdiv.com/newspaper_royal_pub_pro/ all you need to know is how your client will link to be the layout of website.
Thank you!
No, its still showing author 🙁 i mean in amp mobile version, in desktop its fine
Hi Vlad
We had been using this feature for almost 4 months now. It just suddenly stopped working. Please see example here https://www.textilegence.com/en/digital-printing-news/
We do meet the requirements as we have been using newspaper theme for over 4 years.
Hi,
I think that this is all about the device you are using, for example on desktop will look like this -> https://i.imgur.com/QhMHrS9.png but on tablets that has a low resolution -> https://i.imgur.com/QG2xAgp.png and on mobile it will be like this -> https://i.imgur.com/5Xkav0U.png
If this is not the problem, please provide some more details.
Thank you!
Hi,
Please make sure that you test the amp content like this -> https://i.imgur.com/rtiDiFA.png
Make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Let me know the results!
Thank you!
I have tested my site: https://www.starslands.com/
using this: https://search.google.com/test/amp?id=Wma8iXyoa7bET3kAr26I9g
and one of my post: https://www.starslands.com/madonna-gets-mocked-for-putting-up-sons-video/
using this: https://search.google.com/test/amp?id=X6N673kIZQXNzQO1x5KAjw
and it says that my site is not amp. – “This page isn’t an AMP. However, it references the following URL as its AMP version:”
I was under the impression that it should automatically choose the amp version for the user as I’m using mobile theme and defined as Mobile+AMP
Can you please suggest some assistance here, please.
Many thanks.
Hello !
Please make sure that you’re inserting the code in the proper way: https://www.screencast.com/t/ZonfWIPkgeq Follow our guide for more: https://www.youtube.com/watch?v=biTpVVlr8j8&t=3s
Thank you !
how to sort categories in mega menus not by name but id?
for example, I have a category called wordpress but I want it to be visible in the list first and not last, like changing the sort order from name to id
Hi there,
We’ve installed Newspaper & we’re having issues installing the demo ‘Default Pro’ with the content & activating the theme.
Our purchase code is
url is http://www.wethepeople.org.nz
When trying to install the demo it comes up with the error tagDiv importer detected an error. The importer will try to recover and continue to install the demo… that error shows multiple times & unfortunately doesn’t install anything.
We’re running Ubuntu 18 with php v7.2 on Apache, WordPress v5.4.2
PHP memory limit is set to 256M
MySQL version 5.7.3
The Newspaper system status is all green (except the ‘Theme is not registered’) and yellow as no caching plugin detected
We’ve tried deactivating all other plugins (there’s only one other installed) but unfortunately the same issue. We’ve even tried setting the directory to 777 in directory permissions in case there was an issue there.
With regards to activating the theme we’ve tried both the automatic & ‘Activate the theme manually’ & unfortunately both show the loading circle infinitely.
If you have any advice or anything else for us to try would be great.
I have already tried this and tried it now again but I the critical error persists and the mobile pages can’t be loaded anymore. When I move the metainfo back into the header it works again.
I just want to move the metainfo for views and author and the comments before the featured image, because they cause in the viewpoint a large cumulative layout shift because of the used font-awesome…
<article id=”post-<?php echo $td_mod_single->post->ID;?>” class=”<?php echo join(‘ ‘, get_post_class());?>” <?php echo $td_mod_single->get_item_scope();?>>
<div class=”td-post-header”>
<?php echo $td_mod_single->get_category(); ?>
<header class=”td-post-title”>
<?php echo $td_mod_single->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’];?></p>
<?php } ?>
//metainfo moved to another position
</header>
</div>
<div class=”td-post-content”>
<?php echo $td_mod_single->get_content();?>
<?php
// meta info after post content
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false,false);?>
<?php echo $td_mod_single->get_comments();?>
<?php
if ( ! td_util::is_amp() )
echo $td_mod_single->get_views();
?>
</div>
// override the default featured image by the templates (single.php and home.php/index.php – blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
if (TD_THEME_NAME === ‘Newsmag’) {
echo $td_mod_single->get_image(‘td_640x0’);
} else {
echo $td_mod_single->get_image(‘td_696x0’);
}
}
?>
<?php echo $td_mod_single->get_social_sharing_top();?>
</div>
If I delete this part of the code: <div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false,false);?>
<?php echo $td_mod_single->get_comments();?>
<?php
if ( ! td_util::is_amp() )
echo $td_mod_single->get_views();
?>
</div>
it seems that the lazy loading in the mobile version doesn’t work anymore…
And after trying to move them on the new position the text under the images in the mobile theme isn’t centered anymore…
If I move the meta-info after the featured image it works: but the text isn’t shown inline..
<article id=”post-<?php echo $td_mod_single->post->ID;?>” class=”<?php echo join(‘ ‘, get_post_class());?>” <?php echo $td_mod_single->get_item_scope();?>>
<div class=”td-post-header”>
<?php echo $td_mod_single->get_category(); ?>
<header class=”td-post-title”>
<?php echo $td_mod_single->get_title();?>
<?php if (!empty($td_mod_single->td_post_theme_settings[‘td_subtitle’])) { ?>
<p class=”td-post-sub-title”><?php echo $td_mod_single->td_post_theme_settings[‘td_subtitle’];?></p>
<?php } ?>
</header>
</div>
<div class=”td-post-content”>
<?php echo $td_mod_single->get_content();?>
<?php
// override the default featured image by the templates (single.php and home.php/index.php – blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
if (TD_THEME_NAME === ‘Newsmag’) {
echo $td_mod_single->get_image(‘td_640x0’);
} else {
echo $td_mod_single->get_image(‘td_696x0’);
}
}
?>
<?php echo $td_mod_single->get_social_sharing_top();?>
</div>
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false,false);?>
<?php echo $td_mod_single->get_comments();?>
<?php
if ( ! td_util::is_amp() )
echo $td_mod_single->get_views();
?>
</div>
<footer>
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
Hi,
Most probably that is because you are using mobile theme plugin( then you’ll use only two thumbs -> https://imgur.com/vwVIXUg), using this plugin, you’ll gain a better speed then responsive version of theme, but in order to achieve that speed you’ll need to create a new content for pages because in the most of cases those were made with builders ( tagDiv Composer, WPBakery ) and you need to use only the mobile editor ( you need to set the content for pages in mobile editor and this content will be display on mobile theme)
-> https://i.imgur.com/9d0UWLT.png
Also you can show the responsive version on mobile theme -> https://i.imgur.com/m0bVB5T.png you can check more details about mobile theme in our documentation -> https://forum.tagdiv.com/the-mobile-theme/ or if you want to have the responsive version only, you can use the amp option from mobile theme -> https://i.imgur.com/oofST3D.png (to use the mobile theme template on amp) or you can disable the plugin.
Thank you!
I send you also this to see what i mean.
https://validator.ampproject.org/#url=https%3A%2F%2Fagravia.gr%2F
Hello !
Please make sure that you check your AMP traffic too. Normally AMP traffic is stored in Google not in website database: https://developers.google.com/analytics/devguides/collection/amp-analytics ; https://i.imgur.com/ZczTFrP.png
Let us know the results.
Thank you !
Hi,
Please make sure that theme plugins from newspaper > welcome are install and activate.
This error happens due to a lot of possible reasons. Check the useful guide from here -> https://www.hostinger.com/tutorials/fix-sorry-you-are-not-allowed-to-access-this-page-wordpress#gref
Theme activation -> https://tagdiv.com/how-to-activate-the-newspaper-theme/
You can manually activate the Newspaper theme from here: https://www.screencast.com/t/EL4k48Lq
If this is still not working go in Newspaper> System status and replace the url from: -> https://i.imgur.com/WlRnszw.png
admin.php?page=td_system_status
in
admin.php?page=td_system_status&reset_registration=1
And try after that to activate the theme.
Let me know the results!
Hi,
For removing the the js you can try some functions like this one from thus article -> https://wavemotiondigital.com/2016/07/16/remove-new-relic-javascript-from-wordpress-amp-pages/ also I think that Largest contentful paint is a new element added in google speed tester, we’ll make some investigation to make the theme better for Largest contentful paint too.
Thank you for your understanding!