- 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
Technical support:
We will investigate these image related problems caused by the update. In the meantime the fix would be to disable the theme lazyload in the theme panel
– https://www.screencast.com/t/79PwbzGlCpun
We are very sorry for this inconvenience, we tested the lazyload on our side extensively, but it seems that there may be some problems after all.
https://forum.tagdiv.com/topic/blocks-do-not-show-images-after-update-9-2/
Technical support:
We will investigate these image related problems caused by the update. In the meantime the fix would be to disable the theme lazyload in the theme panel
– https://www.screencast.com/t/79PwbzGlCpun
We are very sorry for this inconvenience, we tested the lazyload on our side extensively, but it seems that there may be some problems after all.
https://forum.tagdiv.com/topic/blocks-do-not-show-images-after-update-9-2/
I have 3 different instances where the Related Articles are not appearing as expected. I’m guessing them all may be related.
1. On an Author archive page, the posts by the author used to appear as expected. Now they appear on only one Author page, not any other authors. Here’s where there are “no posts to display”: https://www.schoolnewsnetwork.org/author/ron-koehler/ . Here’s the one example where the posts display as expected: https://www.schoolnewsnetwork.org/author/janice-holst/
2. The “Related Article” feature is not appearing at the bottom of posts as expected. It used to appear, and now appears on no posts. In the Theme Panel at Post Settings > Related Article, the option is turned on. Here is a post where the “Related Article” feature is not appearing: https://www.schoolnewsnetwork.org/2018/12/04/students-flock-to-teaching-cadet-program-but-remain-unsure-about-education-careers/
3. More posts by Author are not appearing in a sidebar widget as expected. This is happening on all 8 instances of this widget. I am using TagDiv Block 11. It is being filtered by “all categories” and the Author number, which I have checked and is correct and unchanged from when it used to work. Here is an example (look in the right column under “Latest from Ron Kohler”): https://www.schoolnewsnetwork.org/2016/12/05/ron-koehler/
No I’m referring to the images that are visible when you read the post/news item. The images that are with the first posts on the front page are all smaller than the images that appear with the posts.
Viewing posts here you can see that the image is small above the text https://www.screencast.com/t/t3LrE8RcKzjr
Viewing the posts here you can see the images are bigger and fit the width perfectly.
https://www.screencast.com/t/uZRMawnCzbz
I have regenerated the thumbnails for the posts that are in the block on the frontpage but they did not change.
To clarify – it’s the images in modules and blocks that are not showing up.
Hi Calin,
TagDiv Composer did not update automatically today – nor the last two times. As a result, all the raw code was displaying on my homepage and made it look horrible. The blocks and their elements went missing. For TagDiv Cloud Library – that was deactivate and I had to go to Plugins to activate it. During that time all templates reverted to the default template.
So whenever a new version is updated there is a period of time when the website looks bizarre until the two plugins are updated. Hence my question, is there a way to do these updates without making the website look horrible?
Thanks
Hi,
If you are referring at this https://www.screencast.com/t/6caPt2tUXd then please use Thumbnails – Fix strange looking images on blocks -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thank you for your understanding.
Hi,
Try this custom css
.td_block_big_grid_fl_6 .td_module_mx22 {
height: 350px;
}
You can change the value of height.
Thanks.
OK but I still don’t understand why the images (when reading the full post) are smaller for the posts that are in the block on the frontpage than the posts that are not in the block.
This is the first post on the site http://nyr.sunnlenska.is/menning/gudmundur-les-a-adventufundi/ and the image does not fill out the width.
This post is in the list below http://nyr.sunnlenska.is/frettir/jolasveinarnir-koma-a-selfossi-2/ and here the image is in the correct width.
Are you saying I need to change the code in the td_config.php ?
Hi,
Then please add the below css for the mobile in Newspaper>Theme panel>Custom code>Custom css
@media (max-width: 767px){
.td_block_big_grid_4 .td-big-grid-post {
width: 100%!important;
}
}
Thanks.
same here it blocks sometimes
I’m having the same warning when I was downloading the update, what we should do?
Alert level: serious
Status: In quarantine
Category: Trojan downloader
containerfile: C:\Users\(my user)\Downloads\themeforest-5489609-newspaper.zip
file: C:\Users\(my user)\Downloads\themeforest-5489609-newspaper.zip->Newspaper-tf/plugins/revolution_slider_5/revslider.zip->revslider/includes/gutenberg-blocks/assets/js/editor.blocks.js
file: C:\Users\(my user)\Downloads\themeforest-5489609-newspaper.zip->Newspaper-tf/plugins/revolution_slider_5/revslider.zip->revslider/includes/gutenberg-blocks/assets/js/frontend.blocks.js
webfile: C:\Users\(my user)\Downloads\themeforest-5489609-newspaper.zip|https://marketplace-downloads.customer.envatousercontent.com/files/257503306/Newspaper-tf.zip?response-content-disposition=attachment%3B+filename%3Dthemeforest-5489609-newspaper.zip&Expires=1544097593&Signature=I2Hq~coyzPlhovSbp3PabctRho2XykBRJrdBRyxQdEacutWfiRW8rSTSeIAskWyKtV-dRmJkxAc2wawdF3LFCc-AZErhf3u2drKEAzoA~YbSSlcxh0tV2G5wz-wlV-lu9s37MiwRZ8LoYVQ~Om2V8YqJPgQGciYf8GKh97nlfjKh~nH3St9esCjA0pc6Rj2UCSXdMppGzXpzusJD0KkBdiZaeopI7nZXjopTDsg-H61Idqf~NvTpN4dI3zN3j7lWGrfYJYLL9N6NkW9oI8fJn0~13vwMnXpgUgjHwmC3xovTcdN6BbSPxsRYdiIfvU9jEpJ6S2IRqqZlZB3YbhxHWkQOIiU3S4OzVQVyfgk4JZsKyJFuLkLSwXrP3T2n24VbiTGERX3c4pBEsH68TEuh2JArV6irIMK69zoMSk-BlLHeTNME88vnOEjFt-K4OF3DVedxzXyGIhBhM0EErMD5-DyxyOzIjI7BnEG0ZwfwxZSqomuLyrgra5w8l8BDUmSLDdnZMp4s1UHKssS6buc6hoZFdJbSvS0sd7yTY-r4Tlv9vfDWw41kkgF1Ed~q1o21SfIU23hZyLxEpqDmGkNzlFXXjaDPUq83GU5mOw3y9rSxcbFG1GBOehWSfnVhAYnyw07Q29CQ4zwNwgqe~HoA6pjrZbk8e8CzA9LptL4WhCM_&Key-Pair-Id=APKAJRP2AVKNFZOM4BLQ|pid:12336,ProcessStart:131885697602687545
Hi,
So you uploaded the font as specified in the theme panel (make sure it has woff format). It should then appear in the selection drop-down and you can select it for the elements you want.
The theme will load and apply it where needed.
From what I can see the font is blocked on your website as the link to it is HTTP instead of HTTPS
– https://www.screencast.com/t/7SwamVduw
That would explain it, chnage the links to the fonts to HTTPS and they should be allowed load.
Thanks
Yes. After updating Newspaper 9.2 Imagaes in blocks not loaded. Even i have unchecked Lazyload images option in Jetpack, same problem exists. my site is https://dhinasari.com
Downloading the latest theme Newspaper, my antivirus tells me that there is a Trojan infected –
TrojanDownloader:JS/Jasobfus.B!ml
themeforest-5489609-newspaper.zip->Newspaper-tf/plugins/revolution_slider_5/revslider.zip->revslider/includes/gutenberg-blocks/assets/js/editor.blocks.js
themeforest-5489609-newspaper.zip->Newspaper-tf/plugins/revolution_slider_5/revslider.zip->revslider/includes/gutenberg-blocks/assets/js/frontend.blocks.js
Gutenberg will come with a prebuilt Classic editor block that can be used as classic editor to compose your post.
I am testing Gutenberg with Newspaper from last 2 months and not found any major issue so far.
After updating the theme:
Blocks do not show images in chrome or firefox. Some images show in Edge after updating page 3-4 times.
Same here! Update from 9.1 to 9.2 and this thing happens. Looking at the source code I see img src is changed on all images on blocks to something like this: img src=”image/png;base64,iVBORw2KGgoAAAANSUhEUgAAArgAAAGBAQMAAAC3k1CUAAAAA1BMVEWurq51dlI4AAAAAXRSTlMmkutdmwAAADdJREFUeNrtwTEBAAAAwiD7p7bETmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEDuhFgAARFpDB8AAAAASUVORK5CYII=” and actual image src is: data-img-url=”https://www.site.com/wp-content/uploads/2017/11/ELN_0529_main-696×385.jpg”
What’s going on?
Hi,
Please remove this custom css from Newspaper>Theme panel>Custom code >Custom css
and paste it in Newspaper>Theme panel>Advanced code in all device, but not in phones
https://www.screencast.com/t/dMYXiJI0VpD
.td_block_big_grid_4 .td-big-thumb:hover{
border-radius: 10px;
border: 1px solid black;
}
.td_block_big_grid_4 .td-big-grid-post .td-module-thumb {
background-color: transparent;
}
.td_block_big_grid_4 .td-big-grid-post {
width: 49%;
}
.td_block_big_grid_4 .td-big-thumb {
padding-right: 0px;
margin-right: 1%;
}
Hope this will solve your problem.
Hello,
I’ve just installed the latest version of the theme.
The 9.2 version. I have also installed and updated all the plugins included in the theme. From now on the images in the news blocks no longer come out. Look at the screen. I await your kind feedback. Thank you.
Screen: http://i64.tinypic.com/n33kes.gif

