- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hello recons,
1)If you want to change the banner ad to be placed above to the top menu bar require to do some additional customization through code, altering the code from top-menu.php core file like this -> http://screencast.com/t/KmYJf1j70Hzo (custom work) You can change the background-color for your Top menu from here -> http://screencast.com/t/e0yUtFlF5r6
2)If you want to change the structure of the Blocks involve custom work and this type of service is not covered by our support. Please notice that is not a simple task to do what you want and to accomplish that it is needed to do some changes in Block Templates in order to achieve as you wish, like this -> http://screencast.com/t/ClTDp45b5W and also, if you want to create a new Block, you will have to use the API implementation according to our documentation here -> https://forum.tagdiv.com/td_api_blockadd/
If you want to change the fonts for your Big Grid, please notice that this thing can be done from your Theme panel->Theme Fonts, like this -> http://screencast.com/t/dqbyADGshauw For more information about this, please check our documentation here -> https://forum.tagdiv.com/newsmag-font-customization/
3)Please notice that our Video Playlist render only the ID’s which you will add in the certain field and it does not have any automatically option for latest. For more information about this feature, please consult here -> https://forum.tagdiv.com/newsmag-video-playlist/ If you want to add more options for this and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you.
4)Please notice that you can create a new sidebar from Theme panel, for example, like this -> http://screencast.com/t/rrNMH0jM11Q and then this will appear in Widgets Area and from there you can customize as you like -> http://screencast.com/t/65wwo2IUxRum
5)Unfortunately, please notice that our theme does not have such an option for dynamic width and we do not recommend to do that through the custom CSS code because the layout of the theme will be damaged. If you want to change the width of the theme to be in full-width mode or to be increased from current, please notice that is not a simple task and you will have to adjust the entire theme to the new width for better results. If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide customization services at the moment, sorry!
Thanks for your understanding!
Hi,
In visual composer columns you can place visual composer and theme elements. Each element has block settings which let you filter posts in different ways. Please check this guide: https://forum.tagdiv.com/block-settings-guide/
If the revolution slider element is what you are referring to, the slider has to be configured from the plugin itself and not through visual composer. For more details on how to create sliders and filter posts, please check the official revolution slider documentation.
Thank you!
Hello gsmadvert,
Actually, if you want to use the ‘Homepage post’ element from Visual Composer to your category page, please notice that you will have to use the do_shortcode method in order to achieve as you wish. First of all, you will have to create the shortcode using the Visual Composer editor, like this -> http://screencast.com/t/7lbVJ3Fm2Sz -> http://screencast.com/t/VM5LKmMUv0i -> http://screencast.com/t/LO6nrg2cHM1o and the snippet of the code which has to be added in the corresponding category post style used by you are the following code ->
<?php echo do_shortcode('[td_block_homepage_full_1]'); ?>
For example, if you are using the category top posts style 1, you will have to add this code in td_category_top_style_1.PHP, like this -> http://screencast.com/t/txOSy4wD and the result you should see here -> http://screencast.com/t/ewi0BhnetwL
Hope this helps!
Thanks for your understanding!
I installed the latest Visual Composer V.4.12 and of course updated to Newspaper 7. For some reason, when I add the Newspaper demo, I can’t edit anything. I can’t add any new TD blocks, they don’t show up at all, in Visual Composer and even the demo blocks aren’t editable for me, (Title, Color etc…)
Any idea why that is?
Thanks
It happens on various blocks. For example, when I add Block 20 to the homepage using Visual Composer, I specify that section to filter using the category “Lifestyle”. However, other categories (not subcategories, but random categories) appear under that section.
So, the filter should be Lifestyle, but world news articles are appearing.
Hi,
After going through your documentation and experimenting I still cannot figure out this:
1. Header ad: How do I move it above the top menu and main menu? I am trying to have first header banner, second top menu (logo would show there too), third the main menu. Also, Where is the background color for top menu defined? Maybe even putting all these into Style 11 (how do you create those extra ones for header)?
2. Where do I edit Blocks or create new version of those Blocks? For example, if I want to change the look of Block 2 or for Block 3 to have 3 news per row instead of 2 or put border around each news etc.? Or for Big Grid change the size of the font?
3. For Video Playlist block can I automate it for the block to pick up videos from my latest video news or I have to manually add the code for each video?
4. How do I create copy of “Newsmag Default” Sidebar as I need few of different looks.
5. Can the total width of the theme for desktop computers increased from current?
Hi. I have a problem with featured image cropping. I edited td_config.php like this:
td_api_thumb::add('td_696x385',
array(
'name' => 'td_696x385',
'width' => 696,
'height' => 385,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Module 14, 17, 18, MX8', 'Block 13, 18, 20', 'Slide - 2 columns'
)
)
);
I regenerated all thumbnails, but “portrait” images like this aren’t cropped. I also noticed that sometimes images are not cropped exactly from the top, some “heads” are cut, but at the moment I don’t have an active link.
Hello,
The menu is the ajax filter that can be controlled from block settings. Please read this guide: https://forum.tagdiv.com/block-settings-tutorial/
Thank you!
Hello ch.rammohan
Please notice that the Zoom effect is working only for Grids and not for Blocks/Modules. I have checked your website, a Grid from your site and I saw that the Zoom Effect works fine ad you can see here -> http://screencast.com/t/bGLzI2LqJP
If this is not what you mean, please provide more details and give some useful screenshots so I can provide a more accurate response.
Thanks for your understanding!
Please help me!!!! SOS
I make the update in envato automatic update and after the admin panel say me:
wp booster error: td_api_base::mark_used_on_page : a component with the ID: td_block_weather is not set. /home/globalis/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error: td_api_base::mark_used_on_page : a component with the ID: td_block_exchange is not set. /home/globalis/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
wp booster error: td_api_base::mark_used_on_page : a component with the ID: td_block_instagram is not set. /home/globalis/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php
What i doing now?
Hi,
Unfortunately there is no easy way of getting the latest articles at the top of the content. But since visual composer is a page builder, you can pretty much chose a theme block and name it latest articles and place it at the top of the page (use another page template not the latest articles one) http://screencast.com/t/V5GxC4mN
Thank you!
Hello,
You can do that by adding padding left and right to your post content inside the post itself by creating a new css class and setting the padding for it like so:
.paragraph-custom {
display: block;
padding-left: 10%;
padding-right: 10%;
}
Add this code in the theme panel-> custom css code and then place your post content inside a div with this class assigned to it like so: http://screencast.com/t/Jgc07K32
This has to be done in text mode in the mce editor.
Thank you!
Hello,
Unfortunately our blocks were created to ignore sticky posts as these created issues with the grid layout. The blocks have no sorting by custom taxonomy at the moment. You can show custom post types by entering the post type in this field: http://screencast.com/t/V1RILyUca
If you want to change the code you can find it here:
http://screencast.com/t/Ppva2ik0 – http://screencast.com/t/Xq49Vhldhaef – http://screencast.com/t/HKhghxrwrb
Thank you!
Hello innovacomp,
First of all, please sorry for the delay but please notice that here you can see our Support Hours -> http://screencast.com/t/K1pbx14Wi and also, we answer on the forum from oldest to newest, respecting our program.
I have checked your website and I saw that you are using the accordion feature for Nosotros page, like this -> http://screencast.com/t/Q1BzPxx3M3y -> I assume that you are referring to this accordion, right? The accordion is just Visual Composer element and depends on what type of elements you will add in it. In our case, you have added a Text Block with Title…So, if you want to change the font family and font size for this, please notice that you can change it from Theme panel->Theme Fonts for Body, like this -> http://screencast.com/t/aspT0pzIGi In the future, if you will use some blocks in accordion, please notice that you will have to change the values for fonts and sizes from Blocks/Modules section, like this -> http://screencast.com/t/Eh7GO7KxciG8 For more information about theme fonts, please consult here -> https://forum.tagdiv.com/font-customization/
Please keep in mind that we are glad to help our customers but please notice that we have a program regarding on support service and also please try to change your negative rating (1 star) because we will help you in issues related to the theme.
Thanks for your understanding!
Hi, I am using visual composer. using a simple block 6 with a right widget (Default widget nothing fancy)
I would like to know if you guys can help me with something I want to do. I want to have youtube video as a thumbnail at the front page therefore on the block 6. that users can press play and see the video right away on the frontpage.
is this possible? I know with some code work it can be done. could you help me with this? check out mysite http://www.boletinextra.com
We have a page with a Big Grid 9 element at the top, and a Block 13 element below it. The Block 13 has Offset posts set to 4 so that there are not duplates between it an the grid above.
The issue is that we would like to use the ajax filters on the block element. However, they are using the same offset when loading new content. So specific categories loaded into the block are missing the first fourposts, and often they are not in the grid about (since there are 5 subcategories under the main one).
Is there any way to correct this?
Here is the VC code incase that helps:
[vc_row][vc_column][vc_empty_space][td_block_big_grid_9 category_ids=”2281,5173,2280,31,351″][/vc_column][/vc_row][vc_row][vc_column width="2/3"][td_block_13 custom_title=”Listen” category_ids=”2281,5173,2280,31,351″ offset=”4″ td_ajax_filter_type=”td_category_ids_filter” td_ajax_filter_ids=”2281,5173,2280,31,351″ td_ajax_preloading=”preload” ajax_pagination=”next_prev”][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="td-default"][/vc_column][/vc_row]
Hi there,
I installed the new upgrade but now I’m getting the mobile menu showing up on top of the main content along with a search bar. Also, my Logo title is showing up but I have a Logo image already in place. And also the block I’m using is now showing up in one column instead of two as before.. Please let me know where I can change this or what code to change.Thanks.
Please ignore, I have found how to remove it in the blocks setting. Thanks
Is js-composer the same as wpbakery visual composer?
Yes, it is.
After updating to the 3.1 version of the Newsmag theme this morning, the front page of our website has been altered. Though we have settings arranged for the Block 1 and Block 2 grids, the thumbnail images and headlines have been shifted into one left-aligned column. It also looks as if the right sidebar has shifted toward the left. The posts, at least, seem to be displaying correctly.
I did also update all of the plugins: visual composer, social counter, and speed booster. If someone could please offer guidance on how to get the front page fixed on our site, I would really appreciate it.
Our site is http://www.alaskacommons.com/
Thank you for your help.
i change with shortcode [td_block_big_grid_4 category_id=””] on grid 7, its ok, but
I editing page “home” and i heve only shortcodes with text page and BACKEND & CLASSIC EDITOR with button Visual Composer. My visual composer does not work:

