- 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 mzirafos,
Unfortunately, our theme does not have such an option for blog mode but if you want to achieve as you want, it is necessary to alter the code. You should use do_shortcode method and add the code in index.php core file. First of all, you have to create, for example, a block with your desired configuration and then you have to copy/paste the code of this feature from Visual Composer to index.php. Please follow the steps below and try to implement this method into your backend.
Steps -> http://screencast.com/t/EcUZqBidw -> http://screencast.com/t/oZUk6Lue -> http://screencast.com/t/6DH9gcogDwk -> http://screencast.com/t/Zwn0cfQAbrt and from here you have control over your homepage in blog mode -> http://screencast.com/t/QMUb3gnfu
The example of the code is ->
Block title 2" category_id="6"][/vc_column][/vc_row]');
?>
Please try to follow the steps that I gave you above and please notice that after this changes, it is necessary to do some custom style modification for a better look.
If you are not aware the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom work at the moment, sorry!
Thank you for the message!
I’m using the “Fashion” style and attempting to use “Block 1” in a 2/3 + 1/3 two-column layout, as shown here:
http://demo.tagdiv.com/newspaper/block-1/
I end up with the large image, text under it, and then the additional smaller thumbnails all stacked under it instead of to the side.
If I put it in a full-width row, it only takes up 2/3 and does display properly, but the right 1/3 of the page is emtpy. What’s the cause?

