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,
It will be easier to create 2 header/footer templates, so you can use for example different logos if needed, and different menus etc directly in the template. You can for example duplicate the template and customize it for each language – https://prnt.sc/p86qss
Thanks
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,
Please try in this way
https://prnt.sc/rf7bd5 -> https://prnt.sc/rf7bty -> https://prnt.sc/rf7c3j -> https://prnt.sc/rf7ci4 -> https://prnt.sc/rf7cto -> https://prnt.sc/rf7etz -> https://prnt.sc/rf8l4m
Hope this will help you!
Thank you!
Hi,
So if I understand correctly you are using category templates from tagDiv Cloud Library and you want to translate them, if yes, then you need to know that translating a category is like creating a new category template for each language in part.
Here is a similar topic -> https://forum.tagdiv.com/topic/block-1-recent-comments-widget-for-translation/
Hope this will help you!
Thank you!
I go to theme panel in french (main language) I set the header, footer ,search, 404, … and main category template, and custom category template.
Then i change to german (secondary language), I set again the header, footer, … custom category..
When I come back to the main language, all is set to “no template”. only custom category is rights.
Hi,
Please make a full backup and 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.
Thanks