- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsOffset Feature
- TutorialstagDiv Social Counter Tutorial
- TutorialsHow to Update the WPBakery Page Builder plugin
Hello Tagdiv Team,
The following codes (see below) were added to the theme’s function.php. They don’t work.
Would you please advise if the codings below are incorrect or is there another alternative to removing the style and javascript for Contact Form 7 and JS Composer. Also the Newspaper/js/tagdiv_theme.min.js. They are slowing down the website speed.
CONTACT FORM 7
Both pages are using the default template. Visual composer was used to create the submit-an-event page, but not the ‘contact’ form.
// Deregister Contact Form 7 styles
add_action( ‘wp_print_styles’, ‘aa_deregister_styles’, 100 );
function aa_deregister_styles() {
if (is_page( array( ‘contact’, ‘submit-an-event’ ) ); {
wp_deregister_style( ‘contact-form-7’ );
}
}
// Deregister Contact Form 7 JavaScript files on all pages without a form
add_action( ‘wp_print_scripts’, ‘aa_deregister_javascript’, 100 );
function aa_deregister_javascript() {
if (is_page( array( ‘contact’, ‘submit-an-event’ ) ); {
wp_deregister_script( ‘contact-form-7’ );
}
}
add_action( ‘wp_print_styles’, ‘aa_deregister_styles’, 10 );
function aa_deregister_styles()
{
$td_use_page_builder = false;
if (method_exists(‘WPBMap’, ‘getShortCodes’)) {
$td_use_page_builder = true;
}
if ($td_use_page_builder == true) {
wp_deregister_style(‘js_composer_front’);
wp_deregister_script(‘js_composer_front’);
}
}
Below is are sample results from the web page speed test.
Defer parsing of JavaScript
https://abc.com/wp-content/themes/Newspaper/Newspaper/js/tagdiv_theme.min.js?ver=8.1 (171.7KiB)
https://abc.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 (87.0KiB)
https://abc.com/ (22.2KiB of inline JavaScript)
https://abc.com/wp-content/plugins/js_composer/assets/js/dist/js_composer_front.min.js?ver=5.2.1 (15.5KiB)
https://abc.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.9 (7.9KiB)
https://abc.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 (7.7KiB)
https://abc.com/wp-includes/js/wp-embed.min.js?ver=4.8.1 (1.2KiB)
https://abc.com/wp-includes/js/comment-reply.min.js?ver=4.8.1 (918B)
Remove query strings from static resources
https://abc.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.9
https://abc.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.9
https://abc.com/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=5.2.1
https://abc.com/wp-content/plugins/js_composer/assets/js/dist/js_composer_front.min.js?ver=5.2.1
https://abc.com/wp-content/themes/Newspaper/Newspaper/images/icons/newspaper-icons.woff?1
https://abc.com/wp-content/themes/Newspaper/Newspaper/images/icons/newspaper.woff?14
https://abc.com/wp-content/themes/Newspaper/Newspaper/js/tagdiv_theme.min.js?ver=8.1
https://abc.com/wp-content/themes/Newspaper/Newspaper/style.css?ver=8.1
https://abc.com/wp-includes/js/comment-reply.min.js?ver=4.8.1
https://abc.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
https://abc.com/wp-includes/js/jquery/jquery.js?ver=1.12.4
https://abc.com/wp-includes/js/wp-embed.min.js?ver=4.8.1
https://abc.com/wp-includes/js/wp-emoji-release.min.js?ver=4.8.
Thank you very much.
Nik
Thank you Simion for the advice.
The system status is set according to your guide.
However, I still have the same problem, and I get below error in tagdiv composer:
ReferenceError: tdConfirm is not defined
/wp-content/plugins/td-composer/includes/wpeditor.php:274:9
Any thoughts?
Thanks!
Yes, i upload the whole folder of td-composer attached with the downloaded pack
However, wordpress keep deactivating my tagdiv composer plugin with an error message saying: “The plugin td-composer/td-composer.php has been deactivated due to an error: Plugin file does not exist.”
Do you know how to solve it? Thanks very much
Hi admin supports,
Just purchased the newspaper theme and downloading the required plugin, however, systems said:
“Downloading install package from https://mydomain.com/wp-content/themes/Newspaper/includes/plugins/td-composer.zip…
Download failed. cURL error 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed”
Would you pls advise how to fix it? Thanks
Michael
The additional parameter is surely required. All is working now. Thanks!
Add these to your blocks for them to register with TDC:
‘map_in_td_composer’ => true,
“tdc_category” => ‘Blocks’,
Side Notes:
When using TDC the list of elements gets quite long, perhaps the ability to minimize by the category would be a good UX function.
Thanks again!
Hello.
I’m beginning to upgrade my pages from visual composer to TD composer. I start to build all my pages from cero (new pages) with TD composer. I’m NOT using both composers on the same page, but I still get this error “The current content page hasn’t been created by TagDiv Composer!” when I re enter to a saved page and enter to TD Composer mode.
Can you help?
Thanks!
I was able to solve the problem I came back to the site a month ago. I could not do it any other way. Probably little of my knowledge, but no problem.
Now the site already worked I passed the new update of the theme I activated the license everything ok. But now it says that you need to activate the visual composer. Not included yet?
thank you
Helder Miranda
Ok so if I copy td_block_template_4 and edit it into my child theme.
Is it enough or Ishould to go to tagdiv composer and save the page ?
thanks
Hi,
Both elements are displaying the same source image, this one
– http://thecarindia.com/wp-content/uploads/2017/08/formula-e-race-car.jpg
There does not seem to be any CSS on the images that would affect image quality. The difference might come from the implementation of the image.
The Visual composer element is setting the image as a background
– https://www.screencast.com/t/MSMbGyh1Z
While the theme creates thumbnails from the featured image
– https://forum.tagdiv.com/theme-thumbs/
I believe that is why there is a difference between the images, they are implemented differently in the grid versus block.
Thanks
Hi,
Please make sure you use the recommended layout – https://forum.tagdiv.com/how-to-use-visual-composer/
Thanks!
Hi,
I have couple of problems in TagDiv Composer
– In the “Text with title” element, if the text contains parenthesis ( ) the page can not be saved and the save button keeps spinning.
– In the Title element changes in “Title background color” & “Title text color” can not be saved as well.
Can you help?
Thanks!
Dear,
I would like to report a minor css issue with screen upper 1019px when using stretch row and td_bloc_grid_X

As you can see blewo on the right of picture, A part of title article are hided by their featured images

if I had the css rule :
@media (min-width: 1019px) {
.td_module_6 .item-details {
margin-left: 216px;
min-height: 70px;
}
}
Picture and title are displayed correctly

Thanks for your works
Have a nice day
Hi,
We will update the documentation in this matter as soon as possible. Sorry for any inconvenience this has caused for you.
Please make the modification mentioned by Bogdan and also this one
– https://www.screencast.com/t/6VyUquDo4Z
The blocks should be displayed as an option in the tagDiv composer after making this modification.
Thanks
Hi,
Please check your email, my colleague has replied in matters concerning your website header and menu. The menu seems to look as you wanted.
3. For the moment the tagDiv composer does not have this kind of element. This might chnage in future updates, and more elements and options will be added to this editor.
4. There are multiple way you could do that. Use a single image element and stretch the row and content for example. The result will be a full width image.
5. The category tags color can be changed but only for the post page, for each category.
– https://www.screencast.com/t/nRF4bJd8N
On pages that could be achieved with custom CSS code.
Thanks
Hi,
I just imported the demo Newspaper template and wanted to modify some section on the home page. I could modify some sections with TD Composer; however, on the “Latest Articles” section and “Facebook fans+Instagram followers+Youtube subscribers” section, I could not modify anything.
Do you know how to modify two of these sections? Please suggest.
Thanks
Hi there,
I want to show adsence in posts loop on TD Composer created page, you can say after first post or after second post. Here I have created a page with tagdiv composer and I want to show ad after first post in loop which has created with Block 22, please check screenshot: http://prntscr.com/gcs71x
Please help me on this, I will really appreciate your help on this.
Best Regards.
Hi,
The tagdiv blocks were designed on 1,2 and 3 columns so there is not option for this, sorry! – https://forum.tagdiv.com/tagdiv-composer-tutorial-2/ – https://www.screencast.com/t/LdOjgrDcsz
Even if you use Visual Composer the recommended row settings are the same – https://forum.tagdiv.com/newsmag-how-to-use-visual-composer/
Thanks!
Dear,
I see on my website that if width is smaller or equal to 1018px all td_block_grid_X are rendered normally with a width equal to 1068px.
But with a screen width upper or equal to 1019px the grid as a wrong alignment!
The good One

The bad One

The strange thing is that problem do not appear from tagdiv composer !
To check the website: https://www.beart.fr
Thanks for your help
When I updated to the new theme version, and as well the latest WP, half the sites was not working. Ultimate Addons created a mess as well. 1/4 rows moved to 1/1 rows and so on…
I solved it by DEACTIVATING TD composer, reinstalling newest VC and had to do some margin corrections in VC CSS block, and all is running again…
Jan
Dear,
I would like to use with tag div composer the block 1 with an ajax filter by category and a dynamic Limit post number to not fill white space on wide screen and to limit vertical scrolling with smaller screen.
as example:
if screen min-width 1200 Limit post number:9
if screen min-width 800 Limit post number: 5
if screen min-width 300 Limit post number: 3
From tag dive composer I do not see how to do it.
Thanks for your help
I have turned off the Tag Div Social counter plugin
Turned off sharing in post settings
Turned off social icons in the header settings
There aren’t any javascript pop ups added to the site
We use slider revolution for the front page but I disabled that and the page still did not load
I do not have any plugins running other than
tagDiv Composer
Slider Revolution (Disabled and tested no change)
Jetpack by WordPress.com (Disabled and tested no change)
Akismet Anti-Spam (Disabled and tested no change)
I checked for malware and the only files that were changed were by GoDaddy
Those files are
gd-config.php (GoDaddy added for their configuration)
wp-admin/install.php (Removed for security should not effect theme)
wp-config-sample.php (Removed for security should not effect theme)
wp-admin/includes/upgrade.php (Removed for security should not effect theme)
What should I do now
I’ve been trying to fix that problem for a while now, but I can’t find a work-around, no matter what settings I used.
https://prntscr.com/gchuzy
Settings on Visual Composer https://prntscr.com/gchvx5 I used 0px border on both Icon Settings and Column Settings..
Thanks in advance
I have the same problem…
This happened after 8.1 update i guess…
Chrome console shows 2 JS’s
1- text.js
2- mode-less.js
couldnt be loaded…
Failed to load resource: (text.js) the server responded with a status of 404 (Not Found)
Failed to load resource: (mode-less.js) the server responded with a status of 404 (Not Found)
I have removed all plugins except TD Composer and reinstalled TD composer also , using cloudlfare i deleted cahce many times… Nothing changed this….
Website: http://sonsoz.com.tr (Showcased by Tagdiv)
Hope there is a solution?
Hi,
Please check the theme system status as well, and make modifications to the parameters mentioned in this guide, if necessary
– https://forum.tagdiv.com/system-status-parameters-guide/
The composer should work properly on a fresh theme install, using only theme plugins. Check the server and WordPress parameters mentioned and then try again to use the editor on a new page.
If the problem is still happening, please send us an email at contact@tagdiv.com and provide admin login information so we can take a look.
Also paste a link to this topic in your email.
Thanks