- NewsmagtagDiv Composer Tutorial
- NewsmagHow to use the Visual Composer plugin
- NewsmagHow to update a plugin
- NewsmagRequirements for Newsmag
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBlock settings tutorial
- NewsmagPage Menu
- NewsmagCustom ad spots
- NewsmagSmart sidebar
- NewsmagVideo playlist
- NewsmagPage templates
Hi,
I want to Deregister below scripts for single post. Please let me know how can I achieve this.
Scripts:
https://simplytamil.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tdAjaxSearch.js
https://simplytamil.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tdLoginMobile.js
https://simplytamil.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tdLoadingBox.js?
https://simplytamil.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tdSmartSidebar.js
https://simplytamil.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tdInfiniteLoader.js
Note: I tried the below code. But it is not working.
wp_deregister_script(‘tdAjaxSearch’);
Thank you for your quick reply. I can understand the assumption that it should work as your test shows the correct result. But when I do some further tests, I find that when using TD composer adding the WooCommerce shortcode Woo Add to Cart makes the page fail. In fact, I removed everything from the page and obviously it shows a blank page with the header and footer, and more importantly no error. When I add the cart shortcode, the page fails.
Any suggestion on what I can do to troubleshoot?
Hello,
I am getting this error on my website:
wp_booster error:
td_module: td_module_15($post): $post is not WP_Post
/home/customer/www/chrisc376.sg-host.com/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php
Can anyone advise?
Thank you.
Hi,
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
May I ask why should exclude those files? What will happen If i don’t exclude them?
And where should I exclude them? Under the Minify or Deferred JS function?
Thanks
Hello @mariospavlou !
Edit this file: td-composer/legacy/common/wp_booster/td_data_source.php
I hope that helps you!
Thank you!
Hello,
I always change child and theme name when I deploy a new site. I do not want to show what theme I’m using 🙂
I’ve changed the theme folders names, screenshots, edit css… and activate it but the whole website breaks, front end and backend.
– – –
ERROR
The tdc_state::$is_live_editor_ajax is NOT setThe tdc_state::$is_live_editor_iframe is NOT set
wp_booster error:
Missing parameter: ‘file’
/wp-content/plugins/td-composer/legacy/common/wp_booster/td_autoload_classes.php
– – –
I have had another Newspaper license for years and it works without problems in that way.
Is there a way to fix it?
– – –
Do you need access to my website under development?
Is there a way to send you access information privately? I do not want to disclose sensitive data publicly.
Regards.
Sebe.
I have a website that has not been getting new content in a while now due to shifted directions. However it keeps getting injected with spam news posts. I have identified the newspaper theme as the root cause. I have updated to newspaper 12 and this is problematic. On pages:
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_3 is not set.
/home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
trace
Array
(
[0] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[line] => 348
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[1] => td_api_base::mark_used_on_page : a component with the ID: single_template_3 is not set.
)
)
[1] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[line] => 153
[function] => mark_used_on_page
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => single_template_3
)
)
[2] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[line] => 1451
[function] => get_key
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => single_template_3
[1] => file
)
)
[3] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php
[line] => 3368
[function] => _get_theme_template
[class] => td_api_single_template
[type] => ::
[args] => Array
(
[0] => single_template_3
[1] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
[4] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-includes/class-wp-hook.php
[line] => 310
[function] => td_template_include_filter
[args] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
[5] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-includes/plugin.php
[line] => 205
[function] => apply_filters
[class] => WP_Hook
[object] => WP_Hook Object
(
[callbacks] => Array
(
[10] => Array
(
[0000000026be53100000000062042ce5] => Array
(
[function] => Closure Object
(
[parameter] => Array
(
[$template] =>
)
)
[accepted_args] => 1
)
[tdb_on_template_include] => Array
(
[function] => tdb_on_template_include
[accepted_args] => 1
)
[td_template_include_filter] => Array
(
[function] => td_template_include_filter
[accepted_args] => 1
)
)
[99] => Array
(
[tdc_template_include] => Array
(
[function] => tdc_template_include
[accepted_args] => 1
)
)
)
[iterations:WP_Hook:private] => Array
(
[0] => Array
(
[0] => 10
[1] => 99
)
)
[current_priority:WP_Hook:private] => Array
(
[0] => 10
)
[nesting_level:WP_Hook:private] => 1
[doing_action:WP_Hook:private] =>
)
[type] => ->
[args] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
[1] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
)
[6] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-includes/template-loader.php
[line] => 104
[function] => apply_filters
[args] => Array
(
[0] => template_include
[1] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
)
How do I fix this error (other than disabling the composer plugin, which breaks the main menu).
Hi,
I suggest using WP Rocket plugin.
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Thank you!
Dear Bettina,
please understand that I have checked any templated created with tagdiv composer. There is no such modal button.
The code appears on any page (posts, pages, homepage, category pages, archive pages, …). So, it is universally included in the theme.
In the code surrounding the links, I can find classes like “td-coaching-mm” which indicates that the Coaching header has been used. This, in fact, has never been the case.
So, I assume there is a technical glitch with the theme and I would be really grateful if someone of your team could take a look.
Thank you!
Hello,
The 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. A good choice for the page speed, could be the mobile layout which contains fewer elements because it can improve a bit your page speed.
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Thank you!
Using DEFENDER PRO inside my website with 12.6.1 Newspaper, I get 2 NOTIFICATIONS from same file
NOTIFICATION 1
Plugin /td-composer
Location /wp-content/plugins/td-composer/legacy/Newspaper/includes/demos/coaching_pro/td_import.php
Date added 17/10/2023 13:57
Developer Please contact the plugin developer to fix this tagDiv
LINE 1016 : ‘tdcf_summary’ => ‘QnVpbGRpbmcgU3VwcG9ydCBhbmQgQWNjb3VudGFiaWxpdHkgZm9yIEdvYWwgQXR0YWlubWVudDogVGhpcyBjb3Vyc2UgdGVhY2hlcyBpbmRpdmlkdWFscyBob3cgdG8gY3VsdGl2YXRlIGFuIGVudmlyb25tZW50IHRoYXQgZm9zdGVycyBtb3RpdmF0aW9uLCBpbmNsdWRpbmcgc2Vla2luZyBzdXBwb3J0LCBlc3RhYmxpc2hpbmcgYWNjb3VudGFiaWxpdHkgc3lzdGVtcywgYW5kIHN1cnJvdW5kaW5nIHRoZW1zZWx2ZXMgd2l0aCBwb3NpdGl2ZSBpbmZsdWVuY2VzLg==’,
NOTIFICATION 2
Date added 17/10/2023 13:57
LINE 816 : ‘tdcf_summary’ => ‘V2UgZGV2ZWxvcGVkIGEgY3VzdG9tIGVNYWdhemluZSB3ZWJzaXRlIGZvciBhIGxlYWRpbmcgbmV3cyBtYWdhemluZSB0aGF0IGZlYXR1cmVkIGEgY2xlYW4gYW5kIG1pbmltYWxpc3QgZGVzaWduLCB3aXRoIGEgZm9jdXMgb24gaGlnaC1xdWFsaXR5IGNvbnRlbnQgYW5kIHVzZXIgZXhwZXJpZW5jZS4gVGhlIHdlYnNpdGUgaW5jbHVkZWQgYSBwb3dlcmZ1bCBjb250ZW50IG1hbmFnZW1lbnQgc3lzdGVtIGFuZCB3YXMgaW50ZWdyYXRlZCB3aXRoIHNvY2lhbCBtZWRpYSBwbGF0Zm9ybXMgYW5kIGVtYWlsIG1hcmtldGluZyB0b29scywgcmVzdWx0aW5nIGluIGluY3JlYXNlZCByZWFkZXJzaGlwIGFuZCBlbmdhZ2VtZW50Lg==’,
Of course I dont get any warning, just inside info from WPEMU DEV Defender Pro so I would appreciate if you can clarify this.
Thanks a lot
I have deactivated mobile theme and AMP pages for testing, now.
However, the links to the 404 pages are still there. After investigating the source code for the desktop version of the theme, I have found following section:
</div></div><div class="tdm_block td_block_wrap tdm_block_button tdi_30 tdm-block-button-full tdm-content-horiz-right td-pb-border-top td-press-button td-move-arrow td_block_template_1" data-td-block-uid="tdi_30" >
<style>@media (max-width:767px){.tdi_30{text-align:left!important}}</style>
<style>.tdm_block.tdm_block_button{margin-bottom:0}.tdm_block.tdm_block_button .tds-button{line-height:0}.tdm_block.tdm_block_button.tdm-block-button-inline{display:inline-block}.tdm_block.tdm_block_button.tdm-block-button-full,.tdm_block.tdm_block_button.tdm-block-button-full .tdm-btn{display:block}.tdc-row .tdi_30 .tdm-btn{height:auto;padding:15px 25px}@media (min-width:768px) and (max-width:1018px){.tdc-row .tdi_30 .tdm-btn{height:auto;padding:12px 20px}}</style>
<style>.tdc-row .tdi_31{padding:15px 25px;height:auto;line-height:1}.tdc-row .tdi_31 i{font-size:16px}body .tdc-row .tdi_31 .tdm-btn-icon:last-child{margin-left:10px}body .tdc-row .tdi_31{background-color:var(--tt-accent-color)}body .tdc-row .tdi_31:after{background-color:var(--tt-hover)}body .tdc-row .tdi_31 .tdm-btn-text,body .tdc-row .tdi_31 i{color:#ffffff}.tdc-row .tdi_31 svg{fill:#ffffff;fill:#ffffff}.tdc-row .tdi_31 svg *{fill:inherit;fill:inherit}body .tdc-row .tdi_31:hover .tdm-btn-text,body .tdc-row .tdi_31:hover i{color:#ffffff;-webkit-text-fill-color:unset;background:transparent;transition:none}body .tdc-row .tdi_31:hover svg{fill:#ffffff;fill:#ffffff}body .tdc-row .tdi_31:hover svg *{fill:inherit;fill:inherit}body .tdc-row .tdi_31 i{color:#ffffff;-webkit-text-fill-color:unset;background:transparent}body .tdc-row .tdi_31:hover i{color:#ffffff;-webkit-text-fill-color:unset;background:transparent;transition:none}.tdc-row .tdi_31:before{border-width:0px;border-style:solid}.tdc-row .tdi_31{font-size:16px!important;line-height:1.2!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:0.5px!important;height:auto}@media (min-width:768px) and (max-width:1018px){.tdc-row .tdi_31{padding:12px 20px;height:auto;line-height:1}.tdc-row .tdi_31{font-size:14px!important}}</style><div class="tds-button td-fix-index"><span class="tdm-btn-text">See pricing</span><i class="tdm-btn-icon td-icon-arrow-right-rounded"></i></div></div></div></div><div class="vc_column tdi_33 wpb_column vc_column_container tdc-column td-pb-span4">
<style scoped>.tdi_33{vertical-align:baseline}.tdi_33>.wpb_wrapper,.tdi_33>.wpb_wrapper>.tdc-elements{display:block}.tdi_33>.wpb_wrapper>.tdc-elements{width:100%}.tdi_33>.wpb_wrapper>.vc_row_inner{width:auto}.tdi_33>.wpb_wrapper{width:auto;height:auto}.tdi_33{justify-content:center!important;text-align:center!important}@media (min-width:768px) and (max-width:1018px){.tdi_33{padding-top:30px!important;width:36%!important}}</style><div class="wpb_wrapper" ><div class="tdm_block td_block_wrap tdm_block_socials tdi_34 tdm-content-horiz-left td-pb-border-top td_block_template_1" data-td-block-uid="tdi_34" >
<style>.tdm_block.tdm_block_socials{margin-bottom:0}.tdm-social-wrapper{*zoom:1}.tdm-social-wrapper:before,.tdm-social-wrapper:after{display:table;content:'';line-height:0}.tdm-social-wrapper:after{clear:both}.tdm-social-item-wrap{display:inline-block}.tdm-social-item{position:relative;display:inline-block;vertical-align:middle;-webkit-transition:all 0.2s;transition:all 0.2s;text-align:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.tdm-social-item i{font-size:14px;color:var(--td_theme_color,#4db2ec);-webkit-transition:all 0.2s;transition:all 0.2s}.tdm-social-text{display:none;margin-top:-1px;vertical-align:middle;font-size:13px;color:var(--td_theme_color,#4db2ec);-webkit-transition:all 0.2s;transition:all 0.2s}.tdm-social-item-wrap:hover i,.tdm-social-item-wrap:hover .tdm-social-text{color:#000}.tdm-social-item-wrap:last-child .tdm-social-text{margin-right:0!important}</style>
<style>.tdi_35 .tdm-social-item i{font-size:14px;vertical-align:middle}.tdi_35 .tdm-social-item i.td-icon-linkedin,.tdi_35 .tdm-social-item i.td-icon-pinterest,.tdi_35 .tdm-social-item i.td-icon-blogger,.tdi_35 .tdm-social-item i.td-icon-vimeo{font-size:11.2px}.tdi_35 .tdm-social-item{width:28px;height:28px;margin:5px 10px 5px 0}.tdi_35 .tdm-social-item i{line-height:28px}.tdi_35 .tdm-social-item-wrap:last-child .tdm-social-item{margin-right:0!important}.tdi_35 .tdm-social-item i,.tds-team-member2 .tdi_35.tds-social1 .tdm-social-item i{color:var(--tt-accent-color)}.tdi_35 .tdm-social-item-wrap:hover i,.tds-team-member2 .tdi_35.tds-social1 .tdm-social-item:hover i{color:var(--tt-hover)}.tdi_35 .tdm-social-text{display:none;margin-left:2px;margin-right:18px}@media (min-width:768px) and (max-width:1018px){.tdi_35 .tdm-social-item i{font-size:12px;vertical-align:middle}.tdi_35 .tdm-social-item i.td-icon-linkedin,.tdi_35 .tdm-social-item i.td-icon-pinterest,.tdi_35 .tdm-social-item i.td-icon-blogger,.tdi_35 .tdm-social-item i.td-icon-vimeo{font-size:9.6px}.tdi_35 .tdm-social-item{width:24px;height:24px}.tdi_35 .tdm-social-item i{line-height:24px}}</style><div class="tdm-social-wrapper tds-social1 tdi_35"><div class="tdm-social-item-wrap"><i class="td-icon-font td-icon-instagram"></i><span style="display: none">Instagram</span></div><div class="tdm-social-item-wrap"><i class="td-icon-font td-icon-linkedin"></i><span style="display: none">Linkedin</span></div><div class="tdm-social-item-wrap"><i class="td-icon-font td-icon-twitter"></i><span style="display: none">Twitter</span></div></div></div><div class="td_block_wrap td_block_raw_css tdi_36 td-pb-border-top td_block_template_1" data-td-block-uid="tdi_36" ><div id=tdi_36 class="td_block_inner td-fix-index"><style>.td-coaching-mm .td-sd-menu-icon.tdm_block_icon_box {
cursor: pointer;
}
.td-coaching-mm .td-sd-menu-icon.tdm_block_icon_box .tdm-col-icon {
transition: padding 0.1s ease-in-out;
}
.td-coaching-mm .td-sd-menu-icon.tdm_block_icon_box:hover .tdm-col-icon {
padding-right: 10px;
}
</style></div></div></div></div></div></div></div></div>
Here, these problematic links are inserted in the header section. However, the links are not visible (i.e. hidden) on the rendered web pages and I cannot find them in the tagdiv composer templates.
Do you have a clue how to remove them and why/how they are inserted?
Hello,
Please check this topic https://forum.tagdiv.com/topic/low-scores-on-mobile-theme-amp-and-desktop-pagespeed-and-gt-metrics-optimize/ and try this code ->
// Preload Newspaper fonts for responsive theme (main theme) function dns_prefetch_responsive()
{
echo '';
echo '';
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://spraythemes.com/newspaper-theme/how-to-speed-up-the-newspaper-wordpress-theme-using-wp-rocket/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Thank you!
Hello,
The 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. A good choice for the page speed, could be the mobile layout which contains fewer elements because it can improve a bit your page speed.
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Thank you!
When I go to edit a page in the Edit Whit TD Composer template, the page does not open it for editing, it crashes
Hello, I would like to remove the sidebar from a single article, but I am worried if I do that it will be removed on all articles if I use TD composer.
First off…how do I remove the sidebar from one article post?
Happened again today, after i did update. I noticed that theme panel created backup file of the theme settings on the exact moment when this happened:
This time I was doing some changes on the home page and dont know for sure if saving changes triggered something or not. My ip in these logs is first one xx.xxx.251.62, server ip is xx.xx.55.78
I located raw access logs at the exact moment and this is what I find out:
xx.xxx.251.62 – – [20/Oct/2023:10:11:31 +0200] “POST /wp-json/td-composer/save_post?uuid=93e6cd11-16f8-6afc-2ba0-c2f39d4ad43d HTTP/1.1” 200 2 “https://visoko.ba/wp-admin/post.php?post_id=343886&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2Fvisoko.ba%2Fwp-admin%2Fedit.php%3Fpost_type%3Dpage” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36”
66.249.64.161 – – [20/Oct/2023:10:11:34 +0200] “GET /foto-iskoristite-priliku-za-jesenje-jahanje-u-konjickom-klubu-visoko-sa-20-popusta/ HTTP/1.1” 301 – “-” “Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.88 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)”
xx.xx.55.78 – – [20/Oct/2023:10:11:35 +0200] “POST /wp-cron.php?doing_wp_cron=1697789495.1154799461364746093750 HTTP/1.1” 200 – “-” “WordPress/6.3.2; https://visoko.ba”
xx.xx.55.78 – – [20/Oct/2023:10:11:35 +0200] “POST /wp-cron.php?doing_wp_cron=1697789495.1087980270385742187500 HTTP/1.1” 200 – “-” “WordPress/6.3.2; https://visoko.ba”
xx.xx.55.78 – – [20/Oct/2023:10:11:35 +0200] “POST /wp-cron.php?doing_wp_cron=1697789495.1114730834960937500000 HTTP/1.1” 200 – “-” “WordPress/6.3.2; https://visoko.ba”
xx.xx.55.78 – – [20/Oct/2023:10:11:35 +0200] “POST /wp-cron.php?doing_wp_cron=1697789495.1292650699615478515625 HTTP/1.1” 200 – “-” “WordPress/6.3.2; https://visoko.ba”
31.13.115.2 – – [20/Oct/2023:10:11:36 +0200] “GET /wp-content/uploads/2023/06/kulin-ban-fest.jpg HTTP/1.1” 200 231155 “-” “facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)”
109.163.174.56 – – [20/Oct/2023:10:11:37 +0200] “GET /wp-content/uploads/2022/03/pjimage.jpg HTTP/1.1” 200 289462 “https://www.google.com/” “Mozilla/5.0 (Linux; Android 12; SM-G996B Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/117.0.0.0 Mobile Safari/537.36 GoogleApp/14.40.33.28.arm64”
69.162.124.231 – – [20/Oct/2023:10:11:37 +0200] “GET / HTTP/1.1” 200 388471 “http://visoko.ba/” “Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)”
34.254.111.76 – – [20/Oct/2023:10:11:37 +0200] “GET /kategorija/bih/politika/ HTTP/1.1” 200 158906 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36 Edge/12.246”
xx.xx.55.78 – – [20/Oct/2023:10:11:38 +0200] “POST /wp-cron.php?doing_wp_cron=1697789496.6574571132659912109375 HTTP/1.1” 200 – “-” “WordPress/6.3.2; https://visoko.ba”
109.163.173.240 – – [20/Oct/2023:10:11:34 +0200] “POST /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=12.6.1 HTTP/1.1” 200 – “https://visoko.ba/teska-noc-za-visocke-vatrogasce-2/?fbclid=IwAR3hbNKPV5qjWWRqUkqcQI3sO-Vi84xWDo3KFzVCUFknDClYOcqycTVrQ10” “Mozilla/5.0 (Linux; Android 10; JNY-LX1 Build/HUAWEIJNY-L21; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.93 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/389.0.0.42.111;]”
Dear Tagdiv team,
We’re migrating a big website (1)(190gb) running and older version of Newspaper (7 or 8), custom modded.
We made the new website (2) on a temporary domain and copied over some content, to get a preview.
But now we can’t migrate the rest of the content from the old site, images aren’t getting copied over and/or attached to posts.
Then we made a 1 to 1 exact copy (3) of the old website and put the latest newspaper theme over the old one. And tried copying the code on the pages ([tdc_zone type=”tdc_content”] etc), to get the same look as (2) but not really working. How should i put it together to get the same on (3) as on (2) but with all the content?
I can’t copy the blocks from the tagDiv composer from one site to another..
Hope it’s clear what we’re trying to do 🙂
Any advice appreciated!
Hi,
Fresh WP install and site and receiving critical error when I activate both plugins. I can activate one but not both without the error
Tried activating manually and via the Newspaper plugin page (which said ajax error)
Debug log says this:
Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /home/wwwcypruswedding/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php on line 8
Hi,
Fresh WP install and site and receiving critical error when I activate both plugins. I can activate one but not both without the error
Tried activating manually and via the Newspaper plugin page (which said ajax error)
Debug log says this:
Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /home/wwwcypruswedding/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php on line 8
Whenever I try to edit using td composer I got this Failed to load plugin url: https://xxxxxxxx.com/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/tinymce/customcodes.js
Hi,
I get a fatal crash on my website after updating the theme to the latest version (12.6.1) and activating manually TD Composer.
Error is: E_PARSE error on line 8936 of the file /public_html/wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php. Error message: syntax error, unexpected ‘)’
Server PHP version is 7.2.34. Does the latest theme need a newer version?
Please provide a solution.
Thanks,
Sebastian
With 12.6.1 update I cannot anymore edit Cloud Templates with TD Composer.
Are you planning to release an update since 12.6.1 is such a crap in many ways?
Hello tagdiv support. I am asking for something specific here please read
I’m having such a hard time removing this malware. My hosting company removed it one time, apparently via editing the database, but it has come back. They have removed it again, but they said it is only a matter of time till the issue re-surfaces.
I am running into many issues; I will mentioned three of them:
(1) Updating my version of Newspaper breaks my site; (2) updating td-composer with a newer version is apparently not possible without updating Newspaper, and (3) I tried running the SQL query mentioned by mmorselli somewhere on these pages and got nothing but errors
I am sure I am speaking for a lot of Newspaper users when I request the following:
(A) A patch, please. If these problems are due to a vulnerability in your plugin, why not release a patch? Perhaps a temporary plugin that just cleans it up?
(B) In the short term, if a patch is not forthcoming, can you please provide a version of td-composer that removes the vulnerability and can be installed on older versions of Newspaper?
(C) If no patch, can you please provide a removal guide FOR DUMMIES with simple to understand steps. Perusing many posts on these forums where people say different things has not worked out for me.
Thanks