i cant edit site with Visual Composer
i haven’t this option

-
This reply was modified 10 years by
boos11.
Hello webowner001,
If you want to remove the Popular Posts Block, please notice that you will have to use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-footer-template-2
.td-pb-span4 .td_block_7 {
display:none;
}
The result -> http://screencast.com/t/kmuj61AiX
You will not have to erase the footer.php, just only what I presented you above.
Thanks.
Hello,
You can create your homepage using visual composer and replicate any category page. You just need a big grid: http://demo.tagdiv.com/newspaper/big-grid-1/ and one of the content blocks: http://demo.tagdiv.com/newspaper/block-1/ Here is a guide on how to use visual composer: https://forum.tagdiv.com/how-to-use-visual-composer/
Thank you!
Hi Robert,
Unfortunately there is little that can be done about it. If you move css to the footer, all of the styles will be loaded later and you will see each css re-write. In order to avoid this, you need coding knowledge and place your css styles directly in style.css and there is no way of adding it automatically. Alternatively, you can use speedbooster and simply remove style.css from it;s files so it will not get moved at all but you still move other render blocks.
Thank you!
Hello liangfengjing,
Please try the code below and place it in Theme panel->Cusotm CSS area.
The code is ->
@media(max-width:767px){
.td_block_related_posts {
display:none;
}
.comments{
display:none;
}
}
Thanks for your understanding!