What’s the better option if I need a block with a different layout? I see you can either use the td-api plugin or a child theme. I’m not totally clear that the child theme approach lets me add a new block or only override an existing block.
Also, is there a guide somewhere in the docs that shows an example of the layout of each block? It’s kind of hit and miss with the tiny icons in the composer, and no way to see how big the thumbs and such are.
That makes sense, but I need to target only one specific .block-title. Is there a way to just target the title in a single block?
I see this class in the div surrounding the block:
<div class="td_block_wrap td_block_14 td_uid_1_56a5680a2622f_rand td-pb-full-cell td-pb-border-top">
The “td_uid_xxxx” changes on every page load, so I can’t use that.
Thanks
See this page: http://khurki.net/category/news/
Looks odd because the last line is not complete. I need to know where can I edit the number of items/posts these blocks show?
Your host may have been blocked by wordpress.org, or perhaps the WordPress.org site was temporarily down.
Note that the theme has no control over things like installing plugins from WordPress.org, or loading a YouTube video in your post page.
It’s possible your web host might have been having issues, updating DNS, etc.
See if problem persists.
a) switch back to default theme
b) check with your web host
is there a way to display latest posts in the Big Grid Slide Settings (e.g. the first block in the Newspaper Homepage demo) instead of filtering on one of the categories?
Hello, I installed Newmag theme and loaded the Technews demo on it.
I’m getting multiple page column breaks down the main page.
Code is being displayed.
[vc_row][vc_column width=â1/1âł]
[/vc_column][/vc_row][vc_row][vc_column width=â2/3âł]
[/vc_column][vc_column width=â1/3âł][td_block_social_counter facebook=âenvatomarketâ twitter=âenvatoâ youtube=âEnvatoâ border_top=âno_border_topâ custom_title=âSTAY CONNECTEDâ]
There is more all the way down the page.
Theme is not modified. Fresh install everything.
Wordpress version 4.4.1
I can’t display the page url publicly but I do it privately.
Thanks.
I am continiously facing problem with the newspaper theme….every time my cpanel virus scanner shows some malware in the theme’s header file…each time I delete the theme and re install it via ftp…but each time after 1 days the same problem occured…due to this reason my server automatically block port 80/443 and I am getting trouble with wordpress. I have no idea what to do. My theme was activated and I have lisence too. I also continiously update the theme via tag-div tool kit…but I have no idea what to do. Plzz someone help me…
this is the file which I found during scan…some ” sitelock..
newspaper/site-lock.js.generic.bj.unofficial
Hi,
I know this is impossible with standard settings. But I need to set wordpress to hide some specific categories, which be needed only for setting blocks in homepage.
This is possible with css/php code?
Thank you and Regards!
I just installed the News Template, How do I replace the categories on each section / block of the template?
Hi there,
What I would like to achieve is the following:
Create a block, for example Block Type 3, with 3 ‘posts’ from a category. Every refresh of the site it should display 3 different pages (so no posts, just pages). Unfortunately I cannot get this to work because when I select ‘Random posts’ under Sort order while I have Post type: page it is still displaying posts, although I declare just page. Also when I try page, -post it still display posts.
Please note that I use a extra plugin so I can add categories to pages so it will allow me to make an extra selection on that.
Regardless of that it seems that selecting Random Posts under Sort order overrides all other filter options you may select / enter. Can you please look into that and advise?
Generally you should only have one H1 on a page.
You can override the CSS simply by adding a class to the theme panel custom CSS box.
All “H” classes normally add padding after as they are headings. But you could change that either globally, or create new custom class for some use.
TagDiv likely have better answer Monday.
Tip: good to get used to using console/F12 in Chrome to “target” specific blocks and see what they are, as you can often then micro-target just the one CSS class to over-ride without messing up things like h2 used on category pages, etc.
Hi Andrei,
I have upgraded both wordpress and Newsmag. Deleted all plugins and rechecked.
Only one case where I did it successfully – Manually placing Sync google ad code in single.php
Check any random post.
But the default ADs blocks in Theme panel are not taking any code. So I am not able to place ad in home page/header/side bar. đ
You have rightly identified, Ad codes are changing in my site.
I am still doubting on W3 Total Cache Javascript minification.
Any suggestion please ?
Social media facebook page does not appear
home – right block – top
Hi
Two questions
1) I use block 9 for displaying posts under “latest news” on home page here
As you can see it takes up too much space. What’s the best way of reducing space between the two.
2) How can i change the colour for tabs for tabbed content. Its black and white at present. Would like it to be blue like tabs on the rest of the page as well
regards
Hello Bogdan
Thanks for your help, I will try these methods recently.
Besides, I found some bugs in block settings and have few questions to ask.
1.The Big Grid Slide does not have “slide” function, it only has grids.
2.In some circumstances, the “Big Slide” might collapse. In my case, I set the filter with “all category” and “latest”, but it does not sort articles with right timeline.
3.Where could I edit the “Related Articles” function? I need to edit the block title text.
4.I am confused by the instruction of “multiple filter” function in block setting. As the screenshot shows, I want to filter by “Netflix” and “Daredevil” categories, but after I type these categories into column, the front-end can’t really catch the right articles. Am I using the wrong way to set up?
5.There is a crash in “category” page. The third block in the left of screenshot should not appear, and it even shows some mysterious code.
A quick update. I see a part of the sidebar. The upside is blocked. How can this be solved? On mobile i see everything.
Hi
Sorry for misunderstanding you.
We removed that option because now the theme does not show the default block title, it display the tile only if a custom one it’s set: http://screencast.com/t/pqCFKomomw
Thanks!
Hello,
If you do not want a particular item in the social counter you need to remove the id from the plugin settings:
http://screencast.com/t/GfjzgtUQPCFB
Make sure you have Facebook, Twitter and G+ set in your settings then use this css (replace the other one)
I think this should do it:
.td_social_facebook .td_social_info, .td_social_facebook .td_social_info_name{
display:none!important;
}
.td_block_social_counter .td_social_facebook {
font-size:10px!important;
}
.td_social_facebook{
width:26%!Important;
}
.td_social_googleplus .td_social_info, .td_social_googleplus .td_social_info_name{
display:none!important;
}
.td_block_social_counter .td_social_googleplus {
font-size:10px!important;
}
.td_social_googleplus{
width:32%!Important;
}
.td_social_twitter .td_social_info, .td_social_twitter .td_social_info_name{
display:none!important;
}
.td_block_social_counter .td_social_twitter {
font-size:10px!important;
}
.td_social_twitter{
width:32%!Important;
}
.td_social_type{
display:inline-block!important;
}
.td_social_type .td_social_button a:after{
width:80px!important;
}
Thanks.
I used the widgetized sidebar block with the newsmag default sidebar and i have still the same result.
Hi
Replace the previous css with this one: http://screencast.com/t/OoE5ooBg If you wand a different distance just modify the margin value:
.td-travel .td-travel-features .td_block_wrap {
margin-bottom:0px!important;
}
.td-g-rec-id-custom_ad_1 .adsbygoogle{
margin-bottom: 4px;
}
.td_block_wrap .td-load-more-wrap {
margin-bottom: 4px;
}
Thanks!
Hello,
Unfortunately the theme does not have such an option but you can however do a css trick and hide menu elements on specific pages. you can have a menu with all the elements at once (in the same menu) and simply hide or show them where you wish with display:none and display:block
For example:
I added these 2 custom menu items: http://screencast.com/t/iVdrTjtnvnB
I want to only show one the first one on the homepage and the other one on another page.
So i will go on and hide the second menu item for the homepage like so:
.home .menu-item-3146{
display:none!important;
}
So now on the homepage i only see this: http://screencast.com/t/xrgmVHlh
In order to make the switch i hide the other one on the other page using the page id (the homepage can be targeted with the home class, for another page you need the page id that can be found here: http://screencast.com/t/QC8pprLGF)
So on the other page we will use this code:
.page-id-3026 .menu-item-3145{
display:none!important;
}
and have this result:
http://screencast.com/t/iyg5I34zWFZe
I hope this helps.
Thank you!
Hi
The sidebar set here: http://screencast.com/t/Chwkp3Yn it’s displayed only for the latest article section if page template page-builder+latest it’s used.
To add a sidebar for the part of the page built in Visual Composer page-builder you can use a widgetized sidebar block: http://screencast.com/t/VGNpt4zDE3B – http://screencast.com/t/ov5aKaXNd
For more details regarding homepage set up please check our documentation: https://forum.tagdiv.com/newsmag-homepage-how-to-build-and-set-it/ Also you can look over our videos on youtube: https://www.youtube.com/watch?v=TUdVeZ1pbuc&list=PL6CsDkMaejhpWFcFNOIDfdp5nIT0NbUbj
Hope this help.
Thanks!
Hello,
You can control the length of the titles on every block from the excerpts area: http://screencast.com/t/OoVE5zJ55hgd
Thank you!