- 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,
Are you sure it’s a block 15? Because block 15 does not have author and date in the 1 column version: http://demo.tagdiv.com/newspaper/block-15/
ANyway, you can achieve this by targeting the meta info with CSS like so:
.td-ss-main-sidebar .td_block_6 .td-module-meta-info{
display:none;
}
I used a block 6, but you can change the number of the block in the code to the one you use.
I hope this helps.
Thanks.
Hi,
I have checked your site and block 1 looks fine – http://screencast.com/t/MuXpxOrS
Did you managed to solve this?
Also I see that you use the old version of the theme and the latest version of Visual Composer. I suggest to update also the theme to the latest version 6.5.1 as using VC 4.7.4 with Newspaper 4 could create issues.
Follow this guide if you want to update – https://forum.tagdiv.com/how-to-update-the-theme-2/
Thanks!
Hi,
You can create subcategories for each parent category that you set for a block and used the subcategories IDs for ajax – http://screencast.com/t/ckyR5EIfcXfa – http://screencast.com/t/irOcQ4d1eK9 – http://screencast.com/t/kaKzDZkYDxwq
Result – http://screencast.com/t/h3dRsPoE
Thanks!
AFAIK Jetpack Stats aren’t supported for NewsMag. There’s a code tweak for newspaper, but we’ve not seen anyone from Tagdiv recommend it.
We also have problems with the popular articles block though, the supplied code doesn’t work with our host (WPEngine) and they’ve yet to provide an alternative. Using Jetpack stats isn’t ideal, for one it doesn’t filter by type, which means pages including your home page, can appear in the results.
See the docs – link right side of page;
most of those items are controlled by either the “post options” or other options to set excerpt length; to use a different “block” on sidebar, change the widget to use a block layout which includes images.

