- 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,
Please go to this path td-composer/legacy/common/wp_booster/td_exchange.php and add this code -> https://i.imgur.com/4anEAqj.png
// try using the new API
if ( $api_response['success'] === false ) {
$api_url = 'https://api.apilayer.com/exchangerates_data/latest?apikey=' . $exchange_data['api_key'];
$json_api_response = td_remote_http::get_page($api_url, __CLASS__);
$api_response = @json_decode($json_api_response, true);
}
Hope this help you!
Thank you!
1. I’m using Advanced Ajax Page Loader, some plugin that allows me to load all page content without reloading the window. Everything works properly, expect that when I switch to some other page I have to trigger image loading and other tagdiv js again. Is there a simple way to trigger it when some user clicks a new page?
2. Other question. I’ve made many changes to some files.
> plugins/td-cloud-library/shortcodes/single/tdb_single_author.php
> plugins/td-composer/td-multi-purpose/shortcodes/tdm_block_button.php
> plugins/td-composer/legacy/Newspaper/header.php
> plugins/td-composer/legacy/Newspaper/footer.php
how to make it part of my child theme? is that possible?
Hi,
Understand there are ready child theme folder for the root theme folder is td-standard-pack plugin folder. May I know is it possible to create child theme for the mobile theme which the root theme folder is td-composer/mobile?
Thanks.
Hello!
The file is located in “td-composer/legacy/Newspaper/includes/modules/td_module_flex_1.php” and the link is at line 169 and you can apply target blank.
Thank you!
Hi,
Thank you for your suggestions, I’ve tried your suggestion but still, nothing works. There’s also an error when I try to inspect the console, the error is
Uncaught DOMException: Failed to execute ‘atob’ on ‘Window’: The string to be decoded is not correctly encoded.
and it says that td-composer plugin is what caused the error.
Hi
I have a website https://www.koulouriservice.gr if active td-composer then blank page. If login admin then its ok.
I have reinstalled theme and td-composer via ftp
Can be fixed?
Thanks
Hello,
Please go to this path td-composer/legacy/common/wp_booster/td_exchange.php and add this code -> https://i.imgur.com/4anEAqj.png // try using the new API
if ( $api_response['success'] === false ) {
$api_url = 'https://api.apilayer.com/exchangerates_data/latest?apikey=' . $exchange_data['api_key'];
$json_api_response = td_remote_http::get_page($api_url, __CLASS__);
$api_response = @json_decode($json_api_response, true);
}
Hope this help you!
Thank you!
Λεπτομέρειες σφάλματος
===========================================
Ένα σφάλμα τύπου E_ERROR εντοπίστηκε στη γραμμή 949 του αρχείου /home/admin/domains/scandalo.gr/public_html/wp-content/plugins/td-composer/includes/tdc_main.php. Κωδικός σφάλματος: Out of memory (allocated 98566144) (tried to allocate 2097152 bytes)
Why can this happen?
error schreenshot
https://snipboard.io/8tjQ5h.jpg
my staging site url:
https://redcubeclients.in.net/sainikschool
Hi,
If you disable the SiteGround Optimizer plugin the menu and search work.
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/
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
Thank you!
Hi,
Is there a way to create a category prefix to show up on single post trmplates before the H1 title? And also to be visible on the category pages as well as all td composer blocks throught the website. What i need is something you can see on this url/website for example: https://monochrome-watches.com/ the prefix (in brown) before the title of the post should be the name of the category and should be visible on all places where this post appear (category page, single post..). It should not be clickable but only to appear as a <span> tag before (not inside) the h1 tag. It should however dynamicaly populate based on the category that single post belongs to.
What i need is the info regarding which of the category/single post templates from newspaper theme should i use and edit to achieve this type of a category show-up. I looked up the sigle.php loop-single and category.php but couldnt fi d the place where i should implement something additionaly to achive this. Can you assist please? All of this, if achiveable, I would implement through the child theme folder so that the cha ges remains during the update process.
Thanks
Hello,
You can translate it in the theme files wp-content/plugins/td-composer/legacy/common/wp_booster/td_social_sharing.php -> https://i.imgur.com/A6mIVVB.png
Thank you!
Hi,
You need to make changes in the theme files. You need to edit this file -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php and add the code here https://imgur.com/mtbsonl
Also, please check this topic https://forum.tagdiv.com/topic/open-all-posts-from-main-loop-in-new-tabwindow/
Thank you!
Hi leagcooks, do you also want to apply to underline for the blocks? or only for some pages where you have links?
This code will apply only to page content, if you need it on blocks too, please let me know!
.td-main-content a {
text-decoration: underline! important;
}
Hi bensbtar, I see that you are using the Newspaper theme and the theme plugins are not enabled, please go to Newspaper > plugins and install and enable from there the tagDiv Composer, tagDiv Cloud Library and it is possible to need to install tagDiv Opt-in builder.
Thank you!
Hi Bettina,
this is the error deactivating all plugins, except those of TAGDIV.
I’ve also checked with 8.1, but I receive also some errors in the backend.
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php:1142 Stack trace: #0 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php(1142): number_format() #1 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): td_block_social_counter->render() #2 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #3 [internal function]: do_shortcode_tag() #4 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #5 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #6 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php(316): tdc_composer_block->do_shortcode() #7 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_column->render() #8 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #9 [internal function]: do_shortcode_tag() #10 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #11 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #12 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php(1145): tdc_composer_block->do_shortcode() #13 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_row->render() #14 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #15 [internal function]: do_shortcode_tag() #16 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #17 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #18 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/tdc_zone.php(591): tdc_composer_block->do_shortcode() #19 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdc_zone->render() #20 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #21 [internal function]: do_shortcode_tag() #22 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #23 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/class-wp-hook.php(308): do_shortcode() #24 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/plugin.php(205): WP_Hook->apply_filters() #25 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/post-template.php(255): apply_filters() #26 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/Newspaper/page.php(51): the_content() #27 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/template-loader.php(106): include(‘…’) #28 /web/htdocs/www.rottadeitrasporti.it/home/wp-blog-header.php(19): require_once(‘…’) #29 /web/htdocs/www.rottadeitrasporti.it/home/index.php(17): require(‘…’) #30 {main} thrown in /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php on line 1142
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/functions.php on line 5279
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/functions.php on line 5279
Hello
As I write to you I activate only TD composer.
The solution was to delete TD composer plugin, and reinstall it.
Rgds
Ivett
Hello,
I checked system settings:
WordPress 6.1.1
Apache
Current PHP version: 7.4
memory_limit: 256M
Everything has green checkmark on the system status screen.
I deactivated all plugin, and after activating only the TD composer plugin, the website has the following error (it is translated from Hungarian):
“There has been a serious error on our site. Check the mailbox at the administrator email address for details.
Learn more about WordPress debugging.”
Thank you for your help
Hello,
Until 13th of February our website worked well with Newspaper, we used TD composer. On Monday the site collapsed, and we found out, that the TD Composer plugin cause the error. Would you be so kind to help, how can we fix it.
Rgds
Hello Bettina,
with PHP 8 the website shows only a boxed version of the header and then this list of errors.
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php:1102 Stack trace: #0 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php(1102): number_format() #1 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): td_block_social_counter->render() #2 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #3 [internal function]: do_shortcode_tag() #4 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #5 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #6 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php(316): tdc_composer_block->do_shortcode() #7 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_column->render() #8 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #9 [internal function]: do_shortcode_tag() #10 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #11 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #12 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php(1145): tdc_composer_block->do_shortcode() #13 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_row->render() #14 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #15 [internal function]: do_shortcode_tag() #16 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #17 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #18 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/tdc_zone.php(591): tdc_composer_block->do_shortcode() #19 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdc_zone->render() #20 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #21 [internal function]: do_shortcode_tag() #22 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #23 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/class-wp-hook.php(308): do_shortcode() #24 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/plugin.php(205): WP_Hook->apply_filters() #25 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/post-template.php(255): apply_filters() #26 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/Newspaper/page.php(51): the_content() #27 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/template-loader.php(106): include(‘…’) #28 /web/htdocs/www.rottadeitrasporti.it/home/wp-blog-header.php(19): require_once(‘…’) #29 /web/htdocs/www.rottadeitrasporti.it/home/index.php(17): require(‘…’) #30 {main} thrown in /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php on line 1102
Si è verificato un errore critico sul tuo sito web.
Scopri di più riguardo la risoluzione dei problemi in WordPress.
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/functions.php on line 5279
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/functions.php on line 5279
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/iubenda-cookie-law-solution/iubenda_cookie_solution.php on line 722
Hello.
I use a prebuilt site, Publication PRO. In Publication PRO, in Single Template, there is a Share button called Single Post Share.
I have set the Buttons text color in TagDiv Composer, but it seems that something is overriding the value.
For example, let’s look at the Twitter Share button: in TagDiv Composer, the Buttons text color is set to #000000, but when I open the actual page and check it from the developer tools, the cyan style is overriding it, as shown below.
.td-ps-text-color .td-social-twitter .td-social-but-text {
color: #29c5f6;
}
Checking the Publication PRO demo site from the developer tools, the same thing seems to be happening.
I gave up on setting it from TagDiv Composer and tried applying #000000 to the same class name as above using Live CSS, but it was still overwritten by cyan.
Is there any way to fix this?
Thank you in advance.
Thanks for your advise! Indeed it works when you add the Category Background Image after the Category title (with BACKGROUND BOXED LAYOUT off).
What I had in mind was to add the Category Background Image immediately under the main menu bar, for the full width of the category page. But if I do so I find that all pages (including Homepage, Contact page) have an empty space at the very same location as the images on Category pages (td_meta_replacement.png).
I tried to add an image on those pages but if I do that trough tagDiv Composer (Css – Background Image), this added image will be placed over the images on Category pages, not overwriting them but covering them.
In conclusion:
– my best scenario will be no Background Image on Home page, full width Background on Category pages and no Background page on other pages as Contact page for example
– what I expressed before is the ideal scenario, but if there is not possible I can live with your solution
If you have an workaround I’ll be more than pleased to hear it.
Thanks anyway!
Hi,
Indeed for this, you need to edit the theme files, for example, on this path wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php you can change the popular 7 days – https://i.imgur.com/5VMIaGl.png you need to set the time in seconds, if you want to set it for last 60 days you can replace the number with this one 5,184,000
Thank you!
Hi! I need to Custom filter to get random post from last 2 months (instead of las 7 days). I ve already found out here that i need to make some changes at td_data_source.php file located at wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php
But extremely basic question: hot to locate this file? FTP? (which credentials) I cant see this specific file at wordpress.
Thanks Bettina,
re broken TD composer I will try those …
BUT
…one can only get one’s purchase code in the manner you describe BEFORE doing the downloads. It does not work for me.
Are there no defining codes within wordpress/the theme backend itself? So that i can get access to support for this problem
Thanks
Hi,
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
Thank you!