- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hello! On the page https://tagdiv.com/amp-newspaper-theme/ you recommend the following:
“To avoid any AMP error, we recommend disabling the admin bar for AMP pages from the official plugin settings.”
Where do I disable this administration bar?
Hi! Should the AMP Analytics code be placed this way? Is correct?
https://www.screencast.com/t/OuFq9tntO0G
Do I need to add anywhere else on the site?
Hello guys,
I have updated my theme from 4.0 to the latest version 4.9.6 but it seems to have broken the images on the site.
WP ver is: 5.6.2
When the site loads the images seem to load, but after a few moments the images disappear and are replaced with alt text, all of which seem to be incorrect such as “yH5BAEAAAAALAAAAAABAAEAAAIBRAA7”, however looking in my media gallery within wordpress, alt text is unchanged and isn’t as being displayed – For example, a Playstation 5, is descibed as a Playstation 5 in it’s alt text in the media gallery, but being shown as yH5BAEAAAA…. on the website.
The main problem is that the images aren’t showing, but the alt text showing and changing might give you some help?
Turning on Debugging mode gives me the following when I load the home page:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mwm_aalLoader has a deprecated constructor in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/better-anchor-links/auto-anchor-list.php on line 30
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mwm_aal has a deprecated constructor in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/better-anchor-links/mwm-aal-class.php on line 14
Notice: add_shortcode was called incorrectly. Invalid shortcode name: . Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /opt/bitnami/apps/wordpress/htdocs/wp-includes/functions.php on line 5311
Notice: Constant WP_MEMORY_LIMIT already defined in /opt/bitnami/apps/wordpress/htdocs/wp-config.php on line 114
Website is here: http://ec2-34-253-206-96.eu-west-1.compute.amazonaws.com/
Can you help?
Many thanks,
Michael
HOW SLOVE THIS, PLEASE CHECK THE LINK https://validator.ampproject.org/#url=https%3A%2F%2Ffirstsportz.com%2Ffree-fire-redeem-codes-for-26-february-2021%2F%3Famp
The script tag contains invalid JSON that cannot be parsed.
I am saying so we need dropdown sorting option on category page for order by dropdown
4. In category pages it depends. Ascending or descending in terms of what exactly? Do you mean by publish date? You can edit the category template with the composer, click on the grid or the post loop from the template, and check the available sorting option. For example they can be set to display posts by publish date, oldest first https://prnt.sc/10a77hk By default they are latest first.
Hello guys,
I’ve taken over runing a blog recently and wanted to update to the latest version of the theme from 4.0 so quite an old version. I couldn’t find an original licence key so purchased the theme again, then uploaded the new theme to the blog which detected the old theme and asked me if i wanted to update. I chose Yes.
As soon as I updated, I’m getting the error message saying that “There has been a critical error on this website.”
It appears that the theme update has totally broken the site. 🙁
I’m working on a snapshot copy of my blog naturally so it’s not the end of the world yet, however, I’d appreciate it if you can help.
I have enabled WordPress debugging so here’s the extra detail I can give you…
Notice: add_shortcode was called incorrectly. Invalid shortcode name: . Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /opt/bitnami/apps/wordpress/htdocs/wp-includes/functions.php on line 5311
Fatal error: Uncaught Error: Class 'td_util' not found in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Newsmag/functions.php:52 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): {closure}() #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters() #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp.php(658): apply_filters() #3 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp.php(748): WP->handle_404() #4 /opt/bitnami/apps/wordpress/htdocs/wp-includes/functions.php(1291): WP->main() #5 /opt/bitnami/apps/wordpress/htdocs/wp-blog-header.php(16): wp() #6 /opt/bitnami/apps/wordpress/htdocs/index.php(17): require('/opt/bitnami/ap...') #7 {main} thrown in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Newsmag/functions.php on line 52
There has been a critical error on this website.
Learn more about debugging in WordPress.
Can you help?
I’m hoping that the update has retained all of the original theme settings.
Many thanks
Michael
I can see my site title with title tagline does appear on PC. But on the mobile phone, the tagline is missing. How can I solve this? Can you help me with the issue? I am not using your mobile theme plugin or AMP. Just your 4 essential plugins I am using right now. My website is https://holotin.com/
Hi, I can’t find any option to disable the next article from loading when you get to the bottom of the page. I am using the Gadgets PRO prebuilt website as a template. Please see the example below and advise on how to disable this –
https://www.connectionvouchers.co.uk/10-best-websites-to-browse-during-weekend-hours/
Thanks!
I have faced a problem with newspaper amp I got so many errors, please help me
Hello @carmesi!
For example, if you want to hide the author on blocks, then there should be an option in Layout tab: https://www.screencast.com/t/TkyGoXxxOQbL
But, if you use a default template, then you can hide only by CSS.
Thank you!
Hi, I have correctly set the Italian translation of the theme.
All correct.
I have only a very small problem with the word “at” showing up in the comments.
Here is an example:
https://i.ibb.co/PFnnxMv/Schermata-2021-03-01-alle-11-59-06.png
It seems impossible to translate it.
I await support.
Thank you
Hello!
I just gave you the code for PRO template active & hover, but unfortunately I am not sure I fully understand what you are looking to edit for text & background, active states? Please give me more information, a screenshot and also be more specific, so I can help you efficiently.
Thanks!
Hi,
That is usually caused the cache configuration. What caching plugin are you using on the website?
Some have options for using a mobile theme, and they have to be activated. Like the super cache we recommend for example https://tagdiv.com/wp-super-cache-plugin-install-and-configure/ and this setting -> https://prnt.sc/10a7r0t
So when a mobile theme is used (it can be any theme and mobile theme, not just our own) it would be better if there was such a setting, to be activated, or issues like that can happen, like the mobile theme being displayed on desktop.
Thank you!
Hi,
You can create those pages using tagDiv Composer, but for some of content you need to use some extra plugins. For example for covid data you can use the elements we provide -> https://i.imgur.com/LccQwxT.png for the rest of elements you can use extra plugins and set the shortcodes in column text text area https://i.imgur.com/6wAqp95.png
For example plugins
https://www.formget.com/wordpress-astrology-plugins/
https://betterstudio.com/blog/best-wordpress-forex-market-plugin/
Thank you!
Hi,
Let’s try to discuss each of the issue/questions one at a time if possible. A link to the website would have been helpful with some of them.
1. Regarding the theme activation with the key, that issue can happen sometimes. Usually it is temporary, and trying at a later time works. Or you could try the manual activation instead https://www.screencast.com/t/EL4k48Lq
If there still is a problem activating the theme with the key, please send us an email at contact@tagdiv.com and provide a link to the website, admin login, also the key. We will check.
2/3 Regarding the mobile display issue, did you maybe activate the optional mobile theme plugin? This is the guide https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/ Most of the live demos do not use the mobile theme. The mobile theme will help with the mobile performance however, if you wish to increase it. Test with and without it, there should be a noticeable difference.
4. In category pages it depends. Ascending or descending in terms of what exactly? Do you mean by publish date? You can edit the category template with the composer, click on the grid or the post loop from the template, and check the available sorting option. For example they can be set to display posts by publish date, oldest first https://prnt.sc/10a77hk By default they are latest first.
Thank you!
Hi,
1. There are indeed a few demo ads, simple images, in the theme demos. But they can be removed and replaced after installing the demo. If demo ads are still displayed, that means you did not actually removed them from where they are set.
For the header, you are using a cloud header https://forum.tagdiv.com/header-styles/ Please edit for example the homepage with the composer, click on the header ad and remove the demo ad https://prnt.sc/10a6oe3
Then configure the ad box to display the header ad, if you entered a code in the theme panel header ad section https://prnt.sc/10a6pvj
2. How can I help with this exactly, screenshots to what? In the theme you can enter the ad codes or set the ads, and the theme will load them, that would be all there is to it. I don’t quite understand what you would like me to help with. If you have more questions about the method of displaying ads using the theme, or there are issues, with that I will try to help. Mention the details and I will take a look.
Thank you!
Hi,
The theme has a few sliders, but they are for posts. For images there would be this gallery slide https://forum.tagdiv.com/gallery-2/
It can be seen here for example https://demo.tagdiv.com/newspaper/td-post-aston-villa-beat-liverpool-to-join-arsenal-in-the-fa-cup-final/
However, if you are looking for a more advanced gallery, with a specific look or functionality, I would suggest trying a few gallery plugins, there should be plenty of free ones to check out.
Thank you!
Hi,
What type of Adsense ads are you using exactly? I believe you may be using auto ads, is that correct?
These are auto ads https://support.google.com/adsense/answer/9274634?hl=en&ref_topic=28893
That type of ad has to be loaded like so, according to the Google specifications https://support.google.com/adsense/answer/9274516?hl=en&ref_topic=28893 which is once in the header, between the head tags, not multiple times if that is what you are doing.
So if you are indeed using auto ads, and you want to use them properly, please enter the code as mentioned by Google. Enter it only once in the website, here https://prnt.sc/10a1m50
Auto ads can’t be controlled much in terms of positioning. The code has to be loaded once on the website, and Google will decide where they appear, they are called auto ads after all.
Thank you!
Hi,
I can’t view any of the screenshots you provided unfortunately. I suggest providing them in a different way, upload them in a free image upload website for example. Also please provide a link to the website so we can take a look at the issues you are referring to.
Thank you!
And with this one, don’t you need to add the amp script async custom-element=”amp-ad” src=”https://cdn.ampproject.org/v0/amp-ad-0.1.js”this script and then the code in amp ads option? Or just the code in the ads from the mobile plugin?
Hi,
You mean when logging in the website there is a redirect loop? That can happen sometimes. I suggest trying general suggestions, for example
– https://www.hostinger.com/tutorials/fix-wordpress-login-redirect-loop
– https://www.fixrunner.com/how-to-fix-wordpress-login-redirect-loop-problem/
Usually the suggestions from the guides work. Also I suggest to contact the hosting provider for assistance as well, if you did not already. They should be able to help solve the problem.
Thank you!
Hi,
It may be like that if perhaps you are redirecting all mobile visitors to the AMP version, please check https://prnt.sc/10a5cbe That option is disabled by default, maybe you activated by mistake, please deactivate it.
Thank you!
Ok thansk! and about this?
and in AMP version seems not detected https://ibb.co/4sDfsfv
Hi,
The thing is that there are more files that need to be edited to change the path files, for example if you edited this file wp-content/themes/Newspaper-child/parts/header/td-login-modal.php and you are using the top bar style 1 then you must change the path from this https://prnt.sc/10a4q66 in this https://i.imgur.com/fzr9ZWk.png when you edit some files, those can be set with a specific path in other files and that is way are not apply, because the path need to be changed -> https://i.imgur.com/WmWDCI7.png, now in above example, you can set the top bar file in child theme and so on.
There is not quite easy to use a child theme.
Hope this will help!
Hi,
The height of the row or of the columns from a row will be the height of the elements that are placed inside.
One solution to increase the height there, would be to perhaps use an empty space element there, and adjust the height for it until it looks as you want https://prnt.sc/10a49y4
Setting a padding or fixed height would also be fine. Especially since the values can be adjusted per viewport, that is what the options are for. If there are issues on the other viewports adjust the values for them specifically https://prnt.sc/10a4dc9
So if it does not look alright on mobile, set a different height or padding for mobile. You can set 500 height there and another value for mobile for example. Or leave it as it is, if it looks fine.
I suggest experimenting with these suggestions, if possible.
Thank you!