- NewspaperUsing the Theme Translations with WPML
- NewspaperHow to Install Newspaper via FTP
- NewspaperHow to Install Newspaper via WordPress
I want to use different header templates for different languages (English and Chinese) because I want to show different header image (CSS background image ), different tagline and different logos for different languages. Same for footer.
I created 2 different header cloud templates with languages linked.
In theme panel, I tried to select English in language filter and then select the English header cloud template in header template, and Chinese for the Chinese
But I find that the header template option only followed that of ‘all languages’.
It shows WPML is unable to translate your theme option.
Can you tell me either:
1) Enable translation of theme options (If WPML cannot do this, there is no reason for me to buy it. I could use free polylang)
2) How to unlink my homepage from the cloud header template (it is default set when I installed Romania news) so that the homepages can carry the header ( not be linked to the cloud templates)?
Dear TagDiv team,
Is there any feedback? Now it’s in 2020. How about the WPML support to different language theme panel. We also have issues on categories setting on different language.
Best,
CL
Hi,
Unfortunately we do not tested the polylang plugin with our website, you have tested only the wpml plugin and for this you can make a new page per langues, here is an example -> https://wpml.org/documentation/theme-compatibility/create-multilingual-wordpress-websites-using-the-newspaper-theme-and-wpml/
Thank you for your understanding!
Ok So I did exactly what you asked me to do, and the issue is coming from WPML plugin.
When it’s activate, even in french I have “MORE STORIES”, but in the theme panel / translation, I translated it in “PLUS D’ARTICLES”. It seems that the WPML overwrite the theme panel translation.
So, do I have to translate it in another place ?
Thanks by advance
Hi,
Please make sure that you have set enough wp memory, fro theme and WPML
Requirements for Newsmag -> https://forum.tagdiv.com/newsmag-requirements-for-newsmag/
WPML’s Minimum Requirements -> https://wpml.org/home/minimum-requirements/
Translating the post is like creating a different post, when the language is changed the post is changed. This means that all the post settings have to be set for each post, including the primary category, source and via, post template etc.
Thank you!
Hello,
I am trying to make the Website as multi Language, For which I am trying to use the WPML but the theme is not supported.
We want to add the Post in Two Language manually and publish it, What is the best solution that can be done in the theme?
Hi,
As I can see you are using the Newspaper theme not Newsletter.
1. Please make sure that all the settings are like in our requirements, please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
Make sure that you set the code -> https://i.imgur.com/s4TnTYC.pngin .htaccess
Also 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.
2. We recommend to use for multi-lang the WMLP plugin. You can check one of our website that is using WPML -> https://iflow.ro/en# also please make sure that you set the menu in polylang as in this documentation -> https://polylang.pro/doc/create-menus/ this should work.
3.The border can be set only with custom css, but if you want to set a margin, you can do it by editing the homepage with tagDiv Composers and use this option -> https://i.imgur.com/3eMfdO6.jpg
4. I think that you are referring to this background image -> https://i.imgur.com/czmmmMK.jpg unfortunately there is no option, this background image is set on row like this -> https://i.imgur.com/swcgxja.jpg
5. Sorry, our theme do not have this option, maybe this can be achieve with some plugins, unfortunately I do no know one to recommend, sorry!
6. Please note that out theme do not have any services for this, these are from WordPress, for more details you can check this article about How to Send A Custom Welcome Email to New Users in WordPress.
7. In order to edit the category page with tagDiv Composer you need to do it like this -> https://i.imgur.com/1SZ5cGj.png or you can edit the header template from here -> https://i.imgur.com/upZ2dH3.png and edit the logo after your needs.
If there is anything else, just let me know!
Hope this will help you!
Thank you!
Hi,
Please try the steeps from this similar topic -> https://forum.tagdiv.com/topic/cloud-library-problem-with-wpml/#post-335317
Thank you!
Hi,
I’m trying to switch over to cloud templates to be able to deactivate the Standard Pack Plugin and gain speed. However, I’m having a lot of problems. Especially with translating my footer.
I’ve tried to follow the steps here:
https://forum.tagdiv.com/topic/problems-on-sidebar-and-footer-translation-with-wpml/
But I can’t seem to add the tds_footer_page string for translation. When I click apply it doesn’t show up under String Translation and when I checked ‘translate texts in admin screens’ again the tds_footer_page had disappeared. I tried adding the tds_footer instead but it won’t show up under String Translations either.
Can you please help me?
I can also mention that my ‘max input vars’ is already changed to 10000 and that I meet all requirements.
My Cloud Footer Template is also the chosen footer cloud library template in the Theme panel.
Best wishes,
Ida
Yes , but it does not work like wpml content translation like post and page.
How would you set a global header for each language ? in the theme panel, I cannot do it.
With my solution, I can choose to translate any tdb_templates post type, and choose different menu or design for a language.
Hi,
In order to be able to set different menus for each language you need to use multi language plugin, usually we recommend to use WPML plugin.
Using the theme translations together with WPML -> https://forum.tagdiv.com/using-theme-translations-together-wpml/
Thank you!
Hello, I just update Newspaper to the latest version and try to use only cloud library but no standard kit.
Main language: everything is working.
Other languages: here is the list of problems
– Newspaper does not display correct footer or header.
– Custom template with different footer or header display always template configured int theme panel
When adding a template translation with WPML, the template has to type (footer, header, category, ….)
I fix footer and header by patching the following file with in td-composer
legacy/common/wp_booster/td_global.php
726c726,728
< return (int) str_replace(‘tdb_template_’, ”, $template_id);
—
> $template_id = (int) str_replace(‘tdb_template_’, ”, $template_id);
> // fix for wpml
> return apply_filters( ‘wpml_object_id’, $template_id, ‘tdb_templates’, true );
And everything is working now.
Still get the problem with template type not setted. but i can do it via SQL.
Hi,
If you want to translate the website, you can use the WPML plugin -> https://wpml.org/purchase/?dr=email this is a tested one, but if you want to translate the theme panel of the theme, that actually can not be translated, sorry!
Also here are the 15 Best Free WordPress Multilingual Plugins for 2019 -> https://colorlib.com/wp/wordpress-multilingual-plugins/
Thank you!
Hi,
make sure that this is not a plugin conflict, please deactivate all non theme plugins and let only the WPML plugin, also if you have cache plugins, please deactivate theme and try again.
If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.
Thank you!
Hey there,
I have my website translated into 2 languages that is DE and EN using WPML and the URL’s are .com for German and /en for English.
I use a flex block with the post categories to show my posts that are working correctly on the German page, which means only German posts are showing whatever category is clicked.
But on the EN page it also shows German posts when any category has been clicked. Even more strange is that it actually works correctly when I am logged in as an admin but not for any other normal visitor.
I have correctly translated the categories and the posts.
What am I doing wrong here?
The website is https://www.k-i-e.com/ for German and https://www.k-i-e.com/en for EN.
The section where the posts are shown is the “Content Centre”.
Thanks for your help.
Torsten
Hello
I just realized a php issue after we started having author pages issues. I’m not sure if this is a TAGDIV composer issue because the issue only cleared if TAGDIV composer disabled or WPML CMS disabled. For your information; WPML informed us this is not related to WPML- at least for the moment. I’ll go deeper into the issue once I hear your suggestions about it.
Author Main Languge
Author Secondary Language
So we string translated author details but, Main language don’t appear.
Contacted Yoast; reply here
When we ran a cURL test on the relevant author URL Author Main Languge, we see a 403 or 500 internal server error as the HTTP response results. We also don’t see anywhere that Yoast SEO causes this issue, nor it redirects to a different page at all.
Contacted Hosting; reply here
We are able to replicate the 403 error via cURL. We updated your files permissions and the issue persists.
When we rename your .htaccess file cURL shows a 404 error as shown below :
$ curl -sI Author Main Languge
HTTP/1.1 404 Not Found
Date: Tue, 18 Feb 2020 14:07:08 GMT
Connection: keep-alive
Set-Cookie: __cfduid=d1b130608b54ae7b56df6a8826823610d1582034828; expires=Thu, 19-Mar-20 14:07:08 GMT; path=/; domain=.XXX.COM; HttpOnly; SameSite=Lax
Strict-Transport-Security: max-age=63072000; includeSubDomains
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-Turbo-Charged-By: LiteSpeed
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri=”https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: cloudflare
CF-RAY: 567090cd2e05fe06-DTW
Contacted WPML; reply here
There’s fatal error on Uncaught Error: Call to a member function the_post() on null in /home/xxx/xxx.com/wp-includes/query.php:937
Image to the code; https://pasteboard.co/IVoIq5t.png
Besides; here’s the other debug logs about the theme
18-Feb-2020 13:22:54 UTC] PHP Fatal error: Uncaught Error: Call to a member function the_post() on null in /home/xxx/xxx.com/wp-includes/query.php:937
Stack trace:
#0 /home/xxx/xxx.com/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_tag.php(17): the_post()
#1 /home/xxx/xxx.com/wp-includes/template-loader.php(98): include(‘/home/xx/…’)
#2 /home/xxx/xxx.com/wp-blog-header.php(19): require_once(‘/home/xxx/…’)
#3 /home/xxx/xxx.com/index.php(17): require(‘/home/xxx/…’)
#4 {main}
thrown in /home/xxx/xxx.com/wp-includes/query.php on line 937
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:55:56 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:56:14 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:56:14 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:56:15 UTC] PHP Warning: Use of undefined constant TDC_PATH_LEGACY – assumed ‘TDC_PATH_LEGACY’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 109
[18-Feb-2020 13:56:15 UTC] PHP Warning: Use of undefined constant TDSP_THEME_PATH – assumed ‘TDSP_THEME_PATH’ (this will throw an Error in a future version of PHP) in /home/xxx/xxx.com/wp-content/plugins/td-composer/td-composer.php on line 113
[18-Feb-2020 13:56:51 UTC] PHP Fatal error: Uncaught Error: Call to a member function the_post() on null in /home/xxx/xxx.com/wp-includes/query.php:937
So, I’m looking forward to hear from you
Hi,
I do not quite understand, do you want to translate the theme or the website ? if you want to translate the website, you can use the WPML plugin -> https://wpml.org/purchase/?dr=email this is a tested one, but if you want to translate the theme panel of the theme, that actually can not be translated, sorry!
Thank you!
I do not have any exotic plugins other than WPML.
I managed to add the megamenu plugin only by adding a text area and placing the tag. But I do see two menus when I am on admin. Yet, if I remove the menu I placed using the tag… there is no menu appearing on the site.
-
This reply was modified 6 years by
dimitrisv. Reason: image
Hi Calin
Thank you for your feedback. As you confirmed, I have deleted the old cloud templates and all the posts reverted back to FROM PANEL and now all of them are using the new single post cloud templates saved from the theme panel.
But please, Calin. The wpml string reset issue is really pain. I hope you will be able to fix it. We are also experiencing it on our another website using newspaper theme and wpml plugin.
thanks
Hi Simion
Thank you for your reply.
Then, is not new feature, If the new feature is set to work like this. People have been using cloud templates for a very long time..
So another month of work awaits for us to change all post’s templates.
This theme also lost its compitability with WPML too.. I can’t find solution with WPML devs and with you guys.
I had been very happy with the theme for a very long time but this cloud templates became a burden for news sites like us.
Just a suggestion. Please, push your updates while thinking your current clients who have more than thousands posts, trying to adapt your theme’s features. Updates are not only for acquiring new clients.
Thanks Simion
Hi,
The option to set a cloud post template will work if the posts themselves are set to inherit from panel, that is how they are by default initially. I believe that is how the new option works for the time being. Maybe this will change in the future, can’t say for sure what will happen in coming updates.
We will have to make more tests regarding the WPML issue, it may take some time. Sorry again for the inconvenience.
Thank you!
You guys brought a fine feature but single post template bulk update do not apply. I did not even try the bulk category template feature..which I believe is also not working. ( Update: I need to go to each post, in the end of the post, you need to select, post template, FROM PANEL. Than it applies. But again, we have to go each single post. simply the feature do not work.)
Also, the issue with -WPML string translation resetting itself after changing the theme panel language- still continues. Here’s Simion’s last reply..
Hi,
I have recreated the issue on my end. For example I have translated the header template and the footer page fields – https://prnt.sc/qtc1hn – https://prnt.sc/qtchl8 – https://prnt.sc/qtchqp And then I did what you mentioned, changed the language in the theme panel and saved. The strings disappeared – https://prnt.sc/qtcicr If I changed the language back, and set the header template and footer page again, they reappeared – https://prnt.sc/qtcito and the translations were still valid, just that the strings disappeared.
I can’t say if this is supposed to happen however (most likely not), or if it happened up to this point, or if it started happening after the recent updates. I will make a note of it and pass it along to the developer team, they will investigate. Thank you for bringing this to our attention and sorry for any inconvenience. Let me know if you notice anything else, or if you have more questions.
This is not related to the cloud library issue mentioned in the topic, that was a different issue. That issue caused cloud library templates to not import correctly or at all when WPML was active, which is now fixed.
Thank you!
Simion C.
Hi,
I updated Newspaper today to the latest version. Unfortunately, I’m having a lot of problems with editing a page or Cloud Template with the composer. I can create a template but as soon as I go back to it I get error messages like: “Error at rows: 4(models) : 12(dom). The model does not match the content” or “Error at zones: 5(models) : 6(dom)”.
I’ve tried deactivating all non-tagDiv plugins, I’ve switched to the default theme instead of my child theme, I’ve cleared all cache and it still doesn’t work.
I’ve had many problems with the composer previously, and have often had to deactivate all WPML plugins before for it to work, but now I don’t know what else to do.
I meet all the requirements.
Do you have any idea how I can solve this?
Best wishes,
Ida
Hi Calin,
Thanks for your replies. I did set the menu in polylang as described in the documentation.
For now I have deactivated the mobile theme plugin and semi-optimized the desktop version for mobile. I will look into this again someday. My options seem to be to wait for compatibility with Polylang, switch to WPML or see if I can fix it in either the plugin or theme code.
Thanks for your help. Let’s close this topic.
Hello !
In order to find out how to translate your footer page please follow my colleagues topic here: https://forum.tagdiv.com/topic/problems-on-sidebar-and-footer-translation-with-wpml/
Thank you !