- 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
Hi!
Thank you for such a work you have made 🙂
I have few questions before removing standard pack and I hope you can help me these answers.
1) Does the flex blocks automatically don’t show 0 comment count? In standard pack it was showing 0 comments.
2) Where can I edit that comment count to show next to title. https://prnt.sc/2640bs6
With old version I just edited td_module_mx17.php as example and put get_comments before get_title, then that position went better 🙂 (Old example what you gave me https://content.screencast.com/users/andrei_tagdiv/folders/Jing/media/29662ffe-5364-408a-8ff1-47f12aeff055/2017-06-16_0854.png
Somewhere here yes? – /td-composer/legacy/Newspaper/includes/modules
3) I’m using Co Authors Plus plugin for adding authors on post page. I researched and now you use Molongui (or something like that) authors plugin what will work without Standard Pack but for old articles and new ones I still need to use Co Authors Plus Plugin to keep author settings with these articles.
Right now I have changed in Standard Pack /td-standard-pack/Newspaper/loop-single.php
https://pastebin.com/FGr9cUD9
Can I use it after disabling Standard Pack too? What file should I edit 🙂
4) About Single post template. Can it be used as a old way too, where article writers can write without tagdiv composer editor and using simple standard post page template? Mostly it’s pretty okay, only similiar posts are missing at the bottom. I havent tested with premium content plugin yet 🙂 but I’m sure it works with that too.
Best regards
Rauno
Hi,
What you can do to remove the elements you can use this css
.td-review .td-review-header,
.td-review .td-review-row-stars,
.td-review-footer .td-review-summary{
display: none;
}
This code need to be set in the theme panel > mobile theme > custom code> css.
To move the review at the top of the post, you’ll need to edit the code, the file is this one wp-content/plugins/td-composer/mobile/single.php and you need to move this code -> https://i.imgur.com/atConWX.png you can set it before, between or after those elements -> https://i.imgur.com/p4WIf8I.png
Unfortunately, those changes can not be saved in a child theme so, when the plugins will be updated those will be removed.
Thank you for your understanding!
I’m also having troubles that my website is so slow, it even times out. Investigating the problem it turns it’s having 25 repeating slow queries on a ‘post’page looing and ordering the same post ID 39081:
SELECT post_id, meta_key, meta_value
FROM F5A9liKgu_postmeta
WHERE post_id IN (39081)
ORDER BY meta_id ASC
update_meta_cache()
Plugin: td-composer
Hi AK Rayhan,
Our theme as a special filed that will set the code between the
Our theme has 3 header files, on in theme, one in tagDiv Composer (wp-content/plugins/td-composer/legacy/Newspaper/header.php) and one in tagDiv Standard Pack (wp-content/plugins/td-standard-pack/Newspaper/header.php), now if the standard pack is enable and you do not use a cloud template then you’ll use the file from standard pack, if this plugin is disable or you use a cloud header from tagDiv Cloud Library then it will be used the file from composer, if both of these are disable will be display the one from theme (wp-content/themes/Newspaper/header.php).
I hope this will help you!
Thank you!
PICTURE OF THE PROBLEM: https://imgur.com/a/bDUJhtP
Hi there! I’ve got a problem with a SLIDE element inside our website. On mobile mode, when we arrive to the homepage, the SLIDE element works just fine, but when we rotate te phone to landscape mode, most of the time, the element doesn’t resize correctly and it appears with the same width as if it were on portrait mode. There’s been a couple of times when it shows correctly, but most of the time, it appears as we described before.
Something weird also happens when after this incorrect display on landscape mode, we return to portrait one. When we do this, the column with the Slide element appears to have the correct width, but the title text appears cut, uncomplete, as if it recognize the landscape width instead of the portrait one.
What could be happening? Any idea on how could we fix this?
The only significant thing we’ve made that may be interfering is a change we’ve made to the main css section of the site. We wanted to achive wider blocks on mobile mode, so we wrote the next code lines:
.tdc-row.td-stretch-content, .tdc-row-composer.td-stretch-content {
padding-left: 5px;
padding-right: 5px;
}
And that’s it. We’ve done this “portrait-landscape” experiment erasing those code lines but it’s still happening, so we’re not completly sure that’s the cause.
Any idea on what could we do to solve this? Thanks a lot for your attention and future answer. Greetings!
Hi – when trying to save custom CSS under Theme Panel >> Custom code >> CSS, I can add the code I need but when I hit “Save” the spinning modal icon appears but doesn’t disappear. Reloading the page notes that the code hasn’t persisted.
Any suggestions on what’s happening and if there are some log files worth investigating?
For reference, the code I’m adding is:
.td-block-title {
background-color: #123456;
}
… where #123456 is the hex code for the colour. I’m adding this in as there doesn’t seem to be the ability to edit this property in the tagDiv Composer UI.
Forgot to add, I’m running the latest version of the theme, WordPress and plugins.
Quick edit/update: Looks like I can’t save any changes made in the Theme Panel, so it’s not just CSS…
Hello @m!
I just replied you with some tips here, please check: https://forum.tagdiv.com/topic/td-composer-creates-27-slow-db-queries-on-every-page-load/
Hope that helps you!
Thank you!
TagDiv Composer just isn’t saving options in the Thumb section.
I’m going to call it a bug and not use the prebuilt theme.
As a suggestion, tagdiv composer should recognize a prebuilt theme and set all of the proper image options. I shouldn’t have to manually go in and try to save.
After all, when AMP is installed then all the proper image sizes are enabled in that same block settings area and they are enabled by default.
FWIW, in the options table, td_011_settings has the options for the thumbnail sizes.
Just a suggestion. But I’m done for now. It’s too frustrating. TagDiv Composer isn’t ready for usage. Worse, I’m stuck now because I upgraded to 11.4 and feel stupid not to have verified such an important task.
OK. I’ve ranted enough. Have a good day.
Hello,
I want to add self-made icons on icon box: https://ibb.co/3v6J6B0
I have seen in inspector, that the icons are stored in the td-composer plugin. But I want to add own icons here.
How I can do that?
Thank you and best regards
Andre
Hi there,
I made minor additions to the following two files.
As a matter of fact, what I’ve done with each update is gone.
What should I do so that the changes I made are not lost in the update?
I guess I won’t be able to use the child theme?
wp-content/plugins/td-cloud-library/shortcodes/search/tdb_search_form.php
wp-content/plugins/td-composer/legacy/Newspaper/parts/search.php
Thanks
There is this link https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/ where I see a lot in here.
So the author @amit-2 says, “The current mobile theme version does not support both, Newsletter and Multipurpose plugins. So, it is a good idea to remove these scripts being loaded by these plugins.”
I would like to know if this is still the case or you have updated the mobile theme plugin without these scripts? If not can we also remove TagDiv Composer scripts on mobile?
Thanks
The code he provides is
// Remove Multi Purpose Style
add_action( 'wp_enqueue_scripts', 'infophilic_remove_multi_purpose', 20 );
function infophilic_remove_multi_purpose() {
wp_dequeue_style( 'td-plugin-multi-purpose' );
}
// Remove Newsletter Style
add_action( 'wp_enqueue_scripts', 'infophilic_remove_newsletter', 20 );
function infophilic_remove_newsletter() {
wp_dequeue_style( 'td-plugin-newsletter' );
}
Hi,
I just checked you website and I saw a strange thing, you have an open h1 -> https://i.imgur.com/BrQND0Y.png but you have two close tags for h1 -> https://i.imgur.com/wzZFvRf.png
Indeed on Newsmag, you can not edit the header with the theme builder. This theme has two header files, one with h1 on logo and one without h1 on logo. Now by default the h1 in our theme is set on logo, but, if the title post/page is display, that one became h1.
Now, to remove the h1 from logo you need to set the page template on “Page builder + page title” or an alternative is to remove the h1 from the files wp-content/plugins/td-composer/legacy/Newsmag/parts/header/logo-h1.php -> https://i.imgur.com/ZCVMqpz.png
I hope this will help you!
Hi muktipolice, the code was for Newsmag theme, for Newspaper, that code will apply only if you are using standard templates from tagdiv standard pack, so if you have a pro pre-build website installed, then will not apply, because are used cloud templates, but the good thing is that cloud templates can be edited using tagdiv composer.
What you can try is this code:
.td-a-rec img {
margin-bottom: 10px
}
Unfortunately it will apply on all ad elements, but should work on both themes.
Let me know the results!
Fatal error: Uncaught Error: Call to undefined function apply_filters() in /home/whatsondedicated/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php:9 Stack trace: #0 {main} thrown in /home/whatsondedicated/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php on line 9
URL: https://whatson.guide/wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php
i am getting this error in my website. Can you please let me know how to fix this problem
Hello,
I was having trouble loading visible images and have gone to the Wp Rocket guide. I understood that I had to exclude JavaScript files to fix problem https://docs.wp-rocket.me/article/1560-delay-javascript-execution-compatibility-exclusions/?utm_source=wp_plugin&utm_medium=wp_rocket I took the corresponding code for your template:
/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
But, although everything works fine, the menu of the desktop version does not show the sub tabs since I activated it (in the mobile version they do work). I leave you a video so you can see how I see it logged in (which does work) and how it looks from an incognito visit. https://www.loom.com/share/6b87ec572cea487182db342cd8547571
Google Search Console 5xx error for Plugins – how do we fix this for the below?
https://infomeddnews.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_unique_posts.php
https://infomeddnews.com/wp-content/plugins/td-composer/legacy/common/wp_booster/
Hello, yesterday I realised I have some issues with Tag Div Composer on my site. I wanted to change color overlays on some blocks, but after clicking a color box in TDC panel the only thing I can see is a little box with empty form (screenshot). Before that I was able to chose colors with a color picker. Putting color code manually into the form doesn’t work too. I can’t also change font settings, new settings don’t apply to the page.
I’ve disable all plugins except Newsletter plugins to see if there are no conflicts – it doesn’t help. I’ve also chcecked it out in several web browsers. At this moment I’m rolling out backups to my dev server to see when this issue appeared. Could you help me with this?
Screenshot: https://imgur.com/a/TOk7bsp
Regards,
MC
Hi,
Not sure when this issue started but … despite the main page works perfectly, all the post in my blog are getting issues such :
wp_booster error:
td_api_base::get_key : a component with the ID: single_template_7 Key: file is not set.
/home/wateronet/public_html/thewotme.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
I have tried to remove the TagDiv Composer plugin and re-install it but … not success.
I am lost
Hi Kfrancesco , unfortunately, the Newsmag theme do not have an option to change the sequence of the social networks.
The file that is responsible for social networks is this one wp-content/plugins/td-composer/legacy/common/wp_booster/td_social_icons.php chnage the array list and this should help you to change the sequence.
I hope this will help you!
Hi,
No, the loop-single-1-php is for post style 1, for default is this one -> wp-content/plugins/td-composer/legacy/Newsmag/loop-single.php
Let me know the results!
Hello @yonish3!
Then you can find the file in \wp-content\plugins\td-composer\legacy\common\wp_boostertd_wp_booster_functions.php 1752 line.
Please note that any change you make in the files after update will be overwritten and you have to make the changes again. Better save the code somewhere and then apply it again after update.
Thank you!
Hello,
The mobile theme comes with its own templates/design for pages, posts, categories, etc so your current templates from the desktop theme will get converted to the mobile theme layout. For more details, please take a look here: https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/3
Also, if you want to hide the featured image on the blocks, you can hide it with custom code CSS -> `
.td_module_mob_1 .item-details {
margin-left: 0px;
}
.td_module_mob_1 .td-module-thumb {
display: none;
}
` => https://i.imgur.com/mClWxeM.png
This need to be set in the theme panel> mobile theme > custom code> css.
Also, if you want to have more control over the mobile version, you can use the mobile page and you can make the changes with tagDiv Composer, like on the desktop version.
Thank you!
Hi,
If you need to edit the theme files to set your code, then you need to edit the files that correspond for the post style that you are using, for example if you are using post style 1 the file path is -> wp-content/plugins/td-composer/legacy/Newsmag/parts/single/loop-single-1.php -> https://i.imgur.com/GMCyLr7.png if you make changes in those files, it will be better to set them in a child theme, making this the changes will not be lost when the theme will be updated.
I hope this will help you!
Hi
We’ve had an issue with some of our site pages after updating to 13.2 and now templates reuse to attach themselves to older pages, categories, etc. As soon as we log into WordPress it also raises a security issue with the server and the firewall kicks in every few minutes.
Here is the report from WordPress
WordPress version 5.8.2 Current theme: Newspaper (version 11.3.2) Current plugin: (version ) PHP version 7.4.26 Error Details ============= An error of type E_COMPILE_ERROR was caused in line 35 of the file /home/medizepv/public_html/wp-content/plugins/td-composer/legacy/common/common.php. Error message: require_once(): Failed opening required ‘/home/medizepv/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_metabox_generator.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’)
The website is https://medika.life. The normal page appears like this, https://medika.life/category/diseases/ whilst the same template shows up like this on another category section, https://medika.life/category/general-health/, note the sudden purple background.
Changing the templates in Theme settings for Categories has no effect?? Please help as this appears to be spreading through the site, we’ve also noticed pages suddenly losing their assigned templates to revert to the default one.
Good evening if I try to click on the “New Article” at the top, I get the custom css code in which an opening <style> tag is missing.
Can you tell me which file to edit to get rid of this error. Below is the css code shown immediately after the body tag:
/* custom css */
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner{
max-width: none;
margin-left: auto;
margin-right: auto;
}.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 img.aligncenter,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .aligncenter img{
margin-left: -0px;
width: calc(100% + (2 * 0px));
max-width: none !important;
}.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 > p,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner > p{
font-family:Source Sans Pro !important;font-size:16px !important;line-height:1.6 !important;
}.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner blockquote p{
font-family:Gelasio !important;font-style:normal !important;
}
/* portrait */
@media (min-width: 768px) and (max-width: 1018px){
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 > p,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner > p{
font-family:Source Sans Pro !important;font-size:15px !important;line-height:1.6 !important;
}
}</style>