- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewsmagHow to use the Visual Composer plugin
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- 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
i has created mobile page on td composer, but why doesn’t appear in my handphone, and appear in my mobile amp version, i had uninstalled plugin amp
https://www.screencast.com/t/Q5LeRkHn
https://www.screencast.com/t/7PvDO2YAc7j
in my mobile https://www.screencast.com/t/pt7Nz60xt
i had cleared my cache
Thank you Vlad, it worked (I had to adjust the CSS settings to reduce the empty white spaces left over by some of the changes I made, but it worked).
So if you don’t mind me asking, what effect does the changes I made in this screenshot do? (since you told me I could mod the post pages directly from TD composer)? I had turned multiple things (like Show Categories Tags, Show Author Name, and a few more). I’m asking because I basically made changes but don’t know where or how they took effect, you know? Thanks.
Hi Calin,
I want to try to get rid of
“<!doctype html>”
Since I see a js error
"Uncaught SyntaxError: expected expression, got '<'" at line 1
how can i see the 3 header files you mention?
grep “<\!doctype” -r *
amp/vendor/ampproject/common/src/Dom/Document.php: const HTML_DOCTYPE_REGEX_PATTERN = '#<!doctype\s+html[^>]+?>#si';
amp/vendor/ampproject/common/src/Dom/Document.php: const HTML_STRUCTURE_DOCTYPE_PATTERN = '/^(?<doctype>[^<]*(?>\s*<!--.*?-->\s*)*<!doctype(?>\s+[^>]+)?>)/is';
amp/vendor/ampproject/common/src/Dom/Document.php: // Detect and strip <!doctype> tags.
amp/templates/html-start.php:<!doctype html>
amp/back-compat/templates-v0-3/single.php:<!doctype html>
td-composer/mobile/header-amp.php:<!doctype html >
td-composer/mobile/header.php:<!doctype html >
td-composer/legacy/Newspaper/header.php:<!doctype html >
td-standard-pack/Newspaper/header.php:<!doctype html >
wordfence/views/waf/debug.php:<!doctype html>
wp-mail-smtp/src/Admin/Pages/TestTab.php: <!doctype html>
-
This reply was modified 5 years by
salsero72.
Got the above working. Line 303:
/www/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php
Hi jayadesh,
As I can see you are using right now a standard header template, to add the date on this you need to make changes in theme files, now you are using header stile 1, therefore you need to edit this file -> wp-content/plugins/td-standard-pack/Newspaper/parts/header/header-style-1.php you need to set the code for date under the logo code -> https://i.imgur.com/ya6U3Sp.png
Also there is a better way to do this, use a cloud header from tagDiv Cloud Library, this can be edited with tagDiv Composer and you can set the elements where you want -> https://i.imgur.com/FB6AKCb.png -> https://i.imgur.com/zYhoMBk.png
Hope this will help you!
Let me know the results!
Hi there
For one week now, tagDiv composer doesn’t load no more on my website.
After clicking (on my homepage) on “Edit with TD Composer” I have the tagDiv composer trying to load. But just after 3 or 4 seconds, it closes itself and that’s it. I get back to the homepage of my website with nothing happened…
Here is the image of tagDiv trying to charge without success : https://pasteboard.co/JzxzyQIS.png
Can somebody help me ? Why is tagDiv blocked now ?
Hi Jose,
Is possible that the problem the be from the code that you have set in mobile functions and theme functions. For example this code echo ‘<link rel=”preload” href=”https://soyungato.com/wp-content/plugins/td-composer/mobile/images/icons/mobile-theme.woff” as=”font”>’; should be set only in mobile functions.php is no need for it in theme functions.
Please check this and hope it will help you!
Hello !
Newspaper Theme has no element with this function. You can edit the code in here: wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_big_grid_flex_1.php.
Please note that this is considered custom work which is not covered by the newspaper theme support.
Thank you !
After updating to the latest version the “Title” component from the TD composer is no longer is centered. Even when setting the “Title align” and “H align” its no longer horizontally centered.
Help!
Hi,
I’m trying to remove the background image that is part of the LifePro header but can’t figure out where it is located in TD Composer. It’s the faded image that says “The Last Waltz April 9” or something like that.
Any help would be appreciated. Thank you!
Hi everyone. I also want to get rid of the news ticker, but have a question.
When I do what Calin suggested and just right click and delete it using the TD composer, a blank/empty line persists where the news ticker is/was (pls see the screenshot, says EMPTY COLUMN)). How can I get rid of the ticker AND nicely get rid of that empty column (for both PC and mobile versions). Thanks.
Screenshot: https://ibb.co/3MKxnsZ
Updated to the latest version and now the TD composer is no longer available with mobile devices. Older versions of Newspaper it worked.
I have had newsmag for some time now, even though, I am not a coder, I rarely run into theme issues on modern designed themes, then I installed Newsmag, ROFL.
first thing to note is that I installed the latest Newsmag + TD Composer, on a fresh WP install with no other plugins, so I already know this is not a conflict with other plugins since I had not other plugins installed at the time.
1: TD Composer does not load, or the spinnning circle of death
2: Videos do not load in-content, however, they do show on page
I have also noticed some jquery errors, however, not sure if all this is related.
on page inspection:
jquery.js:5921 Unrecognized Content-Security-Policy directive ‘require-sri-for’.
(anonymous) @ jquery.js:5921
about:blank:1 Unrecognized Content-Security-Policy directive ‘require-sri-for’.
tagdiv_theme.min.js?ver=4.9.5:302 Uncaught ReferenceError: setMenuMinHeight is not defined
at Object._lazy_callback_resize_500 (tagdiv_theme.min.js?ver=4.9.5:302)
at tagdiv_theme.min.js?ver=4.9.5:306
my host was kind enough to send me a screenshot, however, I will have to type it out manually
warning: undefined constant TDC path legacy will throw an error, bla, bla..future version of php /path/public_html/domain/content/plugins/td-composer/td-composer.php on line 114
This may be interesting also:
Fatal error: Uncaught Error: Class
‘td_util’ not found in
/wp-content/themes/Newsmag/functions.php:52
#0 /wp-includes/class-wp-hook.php(287): {closure}(false, Object(WP_Query))
#1 /wp-includes/plugin.php(206): WP_Hook->apply_filters(false, Array)
#2 /wp-includes/class-wp.php(658): apply_filters(‘pre_handle_404’, false, Object(WP_Query))
#3 /wp-includes/class-wp.php(748): WP->handle_404()
#4 /wp-includes/functions.php(1285): WP->main(”)
#5 /wp-blog-header.php(16): wp()
#6 /index.php(17): require(‘/home/digit152/…’)
any ideas from you coding gurus that never sleep?
Thank-You
Hi Calin, after acquiring the right permissions, the theme is now updated to 4.9.5 using method B! Most, but not all things have migrated over, save the fact that preserving the settings key didn’t actually do anything, but it’s still magnitudes better than what was before.
There still one glaring issue, which started this whole thing. tagDiv Composer still loads infinitely, even with updating all of the plugins as suggested from your link, and with your new patches.
In the developer-mode console when trying to use the composer, this error is prevalent:
“Uncaught TypeError: Cannot read property ‘toString’ of undefined
at td_wp_admin.min.js:18
at td_wp_admin.min.js:21
js_files_for_wrapper.min.js:758 Uncaught TypeError: Cannot read property ‘toString’ of undefined
at js_files_for_wrapper.min.js:758
at js_files_for_wrapper.min.js:798
post.php:4967 Uncaught ReferenceError: QTags is not defined
at post.php:4967”
After a bit of space, there is also the following:
“js_files_for_wrapper.min.js:380 Uncaught TypeError: Cannot read property ‘isIe8’ of undefined
at HTMLIFrameElement.loadIframe (js_files_for_wrapper.min.js:380)
at HTMLIFrameElement.dispatch (jquery.js:3)
at HTMLIFrameElement.r.handle (jquery.js:3)
ace.js:1 Uncaught TypeError: n is not a function
at n (ace.js:1)
at a (ace.js:1)
at r (ace.js:10)
at Object.a [as require] (ace.js:10)
at post.php:2431
at dispatch (jquery.js:3)
at r.handle (jquery.js:3)”
Here’s a picture:

We’re almost there Calin! If there is something wrong that I could fix on my end, that would help in troves. Also, I am a developer myself, so if there is something specific in the backend that needs a tweak it’s entirely possible for me to get my hands dirty.
Cheers,
-C
Hi,
I’m seeing an error on all pages in wp-admin saying:
Notice: add_filter was called incorrectly. Filter for "amp_is_enabled" added too late. To disable AMP, this filter must be added before the "plugins_loaded" action. Please see Debugging in WordPress for more information. (This message was added in version 2.0.) in /www/osaco_928/public/wp-includes/functions.php on line 5229
Then, when I try to open a page with TD Composer it gets stuck loading and I get a bunch of errors saying register_rest_route was called incorrectly
Print screen of errors: https://prnt.sc/vf7obx
I’ve toggled all themes and plugins and this goes away when TD Composer is deactivated.
My stage website is staging-osaco.temp312.kinsta.cloud
In the javascript console I see the following error
Uncaught TypeError: b.$filterMeasure is undefined
timeoutWindowResize https://nomisma.com.cy/wp-content/plugins/td-composer/legacy/Newspaper/js/td_wp_admin.min.js?ver=10.3.7:135
setTimeout handler*init/</< https://nomisma.com.cy/wp-content/plugins/td-composer/legacy/Newspaper/js/td_wp_admin.min.js?ver=10.3.7:135
init https://nomisma.com.cy/wp-content/plugins/td-composer/legacy/Newspaper/js/td_wp_admin.min.js?ver=10.3.7:137
jQuery 9
<anonymous> https://nomisma.com.cy/wp-content/plugins/td-composer/legacy/Newspaper/js/td_wp_admin.min.js?ver=10.3.7:65
Hello, I don’t know what happened to me on my website, but suddenly I have these messages on my home page, when I enter my WP, the other pages are seen correctly but my home does NOT, these errors appear.
What can I do to solve this? IT IS URGENT. Thank you
wp_booster error:
td_api_base :: mark_used_on_page: a component with the ID: td_block_templateize_7 is not set.
/home/radiomarcabarcelona/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
Backtrace display
wp_booster error:
Missing parameter: ‘file’
/home/radiomarcabarcelona/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_autoload_classes.php
Backtrace display
There has been a critical error on your website.
Cannot edit using TD Composer, I receive an infinite loading circle animation.
Please help
but if I add it in the html generated by tdcomposer ?, which files should I modify to add it manually
Cannot edit using TD Composer, I receive an infinite loading circle animation.
Please help,
Hello @Calin,
Thanks for help me 🙂
Ok, I put this code in functios.php theme and mobile. And I add this extra code becouse Google Page Speed say me. The final code is:
// Preload Newspaper fonts for responsive theme (main theme)
function dns_prefetch_responsive()
{
echo '<link rel="preload" href="https://soyungato.com/wp-content/themes/Newspaper/images/icons/newspaper.woff?19" as="font">';
echo '<link rel="preload" href="https://soyungato.com/wp-content/plugins/td-composer/assets/fonts/td-multipurpose/td-multipurpose.ttf" as="font">';
echo '<link rel="preload" href="https://soyungato.com/wp-content/plugins/td-composer/mobile/images/icons/mobile-theme.woff" as="font">';
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
But now, Google Page Speed say:
Warnings: A preload ‘link’ element has been found for “https://soyungato.com/wp-content/plugins/td-composer/mobile/images/icons/mobile-theme.woff”, but the browser has not used it. Check that the crossorigin attribute is being used correctly.
I dont know how to fix it. Any idea?
Thanks
-
This reply was modified 5 years by
Jose.
Hi Calin,
please look at this issue. I have installed woocommerce and some pages were added by default. The problem is that when I edit those pages with TD Composer, the shortcode of woocommerce is dissapearing, liaving the page as you see in the end of the video:
https://www.dropbox.com/s/e713a8e4uoohuh2/bandicam%202020-11-06%2014-54-43-131.avi?dl=0
As far as I know woocommerce is compatible with this theme. How do I best work in this situation? There will be times that I will have to maybe change some things on the theme’s appearance, and it would be a lot of trouble if a whole product page would just vanish, because of it.
Looking forward to hearing from you.
This page isn’t workingautozcraze.com didn’t send any data.
ERR_EMPTY_RESPONSE
Hi,
Our developers made a fix for the above problem, this will be add in the coming updates. If you need it now, then you need to make the follow changes in theme files.
wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php then under line 645 you need to ad a code -> https://i.imgur.com/A3Sq7zk.png -> https://i.imgur.com/7Zl9pCS.png
if(empty($extra_icon_fonts)){
$extra_icon_fonts = array();
}
Then you need to go for the second Warning that was before on line 1230, now this will be on line 1232-1233 -> https://i.imgur.com/4jvz4kR.png there add again the above code like this -> https://i.imgur.com/1bSATjC.png
This should fix the problem!
Hope this will help!
Hi BenFranksWine,
Our developers made a fix for the above problem, this will be add in the coming updates. If you need it now, then you need to make the follow changes in theme files.
wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php then under line 645 you need to ad a code -> https://i.imgur.com/A3Sq7zk.png -> https://i.imgur.com/7Zl9pCS.png
if(empty($extra_icon_fonts)){
$extra_icon_fonts = array();
}
Then you need to go for the second Warning that was before on line 1230, now this will be on line 1232-1233 -> https://i.imgur.com/4jvz4kR.png there add again the above code like this -> https://i.imgur.com/1bSATjC.png
This should fix the problem!
Hope this will help!