I need to customize block 13 like the bock in the above pic. I tried to change the font color but unfortunately it doesn’t change. can you help me to change it?
Not sure here if there was an easier way… but I wanted to change the title of the News Ticker… I’ve patched the td_block_trending_now to call `$this-get_title(); Maybe it will help others…
// ### /includes/shortcodes/td_block_trending_now.php
$buffy .= '<div class="td-trending-now-title">' . __td(strip_tags($this->get_block_title()), TD_THEME_NAME) . '</div><div class="td-trending-now-display-area">';
Hi…
I would like to hide the author name and date only for blocks… but i would l like to show the dates on post area.
another this…
is there any possiblity to remove related articles and add another widget in that place?
thanks
hi,
would it be possible you guys post a chart of corresponding blocks and modules?
I wanted to remove the author from a block today and it took me ages to figure out which file to edit.
thanks a lot 🙂
Hi,
I have an issue of infinite load pagination. i used Block 3 as my Sidebar widget, and Sort by Random Post, using Infinite Load pagination, http://www.screencast.com/t/5mYEi6EZLf and i found out there are a lot of repeated posts. http://www.screencast.com/t/tksSAUAGaD
Please advise whether this is a known bug.
Hi 🙂
I have set up Newspaper theme with demo data for local test.
When I add Block “Slide” into my homepage, everything is fine. And I move forward to change silder settings with Ajax dropdown “Filter by categories”.
But the ajax dropdown above Slide dosen’t work well when I try to click the category link.
I check chrome devtools console and the message shows that “Uncaught SyntaxError: Unexpected end of input”.
I don’t know if this is a bug, or this is just problem caused by my local environment setting error.
Please help
thanks.
Hi,
I am not able to get blocks to display properly when I give them on infinite load. Only 5 block are coming and there is a blank block space.
You can check it on my website http://www.icytales.com after new and college events. See how 5 blocks come and then there is an empty space for the sixth block.
Can anyone let me know the problem?
Thanks!
Chris, our newspaper site is now live: http://www.eCoronado.com
For the homepage block, we are showing featured articles. However, we are not able to change the order of featured articles as it just shows the most recent first. If we modify the date, the permalink changes so that’s not an option.
I’m curious, is there a way to use the ‘sticky’ checkbox under visibility? We have tried using ‘sticky’ but those are not showing up on the homepage.
Ideally, we want to be able to change the order of the featured posts so we can pick and choose what goes in the main big image and not have it selected by most recent post.
Thanks for any help.
I have jetpack and the stats installed but I am not getting any results when I add the sort order to the block.
Is there a way to keep the date and author info in the post, but not have it display with the post title in the sidebar widget? I’m using a predefined Block 15 in the sidebar.
Is there a block that can create a mason grid on a standard smartphone of at least two columns and a title? If not do you have some css that can apply to a page that has a mason grid w/ two columns but who’s viewport is smaller than a tablet? AND display text? The text can be 10px as thats fine for mobile…
The text is secondary but the two column mason for mobile is my priority. The thumbnail size can be VERY small, thats fine. My goal is a quick visual summary of my latests posts and every configuration I can see on mobile only has one column…
If there IS a two column config on mobile w/o css? That would be fine too…
Thanks!- eFromC
hi,
Could you tell me why I use default settings for ‘Block 1’ but my modules do not fit to row?
http://bacsitimmach.com.vn/
thank you!
That didn’t work.
Could it be any of this custom CSS? I will try to remove it all later, but it would be like searching for a needle in a haystack adding it back if it is.
************
.td-header-top-menu, .td-header-top-menu a, .td-header-wrap .td-header-top-menu-full .td-header-top-menu, .td-header-wrap .td-header-top-menu-full a, .td-header-style-8 .td-header-top-menu, .td-header-style-8 .td-header-top-menu a {
font-weight: bold;
}
.post header .entry-title {
font-weight: bold;
}
.td-trending-now-title {
font-weight: bold;
}
.block-title > span, .block-title > a, .block-title > label, .widgettitle, .widgettitle:after, .td-trending-now-title, .td-trending-now-wrapper:hover .td-trending-now-title, .wpb_tabs li.ui-tabs-active a, .wpb_tabs li:hover a, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab.vc_active > a, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab:hover > a, .td-related-title .td-cur-simple-item, .woocommerce .product .products h2, .td-subcat-filter .td-subcat-dropdown:hover .td-subcat-more {
background-image: url(“http://sportsmockery.com/wp-content/uploads/2015/10/stars-tew-proper.png”);
}
.td-related-title {
margin-bottom: 0px;
}
.entry-crumbs a {
color: #bc0000;
}
.entry-crumbs
{
color: #000000;
}
.td-footer-wrapper {
padding-top: 0px;
}
.aligncenter {
margin-bottom: 10px;
}
.td-main-content-wrap {
padding-bottom: 0px;
}
.td_block_big_grid_1, .td_block_big_grid_2, .td_block_big_grid_3, .td_block_big_grid_4, .td_block_big_grid_5, .td_block_big_grid_6, .td_block_big_grid_7, .td_block_big_grid_8 {
padding-bottom: 1px;
}
.block-title {
margin-bottom: 0px;
}
.td_block_wrap {
padding-bottom: 1px;
}
.td_block_14 .td-block-row:last-child {
margin-bottom: 1px;
}
.td-a-rec-id-sidebar > div {
margin-bottom: 5px;
}
.wpb_row, .wpb_content_element, ul.wpb_thumbnails-fluid > li, .last_toggle_el_margin, .wpb_button {
margin-bottom: 5px;
}
.sep {
font-size: 200%;
}
.td-page-content blockquote p, .td-post-content blockquote p, .wpb_text_column blockquote p, .td_block_text_with_title blockquote p, .bbpress blockquote p, .woocommerce #tab-description blockquote p, .mce-content-body blockquote p, .comment-content blockquote p {
font-size: 16px;}
.td_module_wrap {
padding-bottom: 1px;
}
Catalin,
Thanks for that link. I do believe those changes will be removed once I update the theme though, is that the correct assumption?
I am using a child theme and the td_api_plugin features for custom modules/blocks/headers/footers but was unable to find any documentation on using the API to add custom ads. Is there currently a way to do this through the API? Thanks!! 🙂
Hi,
Here’s some more detailed information. please have a look at the site as it is now set up: http://wp.bgmagazine.nl/
We have several categories (arbo en verzuim, Duurzame inzetbaarheid and so on these being block 1 en 2 on the homepage). On the right side of every block you see a submenu that we created with ajax (Labels are ‘Artikel” article), Nieuws (news) and Opinie (blogpost).
These will display all post from that specific category. So for the first block it’s only from category ‘Arbo en verzuim’. This could be articles, blogpost, events, jobs etc.)
However the block Arbo en verzuim should only display the specific articles, blogpost, events etc from that specific category, so in the first block it should display all posts, events, jobs only from category ‘Arbo en verzuim’. If a user clicks on a submenu eg Artikel (article) all the articles (or number we’ve set up) of that category should be shown in that Block.
Is there a block that has just the title and excerpt with no image?
Ex.
TITLE
author & date
This is my excerpt that is however long the except is.
TITLE
author & date
This is my excerpt that is however long the except is.
Thanks for your help.
Scott
Hi
This usually happens when loading some file from another host/url. I have checked your browser’s console and you have this erros error – http://screencast.com/t/wrgDHip4WL
The solution would be to load the files from the same url as the site or try this solution – http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
Let us know how it goes.
Thanks!
Hi,
I’m not quite sure what it is you want to achieve.
The filter works like this: when you set up your block you select a category to be displayed first, when you load the page: http://screencast.com/t/DikddgBl. The ajax filter bring more categories to the block in the form of buttons you can click so the block will display posts from that specific category. You can select which categories to display by using the category ID’s separated by commas: http://screencast.com/t/i4pNK40I
You can get the category id’s from here: http://screencast.com/t/FEo6bFN4
Unfortunately you cannot filter by post type but there is another option to filter by tag slug: http://screencast.com/t/nBVCir7N so you give your posts the tag slug named as the post type and you can have a custom name appear on the ajax menu instead of the category.
If this is not what you mean, please provide more details so i can understand your request better.
Thank you!
Hello,
You can filter what categories appear in the ajax filter like so:
1 – every category has an id. It can be seen here: http://screencast.com/t/MQpOULohV
You need to make a list of these id’s corresponding to the categories you want the filter to show.
2 – place these category id’s in the ajax filter box separated by comma: http://screencast.com/t/xKmrepAu1G4
Now the filter will show only your specified categories: http://screencast.com/t/YvAM9en8D
You can read more about block settings here: https://forum.tagdiv.com/block-settings-tutorial/
Thank you!
Hello,
The ajax filter shows only posts from the selected category. However if a post has multiple categories set to it it will appear everywhere one of it’s categories is specified.
Posts with a single category: http://screencast.com/t/ZUYp9R8Nl
Posts with multiple categories: http://screencast.com/t/kkSreUl5
You can read more on ajax filter in our documentation: https://forum.tagdiv.com/block-settings-tutorial/
I hope this helps.
Thank you!