- NewspapertagDiv Composer Tutorial
- NewspaperCredit System
- NewspaperCreate a frontend submission form
- NewspaperHow to Use the Tabbed Content shortcode
- NewspaperCreate a form contact page
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperSocial Sharing
- NewspaperSingle Post Shortcodes
- NewspaperInfinite Loading for Single Posts
- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperHow to Add a Logo in Newspaper
- NewspaperCustom Post Type Support
- NewspaperCloud Library Templates
- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperHeader Builder
- NewspapertagDiv Cloud Library Plugin
- NewspaperAd Box Element and Ads Overview
Hi,
I am having problems with infinite loading whenever I click on:
1. Load more
2. Next page
3. In the admin panel when trying to click on different drop-down options (example: changing fonts).
I tried disabling all plugins, reinstalling td composer, changing htaccess file, everything and nothing is working.
Anyone has any idea how to fix that?
Here are couple of screenshorts:
– admin panel errors
– infinite load on page
My site is: CuriousMatrix.com
Hello,
If you need to make an update, before please make a full backup to all files and the database, in case something goes wrong. => https://forum.tagdiv.com/how-to-update-the-theme-2/
Here you can find information about the changes that have occurred in each update over time https://tagdiv.com/newspaper/
After you update the theme, you need to update the theme plugins too.
In the worst cases, the settings in the theme panel may be lost (there have been isolated cases), in these cases, after the theme plugins that were previously used are activated, you will have to use a backup for the theme panel -> https://forum.tagdiv.com/import-export-theme-settings/
You could consider reinstalling the WordPress version, and checking for this plugin wp-zexit.php. It might be wise to inspect via FTP if it doesn’t appear in the WordPress -> Plugins. Additionally, using Wordfence to scan the website and remove unknown users would be prudent.
Change admin passwords and delete admin accounts you are not familiar with;
– Delete any weird/unknown plugins;
– Delete the weird/unknown themes;
– Clean unfamiliar Theme Panel injected code (example – https://i.imgur.com/4q70kCv.png);
– Clean WordPress files (example – https://i.imgur.com/stJCqiK.png)
Please block /wp-json/tdw/save_css
If an attacker wants to target this URL /wp-json/tdw/save_css they can do so. Even if the website uses a different theme, the attacker can still try that URL. We could add an option to be able to enable/disable the Live CSS, it will be considered. But for now in order to remove it this can only be done with a modification to the composer plugin. I think that all that removing it requires is to comment this line of code – https://prnt.sc/RtwvL5Nc4ikR -> https://prnt.sc/ymZmhdUfp57U But as I mentioned, the attacker can still try to access the URL.
If you want, you can contact our custom work team here, and they can help you update the theme safely: https://tagdiv.com/premium-customization-services/
Thank you!
Dear team,
td-composer makes my website very slow the last 15 days. Also, in frontend or backend I cannot edit / customize the page.
View here: https://kythera.news/home/
May you help me fix it?
kind rgrds
Hello,
I hired a dev to help me upgrade the performances of my website and he found a bug in TD Composer.
The file td_util.php located /wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php miss a line that create a bug : webp is only displayed if you are logged in, not for guests or google
static function browser_supports_webp() {
return true; // <==== THIS LINE IS MISSING
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'image/webp') !== false) {
return true;
}
return false;
}
My site is https://byothe.fr
Hello,
Do you have the tagdiv Standard pack plugin activated? If yes, this is the path wp-content/plugins/td-standard-pack/Newspaper/page.php
If you don’t have the tagdiv Standard pack plugin activated this is the path wp-content/plugins/td-composer/legacy/Newspaper/page.php
Thank you!
Hi there,
I’ve been working on a new version of our site with TDC, and recently, the fields in the composer have disappeared. Some fields such as colors and font options work, but it seems like all of the regular text fields and checkboxes are gone. I’ve removed every plugin and just re-enabled the composer, but it still seems to have an issue.
Looking into it, it looks like the positioning might be causing the issue? They are set to absolute, 0,0,0px, so when i disable the absoulte value from the inspector (inherited from .tdc-tab-content-wrap .tdc-textfield-small .tdc-property property in the td_wp_admin_main.css) the boxes return but are in weird places like they weren’t before. You can see that the checkboxes (which I disabled absolute positioning) on the side bar in weird alignment, and the text field is up somewhere above the top of the page.
I haven’t edited the css files of any of the admin stuff, and all plugins are disabled. Any advice would be helpful, thank you!
images attached: https://imgur.com/a/xzRl4AW
Well, color me surprised – just updated one of our older sites which was still on Newsmag 3x trunk with major hacks, to the 5x trunk and zero issues other than having to re-authorized with license.
Main trick was
A) moving all custom CSS from theme panel to the WP customizer
B) moving all custom ‘code’ from the functions file(s) to a custom plugin
C) prperly deleting old theme and td-composer via FTP vs drag-overwrite old with new, which is always bad bad bad idea.
Sweet 🙂
We just launched infocielo.com
As soon as we launched the site went down. Serious performance issues with this Theme.
I´d appreciate any suggestion or tip for DB improvements like:
– Is there any configuration needed to improve Data Base performance with this theme?
Please ignore suggestions about Cache because we already set that up. The big issue now is with the Data Base and the queries of the theme.
For example see this Stack trace with errors.
Name
wp_posts SELECT
Duration
163.94 ms
% of transaction
5.95%
Type
db
Subtype
mysql
Action
query
Database statement
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND wp_posts.ID NOT IN (100870) AND ( wp_term_relationships.term_taxonomy_id IN (XXXXXXXX) ) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘publish’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Stack trace
class-wpdb.php in wpdb→query at line 3109
class-wp-query.php in wpdb→get_col at line 3357
class-wp-query.php in WP_Query→get_posts at line 3852
class-wp-query.php in WP_Query→query at line 3984
td_data_source.php in WP_Query→__construct at line 1516
td_block.php in td_data_source::get_wp_query at line 337
td_flex_block_4.php in td_block→render at line 2258
td_global_blocks.php in td_flex_block_4→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
tdc_composer_block.php in do_shortcode at line 220
vc_column.php in tdc_composer_block→do_shortcode at line 440
td_global_blocks.php in vc_column→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
tdc_composer_block.php in do_shortcode at line 220
vc_row.php in tdc_composer_block→do_shortcode at line 1187
td_global_blocks.php in vc_row→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
tdc_composer_block.php in do_shortcode at line 220
tdc_zone.php in tdc_composer_block→do_shortcode at line 771
td_global_blocks.php in tdc_zone→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
class-wp-hook.php in do_shortcode at line 326
tdb_view_single.php in apply_filters at line 189
Hello!
Edit the page in the tagdiv Composer, click on the row with the image, go to the CSS tab of the row, and delete the color from the overlay settings: https://app.screencast.com/zRFZHKiTZtDTd
I hope that helps you!
Thank you!
Managed to get this sorted after digging through Composer and Cloud Library plugins’ code.
Here’s the code snippet:
add_filter('author_template', 'columnist_custom_author_template', 99999);
function columnist_custom_author_template($default_template) {
global $wp;
// 1. Check if it's actually an author archive
// 2. Check the matched_rule to see if it's the columnist rule
if (is_author() && isset( $wp->matched_rule ) && '^columnist/([^/]+)/?$' === $wp->matched_rule) {
apply_filters('td_single_override', id); // COLUMNIST Cloud Library's Cloud Template ID (integer)
}
// Otherwise, return the default template (which might load template from TagDiv’s normal assignment)
return $default_template;
}
The important bit is
apply_filters('td_single_override', id);
where the second parameter is TagDiv Cloud Library’s Cloud Template ID (integer).
Hi all,
we have another situation where we’re unsure how to proceed.
Basically, we have 2 Cloud Templates for author archives (Template1, Template2). Template1 is used as a default author archive template (pagename.com/author/id) while we want to use Template2 when users visit a custom page (pagename.com/columnist/id).
We cannot achieve this through the theme options because if we manually select the template to use for specific author then regardless of if the users visit /author/id or /columnist/id the same template will be used.
Is there a way to achieve this by calling a specific Cloud Template in the code when users visit the /columnist/id page? We got the redirects down in the PHP code but can’t seem to find a way to override the Cloud template used on the custom url.
By using the add_filter('author_template', 'custom_author_template_columnist');and inside the custom_author_template_columnist function we can see that template being called here by default is /themes/Newspaper/author.php but by changing this template nothing happens, because the priority of the templates being used it’s probably overwritten by Cloud Library or Composer plugin.
Further inspection using Query Monitor plugin we can see that template being called is wp-content/plugins/td-cloud-library/wp_templates/tdb_view_author.php but can’t seem to find a way to re-use that code in our child theme’s nor our custom plugin’s code where we have our custom blocks/modules setup.
We don’t mind hardcoding the template in php if programatically calling the Cloud Template is not possible.
Any help here would be appreciated.
Thanks!
Hello,
Please block /wp-json/tdw/save_css
If an attacker wants to target this URL /wp-json/tdw/save_css they can do so. Even if the website uses a different theme, the attacker can still try that URL. We could add an option to be able to enable/disable the Live CSS, it will be considered. But for now in order to remove it this can only be done with a modification to the composer plugin. I think that all that removing it requires is to comment this line of code – https://prnt.sc/RtwvL5Nc4ikR -> https://prnt.sc/ymZmhdUfp57U But as I mentioned, the attacker can still try to access the URL.
Thank you!
I kept looking and the network part of inspect element shows that mode-less.js and text.js give error 404. The internal files return those files however and both in the td-composer directory. wp-content/plugins/td-composer/css-live/assets/external/ace/mode-less.js and wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/external/ace/snippets/text.js to be exact. Could this be the problem? If so what might be blocking the access?
Works fine with PHP 8.2, but not 8.3.
Works fine with latest WordPress.
(My setup anyway; also on Plesk.)
However, not all third party plugins may be compatible. So, generally you would activate *current* version of theme and td-composer plugin, and leave everything else off temporarily.
You will also need to clear caching if used, and you may need to restart PHP on your server (and restart nginx if using that in front of apache).
7.4x will still work for awhile, but yes, time to move to 8x — which, ironically I’m doing for one of my sites literally right now today! 🙂
(I don’t work here; just 7+ year TagDiv user.) 🙂
Pretty sure bad actors are burdening my site with 20,000+ weekly uncached requests at /wp-json/tdw/save_css. I’ve seen guidance to disable Live CSS in td-composer.php to alleviate this issue. What functionality will I lose when I disable this? The ability to make CSS edits in the TD Composer?
Hello,
I am experiencing an issue using the builder when creating pages in English.
Historically, the site has used www. and en. and has been functioning with WPML for over 10 years.
Regarding the .htaccess file and server settings (SOP/CORS, etc.), everything was functional until the introduction of the new theme with the td-composer builder.
Here is the first error that blocks the entire builder:
Uncaught SecurityError: Failed to read a named property 'tdcSidebar' from 'Window': Blocked a frame with origin "https://en.foobar.com" from accessing a cross-origin frame.
at Object.resize (tagdiv_theme.min.js?ver=12.6.6:227:443)
at tagdiv_theme.min.js?ver=12.6.6:230:134
at dispatch (jquery.min.js?ver=3.7.1:2:40035)
at jquery.min.js?ver=3.7.1:2:38006
I am in a difficult situation because, while trying to find a solution, I am compromising the security settings that were previously working fine.
Have you encountered this problem before? How can it be resolved?
Did you implement additional security measures in the plugin that are preventing all my attempts from working?
Thank you for your assistance.
Best regards,
Yohann
Thank you for your response and the helpful suggestions. I appreciate the insights and the screencasts you provided.
However, I have a follow-up question regarding the implementation. Correct me if I’m wrong, but wouldn’t using the “[tagdiv] Text with Title” shortcode or building the title separately with the TD Composer require future updates to be made directly through the TD Composer?
The reason I’m asking is that the “NDG CURRENT EDITION” section is updated weekly with a new title and link. The person responsible for these updates does not have access to the TD Composer. To make this process simpler and avoid potential disruptions to the website layout, we created this section as a widget (see #2 in the attached image
). This allows updates to be made directly on the WordPress widget page (see #1 in the attached image).
On the other hand, the first title, “Click Here: Win Tickets by Subscribing to NDG Video Channel,” does not change and was therefore built as a static title with the TD Composer.
That said, we are trying to achieve consistency by matching the width of the “NDG CURRENT EDITION” title bar to the “Click Here” title above it. Is there a way to achieve this while keeping the current setup of the widget for the “NDG CURRENT EDITION” section? Perhaps I am not understanding your suggestion correctly as I am also not sure what you mean by shortcode in this instance?
Hello!
I recommend GTranslate plugin because it is a fast solution. Another solution could be WPML, but it takes a little more time to implement: https://forum.tagdiv.com/using-theme-translations-together-wpml/
I do not recommend using the Event Calendar because the theme conflicts. Also please note that we don’t offer support for untested plugins. For the moment, we do not have an event plugin tested with our theme, but you can try one of those: https://bloggingwizard.com/best-wordpress-event-calendar-plugins/
I recommend you to build CPTs.
Full documentation here:
– https://forum.tagdiv.com/introduction-cpt-acf-newspaper-theme/
– https://forum.tagdiv.com/custom-post-type-support/
A shortcode can be inserted by using the element called “Column text” or “Text with title”. For example, in the step3 here: https://forum.tagdiv.com/add-cryptocurrency-price-ticker-widget/
“Column text” and “text with title” elements have a button called “edit content” and if you click on that button, the WP Editor will open, and you can add some text/code/shortcode there. Close the WP Editor from X, save the changes from Composer and view the page to see the changes.
You can use a plugin and add the shortcode how I mentioned above. Or a script can be added with the raw HTML in the cloud templates. For example, https://www.w3schools.com/howto/howto_js_countdown.asp, add this code to a raw HTML element.
Thank you!
Hello Bettina,
Thank you for your previous assistance. I have successfully resolved the earlier issues. However, I am now facing new challenges and would appreciate your guidance on the following matters:
Website Translation Plugin Recommendation: I am seeking an effective plugin to translate my website into multiple languages. Previously, I tried GTranslate, but it did not meet my expectations. Could you recommend a reliable translation plugin that integrates well with the tagDiv Composer and provides a user-friendly experience? Additionally, I would appreciate instructions on how to implement the recommended plugin.
Event Calendar with Map Integration: I have a category named “Calendar” where I intend to list various events, each associated with a different location. I would like these events to be displayed on a calendar and marked on a map within the same page. Could you advise on the best approach or plugin to achieve this functionality, ensuring compatibility with the tagDiv Composer?
Countdown Timer Implementation in a Template: I aim to add a countdown timer to a specific category template. While I managed to insert a countdown in a post using Gutenberg, I am unsure how to replicate this within a category template using tagDiv Composer. Could you provide detailed instructions or recommend a suitable method to implement a countdown timer in a template?
Your assistance with these matters would be greatly appreciated.
Best regards
Hello Bettina,
Thank you for your previous assistance. I have successfully resolved the earlier issues. However, I am now facing new challenges and would appreciate your guidance on the following matters:
Website Translation Plugin Recommendation: I am seeking an effective plugin to translate my website into multiple languages. Previously, I tried GTranslate, but it did not meet my expectations. Could you recommend a reliable translation plugin that integrates well with the tagDiv Composer and provides a user-friendly experience? Additionally, I would appreciate instructions on how to implement the recommended plugin.
Event Calendar with Map Integration: I have a category named “Calendar” where I intend to list various events, each associated with a different location. I would like these events to be displayed on a calendar and marked on a map within the same page. Could you advise on the best approach or plugin to achieve this functionality, ensuring compatibility with the tagDiv Composer?
Countdown Timer Implementation in a Template: I aim to add a countdown timer to a specific category template. While I managed to insert a countdown in a post using Gutenberg, I am unsure how to replicate this within a category template using tagDiv Composer. Could you provide detailed instructions or recommend a suitable method to implement a countdown timer in a template?
Your assistance with these matters would be greatly appreciated.
Best regards
Hi, as soon as i enable tdcomposer on the site, the server CPU goes up to 100% on all cores, and the website crashes/slow how can I fix this? i am running a 16core, 64gb server this cant be happening lol
Hi there – The popular SEO plugin RankMath is telling me that the following CSS and JavaScript files are not minified:
/wp-content/plugins/td-subscription/assets/css/tds-front.css?ver=1.6.2
/wp-content/plugins/td-composer/assets/fonts/font-awesome/font-awesome.css?ver=def8edc4e13d95bdf49953a9dce2f608
/wp-content/plugins/td-composer/legacy/Newspaper/js/tdPostImages.js?ver=12.6.8
Could you please let me know how I can minimise them individually. Everything else is minified.
Thanks in advance.
Thanks in advance.
After some heavy digging I discovered a function in wp-content\plugins\td-composer\legacy\common\wp_booster\td_module.php called get_image that I had to modify to display my meta images, but I am not sure how long is this legacy folder going to be supported? Also my changes will get wiped after an update, so it is not ideal solution…
Hello,
Yes, you can not exclude posts from a category, but you can choose another type, for example, the tag option, to filter it.
he code for infinite post iframe is on those files:
-> wp-content/plugins/td-cloud-library/includes/tdb_ajax.php
-> wp-content/plugins/td-cloud-library/assets/js/js_posts_autoload.min.js
-> wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
Also, this can be implemented with custom work, if you want.
The options in the theme are added based on their popularity and how often they have been requested. This option hasn’t been requested very often.
Thank you!
Hello,
Please let me know what you see in the social share section in the theme panel.
f you’re seeing only NAVER 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/.
If you don’t have success you can send us an email at contact@tagdiv.com and provide
– wp-admin URL and credentials
– cPanel URL and credentials
We will fix the problem. Include a link to this topic in the email.
Let me know the results!
Thank you!