- 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 Arafat,
If you want to add ads in your blog post to center, you can use custom ad and add it where you want in your content, like this -> http://screencast.com/t/ZZMApE1ebT -> http://screencast.com/t/5rrrBeqTXtt
[td_block_ad_box spot_id="custom_ad_1"]
Hope this helps and let us know how it goes!
Thank you for the message!
Hello,
You will have to take a closer look at the excerpts section because all modules are listed there. There are multiple modules to a block:
For example block1: http://screencast.com/t/JWJjsz8c
For block 16: http://screencast.com/t/AEs8rMv9Y10
A block is made up of modules. But the same module can be used on different blocks. So if you edit a module and change it’s styling, you will affect every block that uses that module.
A block is simply an empty ‘box’ in which modules are placed.
I hope this helps.
Thank you!
I wonder how to reduce the gap between advertising and postage block.

Second, I would like to set the menu to stay in a corner of the page to the other , a wide menu, is in the center, and wish there was no border .

The posting block is also same, wish there were no border.
http://s8.postimg.org/fdaqyddkl/post_quadro.png
Example below the page you’d like to stay similar.

The blocks seem to become one column. For example we used Block 1 that has a large picture on the left and smaller pictures (4) on the right, but instead of it being two columns, the smaller pictures are forced under the large picture and creates one column. Here is a image showing what is happening.
http://azoutdoormagazine.com/dev/wp-content/uploads/2015/12/error2.jpg
Can you please let us know how to fix this?
I’m fairly new to Newspaper Theme, but I’ve searched the forums for this and didn’t find an answer.
When I put in a fixed ad size (not AdSense), a very large block is created below the banner and it pushes everything down with a lot of white space. In this instance it’s in the area for Below Post.
Any ideas what’s happening?
No, sorry. I still don’t get it.
Let’s take Block 1 for example, which I have added using the Visual Composer. It is made up of a large image post, and four smaller posts on the right.
From the Theme Panel > Excerpts I deduce that Block 1 belongs to Module 6.
So in Theme Fonts I change the font to what I want it to be, which works great BUT only for the smaller posts on the right, not the big one. So how do I change that?
Also, I have added Block 16, which is ALSO Module 6. But the fonts (with the above change) don’t change at all.
I am really confused by this.
Why do we add BLOCKS but modify MODULES?
Thanks for the detailed response! but i don’t think the CSS worked. or perhaps there is only so much margin i can remove? Also still need code to move the SIDE space between thumbs. http://nimb.ws/WrV6Kb
Btw,any idea as to why blockquotes are no longer using the default font? (which should be sue ellen)
ever since making a child theme, some odd things have been going on….
Hello gunner05,
1)The Block 5 use module 3, as you can see here -> http://screencast.com/t/4YfTmYY6l If you want to change the Block 5, you have to change this module. You can reduce the padding-bottom in your block with the CSS code below but the left-right you do not change because you will damage the layout. The width is fixed and you cannot change of this without damage.
.td_module_3 {
padding-bottom: 10px;
}
The result you should see here: http://screencast.com/t/8OC0YY9MQh
2)Unfortunately, this animation does not come from the theme. If you want to remove this feature you have to remove the option from js. file from Visual Composer and it is not a simple task, sorry.
3)Unfortunately, our theme does not have this feature implemented. The more article box option displays only the active posts, like this -> http://screencast.com/t/P5I5MwcsBc For more information about more article box, please check our documentation, here: https://forum.tagdiv.com/more-articles-box/
4)In principle, should not be any problem with this, but noticed that the dimension of the logo will be adjusted by the theme according to header style used.
Hope this helps and let us know how it goes!
Thank you for the message!
Hi Bogdan,
unfortunately I could’t get this working.
e.g. td_uid_9_568e7602a2598
I tried
@media (max-width: 767px) {
.td_block_id_9_568e758cb0fd6 {
display: none;
}
}
@media (max-width: 767px) {
.td_uid_9_568e758cb0fd6 {
display: none;
}
}
And many more combinations, but the block didn’t disappear on Mobile.
Hi Loano,
The block ID’s were not changed. They are still there: http://screencast.com/t/KZ3MkZOJ5 Use your browser inspector to get the unique id.
Thank you!
Hi,
You can easily see what modules are used for what blocks in the theme panel: http://screencast.com/t/dYYVDXWl or In excerpts: http://screencast.com/t/ifT63nnUfPc
Thank you!
Hello guys, have a few questions about blocks:
1-How can I change the spacing/padding for Block 5? I understand I have to create a custom class in the block setting but what css do i put in theme panel? Will the block be effected sitewide or only the one I referenced with the id?
I want less spacing: https://box.everhelper.me/attachment/365600/khia2TJs8b3aazQepYb1AJRnEh0mqlOu/158366-adAEaZbxgnEkTahA/screen.png
2-How do i change the transition animation between tabs? I created 2 tabs using VC and loading 2 post grids (blocks). But i want it to FADE not fly in from the bottom when I switch tabs.
3- Sorry this has nothing to do with blocks, but how do i change the content inside the recommendation box that flies in after you scroll a post. I want to promote a facebook page instead of recommend posts.
4- I did not use the recommended logo size for homepage and mobile devices. I used a slightly bigger size image. Is that a problem or will it be ok?
Hi
@leeyokeloong thanks for sharing your solution here!
@flynewsgr please provide your site url or the html code that you’re using for header ad so I can inspect this closer. You can use the do_shortcode(‘ ‘) function and insert the ad shortcode from VC: http://screencast.com/t/W4SFKPnoShn – http://screencast.com/t/lqaJxdVdMee into a text block: http://screencast.com/t/imRGS1aHN then add that text block in your sidebar.
Thanks!
Hello,
You can use the same method Catalin showed you and apply it to your sidebar. Latest articles or hot news are simply blocks placed in a sidebar that have the option to exclude posts exactly like in visual composer: http://screencast.com/t/OBfe0OeE9dJ
I hope this helps.
Thank you!
Hi
The theme don’t have a download widget, you will need a plugin to achieve that. As @Chris suggested you can use a sidebar under Appearance > Widgets. Also you can use a widgetised sidebar block from Visual Composer: http://screencast.com/t/pDSzj6rtL6
If you still can’t manage to solve this issue please provide more details about it so I can get back to you with a more specific answer.
Thanks!
Hi
I suppose that you want the same implementation as on Newspaper theme: http://screencast.com/t/LaqCCHx9DK1 Unfortunately I can’t provide a solution now because this is a complex task which involve many customizations in theme’s files. Basically you will need to affect the mega menu structure and make a similar similar one with the one from Newspaper theme, and also you will need some css code for the menu style. The file which generate the mega menu it’s td_block_mega_menu.php: http://screencast.com/t/UbhsPIr362 you can try to modify it if you want. Please consider that this is a complex task which involve good coding skills and if you don’t know how to do it yourself my advice is to hire a freelancer from sites like http://studio.envato.com/ to do it for you.
Thanks!
Hello,
@skupapa Your error is different than the one above. They both start with ‘ajax error’ but they refer to different objects. The server could have been down at the moment, so please try it again and if you still get the same error, please contact your hosting provider and check if there is no firewall in place to block access to our demo content.
Let us know how it goes.
Thank you!
Hello,
1) Unfortunately the plugin is not tested to work with our theme so we cannot assure it’s functionality. Not all plugins work with our theme but this is the case for all premium themes as they are custom made and plugin sometimes cannot recognize the code or conflict with it. Unfortunately we cannot offer support for plugin implementation.
2)Post style 4 does not show the caption of the featured image by default. It does show the caption for other images except the featured one. This is the default behavior of the theme.
The post style number does not match from newsmag to newspaper. This happens when switching to another theme. There is an alternative if you do not wish to change the post template manually that involves editing the database and resenting all posts to the default template and then you can simply add the template you want for all your posts from the theme panel/ Please follow this topic to see how it can be done: https://forum.tagdiv.com/topic/change-style-of-multiple-posts-at-once/
3)Mega-menus were not meant to display in the mobile version of the website.
4) Unfortunately the ‘go to top’ options was hidden on the mobile version. You can activate it with custom css if you want:
.td-scroll-up-visible {
display: block!important;
}
5)The speedbooster plugin has a function that checks for active plugins. There is a list of plugins speedbooster is compatible with – http://screencast.com/t/hcjLnOqh4i2 so if you have other plugins active it will be automatically disabled.
In order to use the tagdiv speedbooster with all plugins you will need to remove this code – http://screencast.com/t/RZLIOPUNdqh
I hope this helps
Thank you!
Thanks.
Just to share my way:
I tried some Ads management plugins and I’m using AdRotate.
(Since I just want some basic ads on the website and I didn’t go for Pro version.)
I setup and fixed 2 Ad Groups, one for Header banner and one for Sidebar banner.
I copy the Adcodes and setup the Header Ads and Sidebar Ads in Newsmag Theme panel.
Then I set the permissions in AdRotate not to allow Editor to manage/delete/add the Ad Groups, so the Editor can only add, delete or change adverts to the 2 Ad Groups.
Well, My problem is settled.
I also found that, the AdRotate already preset to show ads on the website, if you on the Main page add a Ad Block to your fixed front page panel, it will double show the ads on the website.
flynewsgr, I think you just have to try other simple ways like direct insert the Ads images (with hyperlink) in the article… or other ways like adding a Ad Block to your website main page? Just keep trying.
Well, did you “disable” the comments in the WP panel ?
You also disable them in the theme panel ?
Most FB comments plugins have directions on how to do this, as far as I know.
If they still show on a post, you might need to use a plugin which completely hides the existing comments; or perhaps more simply just remove the comment block from the post template you happen to be using and then only the plugin would show there, inserted at the end of the post text area.
If you don’t know how to do that, TagDiv support can provide a pointer to do that.
I think the theme docs show the modules and which blocks make up each module .. much easier to see that first (I printed it out!) 🙂
Hi,
Can you please explain the difference between a block and a module? I am very confused: in the visual composer, I add blocks, but to change teh fonts via Theme Panel I have to know to which module these correspond?
Thanks,
Hello,
I run Newspaper v6.5 on my website. The domain name is http://www.naukrinama.com
I want to do the following :
a. I have feeds from my Hindi site : http://www.naukrinama.com/hi/feed which I want to show at the bottom of my post detail page (below the comment section) in the form of design like the Related Articles Block. Is there any block on the theme which parses an RSS feed and displays the data there ? and also how can that block be placed below the comments section. And if not comments section how can it be added as a widget in the righthand sidebar.
b. I have a menu option named “Hot Vacancies”. I want to Highlight it using Red color background and make it blink. How can it be achieved ?
c. I have two option of Language selection in the top “English” and “Hindi”. In the top bar menu i want to blink the “Hindi” menu item with a suitable color and background and make the color and selection background of “English” more prominent.
d. The published date, creation date of the post is coming wrong. It is showing timezone as +00:00. I have already set the timezone in the wordpress settings as UTC+5:30 and while creating a post the time in the backend is shown correctly but in the front end it is coming wrong. How can this be corrected ?
<div class=”td-post-date”><time itemprop=”dateCreated” class=”entry-date updated td-module-date” datetime=”2016-01-06T18:30:38+00:00″ >January 6, 2016</time>
e. I tried removing the “Eliminate render-blocking JavaScript and CSS in above-the-fold content” errors in the Google Page Speed test using the steps given in the tutorial. But even after following the necessary steps none of these errors got removed. What can be done to remove these errors.
Please answer the above queries and let me know how can these be resolved.
Hi,
The colors for block titles can be changed like so: http://screencast.com/t/kXxARwYf64
You must have a title set to the block in order for it to work (the default ‘block title’ does not work)
result: http://screencast.com/t/UzHfgtkxeX
Thanks.