Hi,
Try the settings from Newspaper>Theme panel>Block settings> Meta info on Modules/Blocks
https://www.screencast.com/t/dPoiIW3dZb
For date on post
https://www.screencast.com/t/TNo8D1ye
Thank you for your understanding.
Hi,
Thank you very much for your appreciation, we try our best.
1. So you want to add a block to display posts, after the post content. The only way of doing that would be to use a cloud post template, these can be built with the tagDiv composer
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Here you can see all the available cloud post templates at the moment, preview and even edit them
– https://affiliate.tagdiv.com/#/load/Single
More templates will be added in the next theme updates. If the post contains a smart list, use a smart list template (designed by us or create your own with the blank template). This way a block can be added after the smart list.
2. Smart lists will be displayed in AMP, but not with next/prev buttons. The list elements will appear one after the other. If AMP is disabled and the mobile theme is active there will be next/prev buttons on mobile.
The mobile theme plugin and our AMP plugin can be active at the same time. The AMP version will be accessed by users only through Google search results page, others will receive the mobile theme version.
3. There could be a way for that. There will be a class on the body with the number of the slide in the smart list
– https://www.screencast.com/t/rtzHNzQyrviK
So you could do something like this – https://www.screencast.com/t/ZWNNGPcu
Code used in example here, multiply it as needed
.paged-2 .td-smart-list-button {
color:red;
}
Let me know if you have more questions.
Thanks
Hi,
If this is what you want to achieve https://www.screencast.com/t/N98NqR4cwa please add the below custom css in Newspaper>Theme panel>Custom code>Custom css
.td-full-layout .td-stretch-content .td_block_big_grid_fl_6 .td_module_mx22 {
height: 350px;
}
Thanks.
My problem is that I would like all of my links to be bold, and change color when I hover. The theme is pushing me into making the link and hover the same color by assigning the Theme Accent color to both classes. Actually it looks like they are broken up into dozens of classes by the look of the CSS code on generated pages.
Is there a simple way to force all links to at least use a bold typeface?
Is there a way to color header links so that they show color with CSS.
Yes, I know that TDComposer has more options in blocks for specific modification overrides to the default CSS classes, but I have an enormous amount of content not in TDComposer and users spread all over the USA who are familiar with the WP editor and changing to the TDComposer for everything poses a lot of challenges.
Hi,
First, Congrats for this awsome Newspaper theme.
Fantastic!
This support forum was also very helpful for tweaking it.
here’s my problem:
1- I can’t figure out how to add a block 3colons*3lines for my best articles after an article “smartlist6”.
see image

