Hi,
If you want to use the default post template, then you need to copy the td-composer/legacy/Newspaper/loop-single.php and single.php file in wp-content/themes/Newspaper-child/loop-single.php and single.php -> https://i.imgur.com/y14lTos.png if you want to edit the rest of the theme standard post styles, these are in wp-content/plugins/td-standard-pack/Newspaper/parts/single and you need to set the file in child theme like this wp-content/themes/Newspaper-child/parts/single/loop-single-1.php and single_template_1.php
Thank you!
Hi there,
We have a heavy traffic website and over the past plus week, our website has been failing and getting a 504 error. We had our server techs review it to see where the issue is and they’re saying the problem appears to be coming from
wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php
Here are some of the messages they sent me:
I’m seeing lots of uncached admin ajax requests throwing the action “[action] => td_ajax_update_views” coming from this plugin:
wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php
129:add_action(‘wp_ajax_nopriv_td_ajax_update_views’, array(‘td_ajax’, ‘on_ajax_update_views’));
130:add_action(‘wp_ajax_td_ajax_update_views’, array(‘td_ajax’, ‘on_ajax_update_views’));Whatever that plugin is doing is hitting Apache directly without being cached and in mass.
The other message they said:
You got it, at the very minimum, have them troubleshoot why the following function:
wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php
Is throwing out all the admin ajax requests “td_ajax_update_views” in an uncached manner
Any help is greatly appreciated – even if we have to disable something in the meantime.
Thank you
Hello, I just update Newspaper to the latest version and try to use only cloud library but no standard kit.
Main language: everything is working.
Other languages: here is the list of problems
– Newspaper does not display correct footer or header.
– Custom template with different footer or header display always template configured int theme panel
When adding a template translation with WPML, the template has to type (footer, header, category, ….)
I fix footer and header by patching the following file with in td-composer
legacy/common/wp_booster/td_global.php
726c726,728
< return (int) str_replace(‘tdb_template_’, ”, $template_id);
—
> $template_id = (int) str_replace(‘tdb_template_’, ”, $template_id);
> // fix for wpml
> return apply_filters( ‘wpml_object_id’, $template_id, ‘tdb_templates’, true );
And everything is working now.
Still get the problem with template type not setted. but i can do it via SQL.
When I click TagDiv Composer in new page, I gives me error
ERR_HTTP2_PROTOCOL_ERROR
Hi,
If you are referring to this button -> https://i.imgur.com/WWBPqCj.png for this you need to set the link in the theme files, because in the theme is no option for this. There are two file where you need to set your link, one is for standard templates and one is for cloud templates.
Cloud -> wp-content/plugins/td-cloud-library/parts/tdb-login-modal.php
Standard -> wp-content/plugins/td-composer/legacy/Newspaper/parts/header/td-login-modal.php
-> wp-content/plugins/td-composer/legacy/Newspaper/parts/register.php
Hope this will help you!
Thank you!
Your wrote “all the file from td-standard-pack/Newspaper and td-composer/legacy/Newspaper can be set in child theme”
So what is correct path in child theme for file “td-composer/legacy/Newspaper/loop-single.php”?
Good morning,
how do I have to place these files that I have modified in theme to the child theme?
/wp-content/plugins/td-composer/legacy/Newspaper/includes/modules/td_module_flex_1.php
/wp-content/plugins/td-composer/legacy/Newspaper/includes/modules/td_module_flex_5.php
/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_content.php
Hi pavel_t,
The answer is that you can set these files in the child theme, but you need to set the right path, all the file from td-standard-pack/Newspaper and td-composer/legacy/Newspaper can be set in child theme.
In your case you want to edit a single post template from tagDiv Cloud Library, this can be edited only with tagDiv Composer, and can not be set in child theme.
Thank you!
I am getting this error after brand new installation of Newspaper theme v10.2 .
Fatal error: Uncaught Error: Call to undefined function get_the_ID() in /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-content/plugins/td-composer/includes/tdc_main.php:326 Stack trace: #0 /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-includes/class-wp-hook.php(288): tdc_on_load_font_icon(”) #1 /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-includes/script-loader.php(2670): do_action(‘wp_enqueue_scri…’) #4 /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-includes/class-wp-hook.php(288): wp_enqueue_scripts(”) #5 /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #6 /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-includes/plugin.php(478): WP_Hook->do_action(Array in /mnt/data/accounts/b/beseen/data/www/istrojirenstvicz/wp-content/plugins/td-composer/includes/tdc_main.php on line 326
Any ideas?
Hi Calin,
so your answer is “NO, you can’t incorporate these changes into child theme and you have to edit these files manually after every update of theme”?
I have similar problem, I need to modify single post template and I figured out only file affecting post appearance is ../wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php
Hi,
Following are steps i did.
1. Replace old theme with newsmag
2. Install and activate td-composer and deactivate all existing plugins.
3. Added logo to desktop site, hide top bar, hide social media icons
4. Saved settings and navigate back to wordpress Post menu to add new post.
5. All changes reflected to frontend
Now I install and activate td-mobile plugin, all changes made to theme panel reversed to default. No logo, topbar and social media icons appeared.
I did not make any change to demo.
Best Regards,
Prashant
site: https://www.correiocapivari.com.br/
i updated the theme and the site is running really slow i opened an support on my host and they said its the theme going wrong and sent me this.
Erro de banco de dados do WordPress Lost connection to MySQL server during query para a consulta SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN (‘nav_menu’) ORDER BY t.name ASC feita por require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include(‘/themes/Newspaper/functions.php’), require_once(‘/themes/Newspaper/includes/wp-booster/tagdiv-wp-booster-functions.php’), do_action(‘td_wp_booster_legacy’), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, require_once(‘/plugins/td-composer/legacy/Newspaper/functions.php’), require_once(‘/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php’), do_action(‘td_global_after’), WP_Hook->do_action, WP_Hook->apply_filters, td_config::on_td_global_after_config, wp_get_nav_menus, get_terms, WP_Term_Query->query, WP_Term_Query->get_terms
Hello How to create floating sticky ads on Footer? This is non-Adsense ads by the way.
I’ve tried to paste it Analytics/JS, but it won’t sticky.
Can you tell me how to do that?
When I tried to edit my Home page with TD Composer, there’s no Mobile Header/Footer options.
Please help
Hi,
So you do not want to use the category from the theme and you want to use your own page category (the same with author), in order to remove/delete the links for the category and author from modules, you need to make some changes in theme file.
If you have tagDiv Standard Pack deactivate, then all the changes you need to do is in these files from wp-content/plugins/td-composer/legacy/Newspaper/includes/modules for flex 1 -> https://i.imgur.com/6QGfOTy.png -> https://i.imgur.com/Qoqap7N.png
If you want you can use the child theme provide in the theme package, also please check our documentation for child theme -> https://forum.tagdiv.com/the-child-theme-support-tutorial/
Hope this will help you!
Thank you!
Updated to v10.3 however now I can’t import template or section from cloud into my homepage. Also won’t upload photos and shows this error message: Invalid data Current state has involved an issue. You could try an UNDO operation (CTRL+Z / CTRL+SHIFT+Z)
when editing with TD Composer.
Thanks in advance. Ann
What do you enter in the box ‘gradient direction’ in TD Composer?
Many elements have Color 1 overlay – Color 2 overlay ( which I understand ) – then gradient direction?
Thanks!
Hi,
Maybe there was something temporary, now the ad appear -> https://i.imgur.com/YFb8DOD.png
The author link from mobile theme plugin need to be removed from here wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php -> https://i.imgur.com/yaW8PVd.png
Thank you!
I have tried to install Newsmag on a site that already has Newspaper installed. The site crashes and gives this error message and Newspaper is mentioned in the error message:
En fejl af typen E_COMPILE_ERROR skete i linje 96 i filen /home/euinfo/public_html/podcasts/wp-content/plugins/td-composer/td-composer.php. Fejlbesked: require_once(): Failed opening required ‘legacy/Newspaper/functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php:/usr/local/php71/lib/php’)
I have tried to install Newsmag on a site that already has Newspaper installed. The site crashes and gives this error message and Newspaper is mentioned in the error message:
En fejl af typen E_COMPILE_ERROR skete i linje 96 i filen /home/euinfo/public_html/podcasts/wp-content/plugins/td-composer/td-composer.php. Fejlbesked: require_once(): Failed opening required ‘legacy/Newspaper/functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php:/usr/local/php71/lib/php’)
Hi,
The theme need those link to can access those files -> https://i.imgur.com/6eDsT6i.png, if you want to removed theme, you can do it only from theme files, but is very possible to break the theme functionality.
The category file can be found on this path -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_category_template.php
If you want to remove the author links you can do it from here wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php -> https://i.imgur.com/NzeROzY.png
Thank you!
I wrote in the text, I deactivated the plugins … and clearing the cache didn’t help … look at the screen, what errors occurred after disabling plugins except TD composer and AMP
https://prnt.sc/ravfnf
-
This reply was modified 6 years by
denya.
Hi,
As I can see these are Google auto ads -> https://i.imgur.com/Y1stduz.png so the type of ads will be set inside of your website automatically.
-> https://support.google.com/adsense/answer/9261307?hl=en
The ads can be set in theme panel -> https://i.imgur.com/REvtGGP.png it can be set using tagDiv Composer and add an ad box on pages and cloud template, also auto ads can be set in head -> https://i.imgur.com/8DmGkfG.png
Hope this will help you!
Thank you!
Dear Newspaper Staff,
I currently have the 9.6.1 version with:
ACTIVE
tagDiv Composer
tagDiv Social Counter
ACTIVATE
tagDiv Cloud Library
WPBakery Page Builder: version 5.6 (6.1 is the last one)
I don’t know if I need wpbakery page builder, anyway I don’t have the automatic update for this plugin.
I update from NewsP 9.6.1 to 10.3, after that I activate all the required plugins (included Stardard Pack) and I clean the website cache. After all this, the website changes a lot not in better.
strange code appears right below the title:
[tdc_zone type=”tdc_content”]
[td_block_trending_now css=”.vc_custom_1547535486730{margin-top: 10px !important;}”]
Pictures are lot bigger inside the posts and a lot smaller on the homepage.
The menu and all the submenus are taken away from the horizontal menu and put in a list mode.
here’s the screenshots (they redirects to the url: https://it.imgbb.com/)
https://ibb.co/gRKKVVX
https://ibb.co/5G666L6
https://ibb.co/f9nckN0
https://ibb.co/JqB1TcY
Please help, thank you
I would like to add custom ad banners or html blocks per Category Page, however the TD COmposer does not work on these Category Paes, what do you recommend?
AMP only works on the home page
https://prnt.sc/rav9qb
on other pages does not work
https://prnt.sc/ravb74
These are my AMP settings.
https://prnt.sc/ravchh
https://prnt.sc/ravd9w
after disconnecting all plugins except TD composer and AMP, the following error occurred
https://prnt.sc/ravfnf
And these errors are given to me by the search console
https://prnt.sc/ravhwe