- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsDefault Block Settings Guide
- TutorialsOffset Feature
I’ve been through tht twice already and the prblem is still persisting. Here’s what theconsole log shows.
jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'models') TypeError: Cannot read properties of undefined (reading 'models')
at Object.getFirstModelByZoneType (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:316:340)
at Object.getShortcodeFromData (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:353:457)
at Object.saveHeaderState (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:28:388)
at Object.init (https://<removed>/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:23:279)
at https://<removed>/wp-admin/post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1138:44
at c (https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:25304)
at fireWith (https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:26053)
at e (https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27300)
at https://<removed>/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330 undefined
(anonymous) @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
setTimeout
(anonymous) @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
fire @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
c @ jquery.min.js?ver=3.7.1:2
fireWith @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
(anonymous) @ js_files_for_wp_admin.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:49
IndexedDB
get @ js_files_for_wp_admin.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:49
(anonymous) @ post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1108
load
(anonymous) @ post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1107
(anonymous) @ post.php?post_id=49498&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2F<removed>%2F:1142
That’s the warning, and here are the errors.
td_wp_admin.min.js?ver=12.6.7:1 Uncaught SyntaxError: Identifier '_extends' has already been declared (at td_wp_admin.min.js?ver=12.6.7:1:1)
at td_wp_admin.min.js?ver=12.6.7:1:1
(anonymous) @ td_wp_admin.min.js?ver=12.6.7:1
js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400 Uncaught ReferenceError: tdDetect is not defined
at HTMLIFrameElement.loadIframe (js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400:385)
at HTMLIFrameElement.dispatch (jquery.min.js?ver=3.7.1:2:40035)
at HTMLIFrameElement.<anonymous> (jquery.min.js?ver=3.7.1:2:38006)
loadIframe @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400
dispatch @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
load
add @ jquery.min.js?ver=3.7.1:2
(anonymous) @ jquery-migrate.min.js?ver=3.4.1:2
(anonymous) @ jquery-migrate.min.js?ver=3.4.1:2
(anonymous) @ jquery.min.js?ver=3.7.1:2
each @ jquery.min.js?ver=3.7.1:2
each @ jquery.min.js?ver=3.7.1:2
Le @ jquery.min.js?ver=3.7.1:2
on @ jquery.min.js?ver=3.7.1:2
checkIframe @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:406
init @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:400
init @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:410
(anonymous) @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:411
(anonymous) @ js_files_for_wrapper.min.js?ver=5b75a1149b707159a7e71fd3bf09ff7b:411
post.php:1 Access to fetch at 'https://cloud.tagdiv.com/services-img/banner-composer.png' from origin 'https://<removed>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
domExtractorInjector.bundle.js:1
GET https://cloud.tagdiv.com/services-img/banner-composer.png net::ERR_FAILED 200 (OK)
C @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
h @ domExtractorInjector.bundle.js:1
A @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
load
(anonymous) @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
(anonymous) @ domExtractorInjector.bundle.js:1
Show 8 more frames
Show less
This is running on a dev environment with no caching or optimization plugins
Hello,
You can disable the back to the top from Theme Panel -> Template Settings -> ToTop button => https://www.screencast.com/t/JVYklvqk (if you have the mobile page or mobile resposive)
Also, for the mobile theme plugin, you can only hide using a Custom Code CSS
.td-scroll-up
{
display: none;
}
Set the code in Newspaper -> Theme panel -> Mobile Theme -> Custom code.
Thank you!
Hello Anamaria,
Many thanks for your kind support.
1.There’s a theme bug, i cannot find the Home Template in the English lang as in here https://ibb.co/5hgrthT , also when i try to import https://ibb.co/9qQRz0t and set it as the front page, i get the error here https://ibb.co/7RwM3W3
2.When i try to duplicate a page to change its language to the new ar-EG language, the page does not replicate https://ibb.co/3Mp4Jys
3.I followed your steps, however, the permalinks has the word “category” always https://ibb.co/28sTgS6 , it should not be there. i clicked on the “Save” button to reset the permalinks, and i also cleared the cach with no success.
i need to have the below homepages.
1. English Lang ( /en ) – using the Default Pro Homepage template.
2. Arabic Lang ( /ar ) – using the RTL Default Pro Homepage template.
3. Arabic Lang Egypt ( /ar-EG ) – using the RTL Default Pro Homepage template.
Appreciate your kind support, i also emailed you the access url and username and pass.
While trying to load the cloud templates , the page says loading templates
In order to improve accessibility to WCAG 2.0 AA compliance, it is important to add a Skip to Content link (it will allow you to go directly to the post content, ‘skipping’ the menu for example), for this there must be an element with an ID to which this link can be pointed.
In the case of personalized pages this is easy.
But in the case of predefined post templates (e.g.: style1, style2…) how can we add an ID to the DIV with the ‘.td-container-wrap’ class, considering that this class is indicative of the main content. Is there a snippet we can add? Or will you add this ID in the future to improve the theme’s accessibility?
Thanks.
Hello,
Did you have tried the steps from here ” A much simpler and faster alternative is to duplicate the cloud template you want to use in another language, edit it and select the desired language – https://i.imgur.com/z1CqgBo.png (edit the name) – https://i.imgur.com/dPX8ROs.png – https://i.imgur.com/Lc81IgP.png This method needs to be used to translate all cloud templates.”?
The cloud templates are in the cloud templates section https://i.imgur.com/EYUGxIR.png
Global” means setting a global template, for example, a header for all pages and a template for the respective language.
It is not necessary to set them in the child theme.
Thank you!
Hello,
Using our theme you can choose from 3 mobile versions
-> mobile responsive => https://www.screencast.com/t/oJ2ShOp47
-> mobile theme plugin => https://forum.tagdiv.com/the-mobile-theme/
-> mobile page => https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/
If you created the mobile pages with tagDiv Composer, then when you install the Mobile Theme plugin, your pages will be overwritten by the plugin (the mobile theme comes with its templates for page, post, category, etc so your current templates from the desktop theme will get converted to the mobile theme layout, the page content is made without builders in mobile editor => https://www.screencast.com/t/xbgZG8kH also, the options that are provided to edit the mobile theme version are limited (this keeps the things simple)).
This is a video about Responsive Newspaper Theme, AMP & Mobile Theme, Mobile Pages & Templates -> https://www.youtube.com/watch?v=SpGkOnJeNZY
So, the mobile responsive is what you see then that you select the viewport on phone => https://www.screencast.com/t/matV17hH, so some settings may apply for each viewport(where is the border blue), and others are not(where the border is black).
The mobile page has the mobile templates from Cloud Library => https://www.screencast.com/t/YCcZ8rL8
Mobile responsive version of the theme and the mobile page editor can be edit with tagDiv Composer, the mobile theme plugin not.
For example, you can have the mobile theme plugin activate and use the mobile page/mobile responsive version for the homepage/pages, but for the categories pages/404 page you can’t use the mobile page/mobile responsive version if you have the mobile theme plugin activate.
So, if you want to design the pages with tagDiv Composer, you can use the mobile page or mobile responsive version.
Better deactivate the mobile theme plugin and see the results, and assign the mobile page for page, like this => https://www.screencast.com/t/lektAhyjd
Also, clear your cache.
Thank you!
IS THERE ANY BENEFIT OF USING MOBILE THEME PLUGIN? WHAT IF I COMPLETLY DISABLE IT SINCE I HAVE MADE SPECIFIC HOME AND POSTS AND PAGES FOR THE MOBILE DEVICES FROM CLOUD TEMPLATE? I AM GUESSING THAT MOBILE THEME PLUGIN IS THE MAIN CULPRIT HERE. WHAT DO YOU THINK?
-
This reply was modified 1 year by
hospitality-school.
-
This reply was modified 1 year by
hospitality-school.
I AM NOT USING ANY CACHE PLUGIN BUT ONLY Cloudflare SERVICE FOR CACHING. HERE IS MY SITE:
https://www.hospitality-school.com/
My homepage version for mobile and desktop are different. But time to time I am seeing mobile version while visting from laptop or pc. What’s the solution? I have enabled mobile theme plugin but not amp.
This is my cloud template settings: https://tinyurl.com/24xcq6os
This is how I set my desktop version to be visible through cloud template: https://tinyurl.com/2cnehzgx
and the mobile version: https://tinyurl.com/2b73ohv7
But EVERY NOW AND THEN I AM SEEING THIS MOBILE VERSION IN DESKTOP. WHAT’S THE SOLUTION. WHY IT CANT PROPERLY DELIVER PROPER VERSION FOR PROPER DEVICES?
Date template page title element and breadcrumb element display abnormally.
Displays normally in Cloud templates editing mode, but abnormally in regular user browsing mode.
Website language: zh-tw
How can this issue be resolved?
https://www.365news.cc/?m=2024
https://www.365news.cc/wp-content/uploads/2024/08/2024-08-29_01.png
https://www.365news.cc/wp-content/uploads/2024/08/2024-08-29_02.png
1. I imported the RTL Default Cloud template, i renamed it to Home For my Arabic language, i also selected Arabic from WPML. Question: where can i find this home page file or template in my theme?
2. How can i add it to my child’s theme to make sure updates does not change my home page?
3. Should i set it to Global?
4. What does global do?
5. How can i export and import a template to another language?
Thank you, I followed the instructions and created mobile pages. However, the mobile version does not always load.
I looked it up and the recommendation clearing the cache. I did that, but a few hours later the mobile version stops loading.
We have talked to the server people and they said the error log shows its a problem with TD Composer.
These are the errors they showed me:
2024/08/28 13:18:08 [error] 936811#936811: *49657 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “tdb_templates” in /home/wplive/web/wp-live/wp-content/plugins/td-cloud-library/includes/tdb_functions.php on line 634″ while reading response header from upstream, client: 207.46.13.150, server: , request: “GET /iconos_gem-ai-01/ HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php/php8.1-wplive.sock:”, host: “panamagemcharters.com”
2024/08/28 12:57:34 [error] 936811#936811: *49132 FastCGI sent in stderr: “PHP message: PHP Warning: Trying to access array offset on value of type bool in /home/wplive/web/wp-live/wp-content/plugins/td-composer/legacy/common/wp_booster/td_video_support.php on line 88PHP message: PHP Warning: Trying to access array offset on value of type null in /home/wplive/web/wp-live/wp-content/plugins/td-composer/legacy/common/wp_booster/td_video_support.php on line 88” while reading response header from upstream, client: 181.197.54.47, server: , request: “GET /en/offshore-fishing-tour/?gad_source=2&gclid=CjwKCAjwiaa2BhAiEiwAQBgyHtR0v0Xhz_uTK3kEoZCwEjW8kfL0CpAiIBFhnWyhtSrTMEOe9BtXIBoCHIoQAvD_BwE HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php/php8.1-wplive.sock:”, host: “panamagemcharters.com”, referrer: “https://m.youtube.com/”
2024/08/28 12:36:17 [error] 936811#936811: *48843 FastCGI sent in stderr: “PHP message: PHP Warning: Trying to access array offset on value of type bool in /home/wplive/web/wp-live/wp-content/plugins/td-composer/legacy/common/wp_booster/td_video_support.php on line 88PHP message: PHP Warning: Trying to access array offset on value of type null in /home/wplive/web/wp-live/wp-content/plugins/td-composer/legacy/common/wp_booster/td_video_support.php on line 88” while reading response header from upstream, client: 190.218.50.143, server: , request: “GET /en/offshore-fishing-tour/?gad_source=2&gclid=EAIaIQobChMInZWYm_z8hwMVx-XjBx0_ey7yEAEYASAAEgIY__D_BwE HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php/php8.1-wplive.sock:”, host: “panamagemcharters.com”, referrer: “https://m.youtube.com/”
could you please help?
Hello @vimalgopal !
Sure. You can do it by using the cloud templates and assigning them manually to each article. Please note that you cannot assign a page template to a post or reverse. You should import a blank template and build it as you like in the tagdiv composer. Also, you can choose the header and footer you would like for your template from the Website Manager. In order to delete the sidebar, you can choose the default template when you edit with Gutenberg. Also, if the sidebar is built with the tagdiv composer, then you can simply delete the whole column. The setting to choose how many columns you want is on the row -> layout tab.
Check out this video about how to create a website from scratch: https://www.youtube.com/watch?v=SoGQ0d5kIBg
The template’s manager is in Cloud Templates. More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
Also, check out our video tutorials at https://www.youtube.com/c/tagdivThemes/videos
Thank you!
Hello,
The details are set in the custom fields -> https://i.imgur.com/0ngJCWL.png and the page is a template for custom post type -> https://i.imgur.com/rAzbKYz.png -> https://i.imgur.com/Ys9hJGB.jpeg and here you can add the information -> https://i.imgur.com/iEnlG8V.png -> https://i.imgur.com/iz1Duh4.png
I recommend creating your own custom post type, taxonomies, and custom fields https://forum.tagdiv.com/introduction-cpt-acf-newspaper-theme/
Thank you!
Site url: concentratedwisdom.com
I intent to create a separate template for each page.
For example I want a contact us page with no sidebars, a services page with sidebars, an about us page with different banner style and a different header/footer, a shop/product page with different styles based on different product.
Hi,
Those are standard templates. You can use them, but I don’t recommend them.
You can also use tabbed content to set two pages there -> https://forum.tagdiv.com/use-tabbed-content-shortcode/
Thank you!
Hello,
There is a template that is set globally for all taxonomies; if you want to add this code for one taxonomy, you need to duplicate the template and assign it to that taxonomy from the front end https://i.imgur.com/8gdX5ds.png
Please check this topic: https://forum.tagdiv.com/topic/different-logo-in-categorypage/; the same steps are for duplicating any template.
Thank you!
Hello,
1. Yes, you need to duplicate the page.
2. Please let me know what code you have added there. You can also, duplicate the template and the code it will remain.
3. Please let me know on what templates you can to display posts from a specific category. There a lot of filter options, you can check this guide -> https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hello Anamaria
I’hve created the module from >> Cloud templates >> Modules Templates >>Blank – Module Template
I’m using it on simple page in Flex Block Builder
result https://imgur.com/aQA4Gg9
Here is the link
https://newsletter.etanasyria.org/?page_id=257059
Hello,
Thank u so much for the support
However, I got a bit confused.
1.For the Home Page template, i will need to duplicate a template for each new language, and rename it correct?
2.if i do so, how can i find this new template file using ftp? since i will have to add some code in that template.
3.any idea how can i filter the template so that it displays posts from a specific category or taxonomy i.e country?
Thank you so much
Hi,
You can duplicate the header template and make sure that you have assigned duplicate templates for each page where you want to have different menus.
Please check this topic: https://forum.tagdiv.com/topic/different-logo-in-categorypage/; the same steps are for duplicateing any template.
Thank you!
Hello,
Please let me know what php, WordPress and theme versions you have.
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hi,
Did you try revising the page/template? Did you have to deactivate the extra plugins? What did you edit before the error occurred?
Thank you!
Hello,
Please let me know what php, WordPress and theme versions you have.
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hello,
You need to translate the English (original language) the template for each language in part – https://i.imgur.com/CDmeHCf.png you should have them for each language cloud template – https://i.imgur.com/4agmUtg.png
A much simpler and faster alternative is to duplicate the cloud template you want to use in another language, edit it and select the desired language – https://i.imgur.com/z1CqgBo.png (edit the name) – https://i.imgur.com/dPX8ROs.png – https://i.imgur.com/Lc81IgP.png This method needs to be used to translate all cloud templates.
The pages are created with tagDiv Composer which is a page builder, when WPML is used it cannot translate everything that was built with the page builder and must be edited for each language separately. Please open the page in the editor and click on translate – https://i.imgur.com/TXH6y1c.png. After, if you duplicate the template, you can edit it to change the logo, menu, and whatever you want.
When you make the corrections, make sure you are on the page with the language you are editing, and if you use the cache, or object cache, please clear it.
Please check this topic https://forum.tagdiv.com/topic/missing-strings-on-wpml/
Thank you!