Please can you help?
2- Does Next/Back button appear the same in mobile devices?
I noticed the amp version of my article doesn’t work: ie it doesn’t show the back/next button
Should I de-activate the Amp Newspaper plugin to make it work on mobiles?
What is the cost of de-activating the Amp plugin? (speed? seo? )
For info : here is my modified smartlist6 file
—-
<?php
class td_smart_list_6 extends td_smart_list {
protected $use_pagination = true; // set this to true to use rela pagination on this template
protected function render_before_list_wrap() {
if(td_global::$cur_single_template_sidebar_pos == ‘no_sidebar’) {
$td_class_nr_of_columns = ‘ td-3-columns ‘;
} else {
$td_class_nr_of_columns = ‘ td-2-columns ‘;
}
$buffy = ”;
//wrapper with id for smart list wrapper type 2
$buffy .= ‘<div class=”td_smart_list_6’ . $td_class_nr_of_columns . ‘”>’;
return $buffy;
}
protected function render_list_item($item_array, $current_item_id, $current_item_number, $total_items_number) {
//print_r($item_array);
$buffy = ”;
//creating each slide
$buffy .= ‘<div class=”td-item”>’;
$buffy .= ‘<div class=”td-number-and-title”><h2><span class=”td-sml-current-item-nr”>’ . $current_item_number. ‘</span><span class=”td-sml-current-item-title”>’ . $item_array[‘title’] . ‘</span></h2></div>’;
// 2nd ad smart list 6 Modif LJMI 1/12/2018
$buffy .= do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);
//get image info
$first_img_all_info = td_util::attachment_get_full_info($item_array[‘first_img_id’]);
//get image link target
$first_img_link_target = $item_array[‘first_img_link_target’];
//image caption
$first_img_caption = $item_array[‘first_img_caption’];
//image type and width – used to retrieve retina image
$image_type = ‘td_696x0’;
$image_width = ‘696’;
if(td_global::$cur_single_template_sidebar_pos == ‘no_sidebar’) {
$first_img_info = wp_get_attachment_image_src($item_array[‘first_img_id’], ‘td_1068x0’);
//change image type and width – used to retrieve retina image
$image_type = ‘td_1068x0’;
$image_width = ‘1068’;
} else {
$first_img_info = wp_get_attachment_image_src($item_array[‘first_img_id’], ‘td_696x0’);
}
if (!empty($first_img_info[0])) {
//retina image
$srcset_sizes = td_util::get_srcset_sizes($item_array[‘first_img_id’], $image_type, $image_width, $first_img_info[0]);
// class used by magnific popup
$smart_list_lightbox = ” td-lightbox-enabled”;
// if a custom link is set use it
if (!empty($item_array[‘first_img_link’]) && $first_img_all_info[‘src’] != $item_array[‘first_img_link’]) {
$first_img_all_info[‘src’] = $item_array[‘first_img_link’];
// remove the magnific popup class for custom links
$smart_list_lightbox = “”;
}
$buffy .= ‘
<figure class=”td-slide-smart-list-figure td-slide-smart-list-6’ . $smart_list_lightbox . ‘”>
</figure>
<figcaption class=”td-sml-caption”><div>’ . $first_img_caption . ‘</div></figcaption>
‘;
}
$tds_smart_list_6_title = td_util::get_option(‘tds_smart_list_6_title’);
//adding description
if(!empty($item_array[‘description’])) {
$buffy .= ‘<span class=”td-sml-description”>’ . $item_array[‘description’] . ‘</span>’;
}
// ad smart list 6 Modif LJMI30/11/2018 inversed text and Image
$buffy .= td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘smart_list_6’, ‘spot_title’ => $tds_smart_list_6_title));
$buffy .= ‘</div>’;
// render the pagination
$buffy .= $this->callback_render_pagination();
//$buffy .= $this->callback_render_drop_down_pagination();
return $buffy;
}
protected function render_after_list_wrap() {
$buffy = ”;
$buffy .= ‘</div>’; // /.td_smart_list_6 wrapper with id
return $buffy;
}
}
——-