- 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
Hello,
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– 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://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– 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!
Hi. I want to design my site from the frontend. However, the td-composer is not showing on my WordPress Dashboard.
If it helps, this is the answer I got from the Jetpack team:
It appears that the root cause of this issue is the source code of the td-composer plugin, which is causing us to report an incorrect version number. Our team of developers is working on a fix to convert the version to the expected one and it should be fixed today.
For the time being, you can ignore the security threat associated with the td-composer plugin.
Hello,
If you’re seeing only those please make this adjustment in the tagDiv Composer plugin -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_first_install.php
=>https://www.screencast.com/t/yO3iU8E5JhH
Then hit a save in the theme panel and then revert the code back to the original, this will make the social icons appear properly again -> https://forum.tagdiv.com/design-post-pages-using-default-templates/.
Thank you!
Hi. I bought the newspaper theme for my site, https://literaturepadi.com.ng a few weeks ago. I have however not been able to make anything of it. When I go as far as activating td-composer and cloud library, my site only goes down. It’s only when I delete these two essential plugins that I have access to the site back. What could be the problem here?
Hi,
If you mean the element from the opt-in builder, then it is here: wp-content\plugins\td-subscription\includes\shortcodes\tds_menu_login.php you can do the changes in this path.
Also, if you want to edit the code depending on the type of header you use, you must edit a certain file.
-> wp-content/plugins/td-composer/legacy/Newspaper/parts/header/td-login-modal.php
-> wp-content/plugins/td-cloud-library/parts/tdb-login-modal.php
Please note that any change you make in the theme files after update will be overwritten and you have to make the changes again. Better save the code somewhere and then apply it again after every update. Or you can set them in child-theme, please take a look in the documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
Yes – i have experienced same issue with jetpack notifying me about the td composer vulnerability. I have disabled my themes. Please update on this situation. Thank you!
Hi!
This morning I received a security warning from Jetpack about a known vulnerability of td-composer:
Vulnerable Plugin: td-composer (version 4.0 | built on 06.04.2023 10:28)
If I try to solve with Jetpack it removes the plugin and the theme is not usable anymore. Can you give me more informations? Is it a false positive?
If td-composer is enabled – the page does not start – it does not load
I have installed all the plugins and the website after activating td-composer stops working. I have to disable it manually for it to start with errors 🙁
-
This reply was modified 3 years by
daniel@szysz.pl.
I guess I have the same problem
Version: 12.3.1
PHP Version 8.0.28
WP Memory Limit 256 MB
PHP Execution Time 60
PHP Max Input Vars 10000
https://forum.tagdiv.com/topic/td-composer-website-not-working/
After installing the latest version Version: 12.3.1 – the website stops working.
Uninstalling td-composer just starts it but it still doesn’t work properly what’s the problem??
https://www.eswinoujscie.pl/
How to resolve the below errors showing in the websites
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: yes is not set.
/home/u820712940/domains/fashionofglam.com/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
Hi,
The files mx2 and m9 can be found here:
wp-content/plugins/td-composer/legacy/Newsmag/includes/modules/td_module_mx2.php in my opinion it seems easier to comment in the mx2 file and use a css to give full width to the module content.
Thank you!
* During our research, we have noticed that the plugin “td-composer” is not functioning properly as a result of which site functionality has been affected. Therefore, We would suggest you to contact the web-developer requesting them to install the patched version of the plugin or install any other secure WordPress plugin to the website to perform similar functions.
I need assistance with how to fix this I dont have a web developer as I do everything myself.
Hi
realized I could search forum for the old topic from 3xx days.
https://forum.tagdiv.com/topic/remove-thumbs-entirely-from-menu-search/
However the old screen cap no longer valid, so having trouble finding comparable template file to mod in the booster plugin folders.
Changing the module being used for results from mx2 to m9.
It might be simpler to just completely remove the search box from the menu, which would appears we might be able to edit this:
/tdcomposer/legacy/newsmag/parts/header/headermenu.php
//<div class="td-search-wrapper">
Suggestions helpful. Luckily I only need help with this every 5 years 🙂
Thanks for your patience.
-
This reply was modified 3 years by
simchris.
Hello,
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– 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://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– 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!
While updating from 12.2 to newer versions we got error resulting mobile theme homepage showing only posts you call grid (Grids & Latest Articles Settings). After those grid posts the error comes up. Reverting to 12.2 using your time machine everything works as usual.
The error that shows up is this one:
wp_booster error:
td_res_context->get_att(vertical_align) Internal error: The atts are not set yet(AKA: the render template method was called without atts)
/home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php
Display backtrace
Array
(
[0] => Array
(
[file] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php
[line] => 406
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php
[1] => td_res_context->get_att(vertical_align) Internal error: The atts are not set yet(AKA: the render template method was called without atts)
)
)
[1] => Array
(
[file] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php
[line] => 383
[function] => get_att
[class] => td_res_context
[object] => td_res_context Object
(
[settings:td_res_context:private] => Array
(
[all] => Array
(
[vertical_align] => baseline
[column_height] =>
[flex_auto_height] => 1
[flex_display] => block
[flex_width] => 30%
)
)
[current_media:td_res_context:private] => phone
[atts:td_res_context:private] => Array
(
)
[index_style] =>
[responsive_atts:td_res_context:private] => Array
(
[0] => flex_width
)
[fonts_to_load:td_res_context:private] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => vertical_align
[1] =>
[2] =>
)
)
[2] => Array
(
[file] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php
[line] => 109
[function] => get_shortcode_att
[class] => td_res_context
[object] => td_res_context Object
(
[settings:td_res_context:private] => Array
(
[all] => Array
(
[vertical_align] => baseline
[column_height] =>
[flex_auto_height] => 1
[flex_display] => block
[flex_width] => 30%
)
)
[current_media:td_res_context:private] => phone
[atts:td_res_context:private] => Array
(
)
[index_style] =>
[responsive_atts:td_res_context:private] => Array
(
[0] => flex_width
)
[fonts_to_load:td_res_context:private] => Array
(
)
)
[type] => ->
[args] => Array
(
[0] => vertical_align
)
)
[3] => Array
(
[file] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php
[line] => 208
[function] => cssMedia
[class] => vc_column
[type] => ::
[args] => Array
(
[0] => td_res_context Object
(
[settings:td_res_context:private] => Array
(
[all] => Array
(
[vertical_align] => baseline
[column_height] =>
[flex_auto_height] => 1
[flex_display] => block
[flex_width] => 30%
)
)
[current_media:td_res_context:private] => phone
[atts:td_res_context:private] => Array
(
)
[index_style] =>
[responsive_atts:td_res_context:private] => Array
(
[0] => flex_width
)
[fonts_to_load:td_res_context:private] => Array
(
)
)
)
)
[4] => Array
(
[file] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php
[line] => 100
[function] => load_settings
[class] => td_css_res_compiler
[object] => td_css_res_compiler Object
(
[raw_css:td_css_res_compiler:private] =>
[callback:td_css_res_compiler:private] => vc_column::cssMedia
[settings:td_css_res_compiler:private] =>
[responsive_context:td_css_res_compiler:private] => td_res_context Object
(
[settings:td_res_context:private] => Array
(
[all] => Array
(
[vertical_align] => baseline
[column_height] =>
[flex_auto_height] => 1
[flex_display] => block
[flex_width] => 30%
)
)
[current_media:td_res_context:private] => phone
[atts:td_res_context:private] => Array
(
)
[index_style] =>
[responsive_atts:td_res_context:private] => Array
(
[0] => flex_width
)
[fonts_to_load:td_res_context:private] => Array
(
)
)
)
[type] => ->
[args] => Array
(
[0] => vc_column::cssMedia
[1] => Array
(
[width] => 1/3
[is_sticky] =>
[sticky_offset] =>
[vertical_align] =>
[column_height] =>
[flex_layout] => block
[flex_layout_reverse] =>
[flex_wrap] =>
[flex_horiz_align] => flex-start
[flex_vert_align] => flex-start
[flex_order] =>
[flex_width] => eyJhbGwiOiIzMCUiLCJwaG9uZSI6IjEwMCUifQ==
[flex_grow] =>
[hide_for_user_type] =>
[logged_plan_id] =>
[author_plan_id] =>
)
)
)
[5] => Array
(
[file] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/includes/tdc_composer_block.php
[line] => 137
[function] => get_custom_css
[class] => vc_column
[object] => vc_column Object
(
[atts:vc_column:private] => Array
(
[width] => 1/3
[is_sticky] =>
[sticky_offset] =>
[vertical_align] =>
[column_height] =>
[flex_layout] => block
[flex_layout_reverse] =>
[flex_wrap] =>
[flex_horiz_align] => flex-start
[flex_vert_align] => flex-start
[flex_order] =>
[flex_width] => eyJhbGwiOiIzMCUiLCJwaG9uZSI6IjEwMCUifQ==
[flex_grow] =>
[hide_for_user_type] =>
[logged_plan_id] =>
[author_plan_id] =>
)
[block_uid] => tdi_6
[td_query] =>
[td_block_template_data:protected] =>
[td_block_template_instance:td_block:private] =>
[is_loop_block:td_block:private] => 1
[is_products_block:td_block:private] =>
[atts:tdc_composer_block:private] => Array
(
[el_class] =>
[el_id] =>
[class] => tdi_7
[css] =>
[tdc_css] => eyJwaG9uZSI6eyJtYXJnaW4tYm90dG9tIjoiMzIiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ==
[tdc_css_class] => tdi_7
[tdc_css_class_style] => tdi_6_rand_style
[row_bg_gradient] =>
[row_bg_gradient_s] =>
[gap] =>
)
[atts:td_block:private] => Array
(
)
)
[type] => ->
[args] => Array
(
)
)
[6] => Array
(
[file] => /home/oruzje/public_html/oruzjeonline.com/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php
[line] => 313
[function] => get_block_css
[class] => tdc_composer_block
[object] => vc_column Object
(
[atts:vc_column:private] => Array
(
[width] => 1/3
[is_sticky] =>
[sticky_offset] =>
[vertical_align] =>
[column_height] =>
[flex_layout] => block
[flex_layout_reverse] =>
[flex_wrap] =>
[flex_horiz_align] => flex-start
[flex_vert_align] => flex-start
[flex_order] =>
[flex_width] => eyJhbGwiOiIzMCUiLCJwaG9uZSI6IjEwMCUifQ==
[flex_grow] =>
[hide_for_user_type] =>
[logged_plan_id] =>
[author_plan_id] =>
)
[block_uid] => tdi_6
[td_query] =>
[td_block_template_data:protected] =>
[td_block_template_instance:td_block:private] =>
[is_loop_block:td_block:private] => 1
[is_products_block:td_block:private] =>
[atts:tdc_composer_block:private] => Array
(
[el_class] =>
[el_id] =>
[class] => tdi_7
[css] =>
[tdc_css] => eyJwaG9uZSI6eyJtYXJnaW4tYm90dG9tIjoiMzIiLCJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ==
[tdc_css_class] => tdi_7
[tdc_css_class_style] => tdi_6_rand_style
[row_bg_gradient] =>
[row_bg_gradient_s] =>
[gap] =>
)
[atts:td_block:private] => Array
(
)
)
[type] => ->
[args] => Array
(
)
)
)
hi, I’m trying to build a search form to let users search for certain type of business in a certain area, just like yelp.com, which means the user needs to select two taxonomies, one is business type and the other is location. The best way I found out is to use flex loop filters and used two taxonomies, one was business type and the other one was location. However, this search only worked when I didn’t select ‘multiple’ meaning I can either search with business type or location. When I selected ‘multiple filter’ in the td composer, and chose more than one taxonomies, the page just didn’t have any reaction.
Is there a better way to do such search (with more than one taxonomies)?
Thanks!
Hi,
Unfortunately, the option has been added only for the Newspaper theme.
For this, you need to edit a file from the theme wp-content/plugins/td-composer/legacy/Newsmag/includes/modules/td_module_mx2.php and comment the line for echo $this->get_image($image_size …) then you have to use css to adjust the layout, also for mobile, you have to edit other files.
Thank you!
Hello,
Our theme has 3 header files, on in theme, one in tagDiv Composer (wp-content/plugins/td-composer/legacy/Newspaper/header.php) and one in tagDiv Standard Pack (wp-content/plugins/td-standard-pack/Newspaper/header.php), now if the standard pack is enable and you do not use a cloud template then you’ll use the file from standard pack, if this plugin is disable or you use a cloud header from tagDiv Cloud Library then it will be used the file from composer, if both of these are disable will be display the one from theme (wp-content/themes/Newspaper/header.php).
I think this is the file that I think you need to edit wp-content/plugins/td-composer/legacy/Newspaper/header.php
Thank you!
TagDiv composer Edit is not working. Getting this error :
GET /wp-content/plugins/td-composer/includes/wpeditor.php?wp_path=/storage/v7877/sleepsavvynew/public_html/ 403
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 );
Also, please check this post https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
Thank you!
Hello Bettina,
Your solution did not work. Using my browser’s inspector, I can get a class (something like tdi_148) from a page and assign “display: none;” to it. But on another page this class will be different. So I will have to manually add more and more classes for every single page. Moreover, I may have several “Related article” blocks in one post.
Finally, I created my own classes and assigned them to each shortcoded element using the field Extra Class in TD composer:
@media (max-width: 767px){
.my-custom-hidden-mobile {
display: none;
}
}
@media (min-width: 768px){
.my-custom-visible-mobile {
display: none;
}
}
Now it works as expected. I get shortcode of the flex block and I insert it in many various posts on my site. They are properly hidden on mobile screens (or visible on bigger screens only).
-
This reply was modified 3 years by
Sergey.
Hi! We’re running into an issue with password reset emails. We have a login option on the menu bar, built with the TD Composer, and another login option on the WordPress bar [WP-driven]. Both of these give users the option to reset a lost password upon login. If the user requests a password reset from the WP bar, the email is delivered successfully and is formatted properly. If, however, the user requests a password reset from clicking the login link on the menu bar, the email is unformatted [blank page, must scroll way down to links on next screen, etc.]. We’re using WP Better Emails for the email formatting. Any guidance with troubleshooting is very much appreciated! Thank you!
Hello –
I have this error after an update. Is something missing here?
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_3 is not set.
/path/to/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
Thank you!
Neil