- ApiPractical example – How to add a new Block and Module
- ApiAPI – Smart Lists – Introduction
- ApiAPI – Category top section style – Introduction
- ApiAPI – Category top section template – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
Hello,
Im experiencing a lot of 502 and 504 errors. Our site is westfaironline.com. Back in October I was told to update the theme to its latest version. Which I did, but we are still having the same issues. I contacted our hosting provider and this is what they are telling me:
We have identified high admin-ajax.php utilization originating from the westfairsite install. Currently there is excessive ajax usage recently which is affecting the servers CPU Usage and affecting other users on the Shared server environment.
/wp-admin/admin-ajax.php?td_theme_name=Newsmag&v=5.1
Because hits to admin-ajax.php can’t be cached, they tend to utilize a lot of the server’s resources. Therefore, you will want to contact your developer in order to reduce this usage so that the site performs better.
There are also a large amount of requests from the same IPs and user agents hitting the site at the moment. If these are legitimate, we suggest placing the site behind our Advanced Network/CloudFlare directly, and/or taking steps to minimize these hits either with a robots.txt crawl delay, or a code delay if these are part of a service. If they are not expected, we can assist with implementing blocks if you would like.
75333 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
60978 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36
35467 Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
24205 Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1
19987 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36 Edg/96.0.1054.53
19257 Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)
18804 Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
17663 Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1
17001 Mozilla/5.0 (compatible; BLEXBot/1.0; +http://webmeup-crawler.com/)
15278 Mozilla/5.0 (iPhone; CPU iPhone OS 14_8_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1
14606 Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)
12779 Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
11527 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
10147 Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
9524 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
9235 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.141 Safari/537.36
8482 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
8374 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
8071 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
7996 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Safari/537.36
Problem Overview:
*On posts on mobile devices (and in our app based on WPsite), the header doesn’t display the image or menu. Instead it displays the text of the site title and header and click here to use wpmenu builder.
*In the cloud template for the header, everything shows fine at each size
Site: discovermuscatine.com
Dropbox folder with screenshots: https://www.dropbox.com/sh/nzjkq0v4hlbfl3z/AADS_Y3QhBexEOMYIDkHU7uPa?dl=0
Hello,
this week we make a giveaway and at the moment (day 3 of 7) we have over 1500 comments on this page:
https://www.android-user.de/gewinnspiel-weihnachten-2021/
Is it possible to limit the comments for example to 100 per page with a button to show the next 100? (desktop and mobile)
Thank you and best regards
Andre
Hi nayenews,
So, if I understand correctly, you are already use the mobile theme plugin with amp , using one of those options -> https://i.imgur.com/kzGpLFo.png there should be no errors.
Also please provide a link to your website and some screenshots with those errors.
Thank you!
Hello @fknews!
You can select a column and set it sticky as in your screenshot. Please note if you pass that row while scrolling, then the sticky effect will disappear too.
Please note that sticky columns will never work on mobile because they are displayed one under the other.
Thank you!
Hi guys, I am using Newspaper theme for years now (on many sites!) and I am very happy with it.
I am in the need of changing the Google Analytics code. I have a website with mobile theme + AMP, as your suggestions.
Now, I removed the code from the AMP Analytics section, https://prnt.sc/20xmwry
but I see traffic (ONLY Amp) in the Real Time Analtics dashboard! https://imgur.com/a/G6sykXi
If you make inspection of any page, you will find no code (UA-XXX..) in ANY page. I already flushed the cache, many times.
So, I ask you: how is this possible?
Do you know of any back-end installation of Newspaper theme of the Analytic code?
I need to remove it!
My site: https://www.beautydiary.it/
Thank you
Hello!
Please check the settings from above in the mobile viewport also because I can see your logo text will appear when you turn the settings: show. Check the screenshot: https://prnt.sc/22yobr2
If the problem is still there, then please send an email at contact@tagdiv.com and provide wp-admin, so we can investigate this issue. Also paste a link to this topic so we can easily identify you.
Thank you!
Hello!
Please check some tips in order to pass Google’s Core Web Vitals:
https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
https://www.stanventures.com/blog/cumulative-layout-shift/
https://web.dev/cls/ -> https://web.dev/optimize-cls/
https://www.datadab.com/blog/fix-cumulative-layout-shift/
https://wp-rocket.me/google-core-web-vitals-wordpress/improve-cumulative-layout-shift/
https://forum.tagdiv.com/topic/to-high-cumulative-layout-shift-in-mobile-theme/
https://www.perrill.com/should-i-be-worried-about-core-web-vitals/
https://www.contentkingapp.com/academy/core-web-vitals/
Some factors which you need to take into account are:
External factors: server speed, if you are using CDN or not, the external resources loaded by your website like ads, fonts, tracking scripts like Facebook Pixel, Google Analytics, Twitter analytics, Hotjar and so on.
Internal factors: the number of elements on the page, image size, image formats, if you are using mobile optimized layouts, console errors, if you are using the Standard Pack plugin on not, if you are using PRO demo or a standard one. So, we recommend to use for mobile the responsive version: https://forum.tagdiv.com/topic/issue-with-lcp/
Hope that helps you!
Thank you!
Hello!
You can disable the amp plugin and if you use the Mobile theme plugin, please make sure you use the option without amp.
Please make a test, deactivate all the cache plugins, clear the cache from your browser and see the results.
Please make sure you save it like that and also after modifications reindex by Google.
Thank you!
I am using mobile theme for AMP page and it’s working well. As of now, AMP compatible for individual post page.
Google search console sending redirect error for other than post page. Like category, tag pages showing errors in
google search console account
Any suggestion is welcome
Thanks
HI,
I am not asking for your support for page speed, it is related to your product that you built and sale on ThemeForest.
My question was How to change the related post style/element in the mobile theme plugin like flex block-1 – https://prnt.sc/22xkrlv
I want to use this kind of related post – https://prnt.sc/22xkrlv on mobile theme plugin instead of this – https://www.awesomescreenshot.com/image/18503343?key=01f53a15aba49e950fb004f218f00ebc
There should be an option in the Theme panel => mobile theme to customize the mobile theme frontend as well.
Hello @zaporo!
I can see that you have set up a 200px margin on the row or column in the CSS tab, please check while you edit the mobile page with the TagDiv Composer.
Let me know the results!
Thank you!
Hello @lalit!
I recommend you to optimize your images before uploading in the Media Library.
Please make sure that you have activated the proper thumbs for the Mobile Theme. The mobile theme requires the “265×198” and the “741×486” thumbnail sizes in order to show the featured images properly.
This can be found in here: https://www.screencast.com/t/N18dR3qZrh
After activating the thumbnail sizes you need to regenerate your thumbnails using a plugin. Check this: https://forum.tagdiv.com/using-the-theme-with-existing-content/
Please note that page speed is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
Hope that helps you!
Thank you!
Hi it has these settings, but it’s not showing up. Only on mobile. Does it need to be certain size?
Hi Anamaria, thanks for the reply, my mobile site looks fine without gap because I did a quick fix by adding -180 to the margin, see this https://imgur.com/a/YDJqF5K … however I encountered problem with long title as it will make the title overlap with post picture…
I also tried to set row margin top to 0 but nothing changed, see this https://imgur.com/a/zf5IheG
Hello @nwnuyhs!
Our developers are working a lot to improve the page speed in every update.
However, page loading speed can depend on many factors, and each website is unique from this point of view. Let me explain some of these factors and maybe they give you some starting points for optimizing your website.
External factors: server speed, if you are using CDN or not, the external resources loaded by your website like ads, fonts, tracking scripts like Facebook Pixel, Google Analytics, Twitter analytics, Hotjar and so on.
Internal factors: the number of elements on the page, image size, image formats, if you are using mobile optimized layouts, console errors, if you are using the Standard Pack plugin on not, if you are using PRO demo or a standard one.
But, we will take in consideration your query.
Thank you for your suggestion!
Hello,
If you to have the mobile responsive version, then please make sure you don’t have the mobile theme plugin activated and a mobile page/template assigned => https://i.imgur.com/ZsvPPYa.png -> https://i.imgur.com/SrSiyUg.png
Also, 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!
Hello!
1. I can not see any black line at the top on the homepage in your website. Did you mean the sticky header or the top bar menu?
2. This demo uses the responsive version for mobile. A responsive version of your website is looking similar like on desktop, edit the page with TagDiv Composer, click on the mobile viewport: https://www.screencast.com/t/XDQJedlggSB ; there you can see your mobile version and you can edit the elements there.
Yes, you can import other templates and use mobile pages which are fully customizable and could be so different than desktop version, so you should build and assign them to each desktop page you need. If you do not build for every page, then for the rest of the pages you’ll have the responsive version of your desktop automatically. For more information about mobile pages, please check our article here: https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/
OR if you do not want to build every page style, but you need different style too, then you can install the Mobile theme plugin. The Mobile Theme is a performance optimized theme included in the Newspaper main theme and it loads only for mobile devices. It comes with its own templates/design for page, post, category, etc so your current templates from the desktop theme will get converted to the mobile theme layout. For more details, please take a look here: https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/
You can use which one is suitable for your needs.
Thank you!
Hello,
If you can change the thumb for image, please check this topic https://forum.tagdiv.com/topic/mobile-theme-thumbnails/
Also, if you want to hide, please check this topic https://forum.tagdiv.com/topic/hide-the-featured-image-in-the-mobile-theme/
Thank you!
Hello,
Please try to add the code for the mobile theme in wp-content/plugins/td-composer/mobile/functions.php -> https://i.imgur.com/gHq11Rh.png
Thank you!
Hi, my website has hundred of different pages so I would like to use the same page in the web format as the mobile. i.e. the main page shoud adjust to the responsive design mode. i.e. I don’t want to create a mobile version of the pages. I just want one single version for each page to be used whatever device is used and it will become responsive automatically.
Thank you.
Hello Ashish Kumar Mishra!
This issue about Web Stories has been discussed already in this topic, please check: https://forum.tagdiv.com/topic/web-stories-conflict-with-newspaper-in-web-stories-titles/
However, page loading speed can depend on many factors, and each website is unique from this point of view. Let me explain some of these factors and maybe they give you some starting points for optimizing your website.
External factors: server speed, if you are using CDN or not, the external resources loaded by your website like ads, fonts, tracking scripts like Facebook Pixel, Google Analytics, Twitter analytics, Hotjar and so on.
Internal factors: the number of elements on the page, image size, image formats, if you are using mobile optimized layouts, console errors, if you are using the Standard Pack plugin on not, if you are using PRO demo or a standard one.
For the page speed, I can recommend you some solutions in order to increase the score.
Our developers are working a lot to improve the page speed in every update.
Also, to increase the page speed you can check these similar topics for more solutions:
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://developers.google.com/speed/docs/insights/v5/about
– https://www.youtube.com/watch?v=tnkVapqhIHc
Please check the tutorials from those platforms gt metrix and Google Pagespeed Insights and I’m sure you can increase the page speed.
Please note that page speed is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
We will take in consideration your query.
Thank you for understanding!
Hello @netclick!
Good grades. For the page speed I can only suggest you some guides. However, page loading speed can depend on many factors, and each website is unique from this point of view. Let me explain some of these factors and maybe they give you some starting points for optimizing your website.
External factors: server speed, if you are using CDN or not, the external resources loaded by your website like ads, fonts, tracking scripts like Facebook Pixel, Google Analytics, Twitter analytics, Hotjar and so on.
Internal factors: the number of elements on the page, image size, image formats, if you are using mobile optimized layouts, console errors, if you are using the Standard Pack plugin on not, if you are using PRO demo or a standard one. So, we recommend to use for mobile the responsive version: https://forum.tagdiv.com/topic/issue-with-lcp/
A responsive version of your website is looking similar like on desktop, edit the page with TagDiv Composer, click on the mobile viewport: https://www.screencast.com/t/XDQJedlggSB ; there you can see your mobile version and you can edit the elements there.
Our developers are working a lot to improve the page speed in every update.
Also, to increase the page speed you can check these similar topics for more solutions:
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://developers.google.com/speed/docs/insights/v5/about
– https://www.youtube.com/watch?v=tnkVapqhIHc
Please check the tutorials from those platforms gt metrix and Google Pagespeed Insights and I’m sure you can increase the page speed.
Please note that page speed is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
The mobile pages are fully customizable and could be so different than desktop version, so you should build and assign them to each desktop page you need. If you do not build for every page, then for the rest of the pages you’ll have the responsive version of your desktop automatically.
Thank you!
Hello,
Please check this topic https://forum.tagdiv.com/topic/mobile-template-spacing/ and try to add also, the calc(100% + 40px)
Thank you!
Hello @newsng!
The issue can be from a plugin conflict or a cache issue, that’s why, please deactivate ALL plugins except tagDiv ones, also if you are using a cache plugin, deactivate it, clear all cache (also from your browser) and try again.
However, page loading speed can depend on many factors, and each website is unique from this point of view. Let me explain some of these factors and maybe they give you some starting points for optimizing your website.
External factors: server speed, if you are using CDN or not, the external resources loaded by your website like ads, fonts, tracking scripts like Facebook Pixel, Google Analytics, Twitter analytics, Hotjar and so on.
Internal factors: the number of elements on the page, image size, image formats, if you are using mobile optimized layouts, console errors, if you are using the Standard Pack plugin on not, if you are using PRO demo or a standard one.
For the page speed, I can recommend you some solutions in order to increase the score.
Our developers are working a lot to improve the page speed in every update.
Also, to increase the page speed you can check these similar topics for more solutions:
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://developers.google.com/speed/docs/insights/v5/about
– https://www.youtube.com/watch?v=tnkVapqhIHc
Please check the tutorials from those platforms gt metrix and Google Pagespeed Insights and I’m sure you can increase the page speed.
Please note that page speed is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
Thank you!