- 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,
1. From what I can see testing your website with the Google tool, your server takes quite a long time to respond
– https://www.screencast.com/t/oTXTfzCX
Maybe contact your hosting and have theme check why is this happening. You could also check some other topics, optimizing the website loading speed is not an easy task sometimes. Read this topic for example, there are more online
– https://wpcurve.com/wordpress-speed/
2. That would happen if Cloudflare rocket loader is active, disabling it solved the slide effect for most users.
3. Those elements were removed as they are not supposed to be there for pages. If they still appear for you when editing a page, then you are not using the latest theme version.
Thanks
Hi,
@devicepit Seems those posts lead to 404 pages when trying to access the AMP link
– https://www.devicepit.com/tech-terms-that-youre-probably-misusing/amp/
Try to re-save the permalinks in WordPress settings
– https://www.screencast.com/t/XCIqK8kCK
Then access a post and see if the AMP link works. Then let me know and I will take a look at it to check those errors you mention.
Thanks
Hi,
Please check if the social counter plugin is active and if you recently updated the theme check it’s version and timestamp
– https://www.screencast.com/t/ib3oHZ299yN
If you recently update the theme there should be an update button in the theme plugins panel
– https://www.screencast.com/t/jAzHawsk5Ya
If there is no button, delete the plugin and reinstall it from the same panel.
Thanks
Our Website Celebrity Bio & news relevant. We want to our Celebrity Bio post style as like
https://www.rottentomatoes.com/celebrity/hugh_jackman/ https://www.imdb.com/name/nm0413168/ but we don’t create custom Post layout. Can you help us? https://celebrityping.com/tdb_templates/blank-single-template/
our website url https://celebrityping.com/
Dear Team
After the recent update, the AMP plugin even though its active for all posts. Kindly check
I just bought this theme, trying to set things up, and my logo and header images are not rendering properly – the logo shows up too small and the image doesn’t format as shown in the example.
Hi I just setup the last version of AMP Plugin on Newspaper Theme, but when traying to test the amp pages with:
https://search.google.com/test/amp
https://validator.ampproject.org
The had some errors or aren’t found by the validator giving a 404.
Maybe I did something wrong… Can you help me to figure it out?
I used this URL on the test:
http://www.tendencia24.com/2018/07/14/james-podria-regresar-al-madrid/
and
http://www.tendencia24.com/2018/07/14/james-podria-regresar-al-madrid/amp
on both fail.
Thanks.
Hi guys
I am using setting up my blog using the Newspaper theme and so far so good. On my single post page I have a sidebar widget that shows my latest post.
Is it possible to have different settings for this sidebar widget based on the posts category?
For example I have two categories (music releases and music mixes) and when reading an article about a release the sidebar should show latest mixes. Vice versa if you are on a music mix page.
Is this kind of customization possible?
Currently it is domain_name/category/article_name/amp
I would like: domain_name/amp/category/article_name
not really the correct methodology there, as the canonical name is the ‘real’ content location; while the /amp/ endpoint is simply an additional location for the still rare amp-connections via compatible devices and which points back at the original canonical location; meaning the /amp/ endpoint is not a real URL, but a redirect, just like a print-friendly page. You can’t have two URLs SERPS for the same page, so the “real” location is the desktop location for “most” people, and the /amp/ endpoint is secondary location for the small audience seeing/getting /amp/ content — it’s not the canonical link in SERPS.
Hope that made some kind of sense.
(I don’t work here.)
My web pages show the date in the publications, except for one.
You’re wrong. You have a lot of pages where there is no date. For example:
https://soyunperro.com/signos-miedo-perros/
https://soyunperro.com/perros-predecir-muerte/
https://soyunperro.com/perro-molesta-sople/
and so on.
If you are using some untested plugins, try to disable all of them and leave just to active only the plugins that come bundled with the theme core files and check the results.
Hi
I finished setting up the flex block how I want it, but I’ve just noticed it is not mobile responsive. For example, I’m using flex block 1 with 4 modules per row. Can I get it to show 1 module per row on a mobile device?
Thanks
Dear,
Firstly thanks for your awesome work.
I use newspaper theme v8.8 with tagdiv amp plugin v1.2.
At least I have 2 problems:
-
Generated amp page own internal links to cross-reference my article and they do not use the attribute rel=”amphtml” which is recommended.
Google Search console message: Invalid URL for HTML attribute “href” in tag “a”
See more: https://www.ampproject.org/docs/fundamentals/spec#links
Page example: https://www.beart.fr/art-culinaire/recettes-bien-etre/wraps-maison/amp/ -
Goggle search console message: The “img” tag can only appear as a descendant of the “noscript” tag. Did you want to use “amp-img”
See more: https://www.ampproject.org/docs/reference/components/amp-img
Page example: https://www.beart.fr/voyages/puy-en-velay/amp/
How can I fix these amp error ?
Bonus questions:
How to change url scheme for amp page ?
- Currently it is domain_name/category/article_name/amp
- I would like: domain_name/amp/category/article_name
Is it a better practice to end url by /amp ?
Thanks for your help
Best regards
Hi!
Please tell me how to make all the pictures in the blog have a thin frame along the contour of the picture?
Example:https://yadi.sk/i/WgP3q-Vs3Z9sJS
I haven’t started using google adsense since my blog is a newbie. I have latest version plugin of AMP installed, I don’t use any other plugin for mobile acceleration.
But I am facing an issue with invalid css stylesheet and this issue has occured with all of my posts! Google is suggesting to add this <style amp-custom> to the stylesheet. The following links are the one with the issue:
https://www.devicepit.com/tech-terms-that-youre-probably-misusing/
https://www.devicepit.com/difference-between-emoticon-and-emoji/
https://www.devicepit.com/everything-you-need-to-know-about-oled-amoled-and-qd-led/
https://www.devicepit.com/what-is-lifi-technology-lifi-vs-wifi-visible-light-communication/
Remove the code and return to default, see what happens. If there is no problem enter it again
<?php
$time = human_time_diff(get_the_time('U'), current_time('timestamp'));
$pos = strpos($time, 'months');
if ($pos>0) {
echo $td_mod_single->get_date(false);;
}
else{echo $time . ' ago';}
?>
This is the same code I used and it works as shown above. Test and check all the other modifications made until now. test only with the mobile theme modification maybe, remove all others temporarily.
This is the code i am using on my single.php page (post page on mobile theme)
<?php
$time = human_time_diff(get_the_time(‘U’),
current_time(‘timestamp’));
$pos = strpos($time, ‘months’);
if ($pos>0) {echo ‘<div class=”classing”>’ . $td_mod_single->get_date ( show_stars_on_review, false) . ‘</div>’;}
else {echo ‘<div class=”classing1″>’. $time . ‘ ago’. ‘</div>’;}
?>
and its bringing same time for posts and related posts
Hi,
Try some general suggestions, like these for example
– https://docs.presscustomizr.com/article/229-fixing-errors-when-uploading-images-in-wordpress
– https://www.wpbeginner.com/wp-tutorials/how-to-fix-image-upload-issue-in-wordpress/
Be sure to check WP memory and upload_max_file parameters
– https://forum.tagdiv.com/requirements-for-newspaper/
WP memory can be set higher than the guide recommends if possible.
Thanks
Hi,
I have changed the category template in Category global settings and now all the category headlines are missing.
I am trying to use template 4 to make my categories look like in the demo version “travel theme” (https://demo.tagdiv.com/newspaper_travel/category/destinations/europe/), but I am not getting the headline (“Europe” in the case of the example)
Thanks for your help!
Hi,
Works for me also – https://www.beingtricky.com/root-android-without-computer/amp/
I see no problem with AMP and the posts I checked.
How can I change the pages in the order I want from the drop-down menu? For example, that it appears: Femenino, Juvenil, Cadete.
Hi I have activated amp plugin but it is not working here is the link to my site kindly check and give me the solution
https://www.beingtricky.com/
Hi,
First of all note that this sorting option will not work with caching
– https://forum.tagdiv.com/7-days-post-sorting/
If you don’t use caching, then it would work. First activate the setting in the theme panel as the guide suggests. Choose the sorting method for the elements you want. Make sure post views are active
– https://www.screencast.com/t/fnznXYDJ2
The moment you activate the theme panel 7 days setting, the count will begin. Posts with most views will be displayed in the block. Check if the post view count works, each time the post page is refreshed for example, the views should increase.
Thanks
Glad it works. If you want that code to apply only for desktop for example, enter it in the Advanced CSS sections, in the desktop field.
Hello,
Please note we have not tested this type of ads so we cannot ensure their proper functionality.
The amp plugin does not have a custom code section so any code needed for the amp ads, will have to be added via ftp in the amp plugin files. https://www.screencast.com/t/qV5bNugvV
Thanks.