- 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
i use this css code for block on desktop the stickly option:
/*DESKTOP 1141px + */
@media (max-width: 1141px){
/*Disable menu stickly*/
.td-header-menu-wrap.td-affix {
display: none;
}
}
but not work for me
Hi,
Please add this custom css in Newspaper>Theme panel>Custom code>Custom css
.td_flex_block_1 .td_module_flex_1 .td-module-container,
.td_flex_block_2 .td_module_flex_2 .td-module-container,
.td_flex_block_3 .td_module_flex_3 .td-module-container,
.td_flex_block_4 .td_module_flex_4 .td-module-container,
.td_flex_block_5 .td_module_flex_4 .td-module-container {
display: -webkit-box;
}
Let me know how is working.
Thank you.
I have WP multisite website which homepage is one of the networks.
to call other network content in the homepage I have to use below plugin which is working with shortcuts:
https://wordpress.org/plugins/network-posts-extended/
I was wondering to ask below questions:
is it possible to have other network posts in the blocks directly?

OR
how can i user the network posts extended shortcut in the BLOCK ?
My goal is to have blocks with other network posts
Thanks
Hi,
Unfortunately our theme do not have this function, sorry; there are just few blocks that have this option with color, and is general, for all devices.
I think this can be done with custom css if you have the proper skills -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks.
Hello. Our website works fine on every browser, but in Safari on big screen Macs texts and pictures on homepages stack.
This is the link to our website: test.birgun.net
I did some custom margin/padding settings on blocks, but website works fine on every browser except Safari.

Hi,
Please check your documentation for Filter tab -> https://forum.tagdiv.com/block-settings-tutorial/
https://www.screencast.com/t/n07H6w8E
Here you see the category id
https://www.screencast.com/t/2dD0tieeRLn8
Here you can see the post id
https://www.screencast.com/t/0nZNTJ7j
For widgets
https://www.screencast.com/t/VtS6ZgXodQ
Hope this will help you.
Thanks.
Hi,
Please deactivate all non theme plugins, clear all cache and try again.
Also you can try Thumbnails – Fix strange looking images on blocks -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Could be caused by the Cloudflare rocket loader
– https://forum.tagdiv.com/cloudflare-cdn/
Thank you.
Hi I am trying to seperate the posts for the side homepage via the Widgets in the filter tab it asks for the Post ID filter? it also mentions to exclude posts from this block add them with ‘-‘ (ex: -7, – 16) where do i find these POST ID`s? it seems they go by numbers followed by , commers. Please direct me.
Thanks.
Gus
Hi,
I just try with your video example and is work
https://www.screencast.com/t/2R3luxRN
-> https://www.screencast.com/t/NB9sjrupNP
-> https://www.screencast.com/t/Fdb9KUNg
-> https://www.screencast.com/t/xIWWIFcxlO
Please go in one post with feature video and set again the feature video and click on update, if this is working, please use -> Thumbnails – Fix strange looking images on blocks -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thank you.
Hi again. I’m having trouble getting this to work. Are you able to help at all?
I’ve created a custom filed in ACF for adding an image.
I’ve then opened the module I’m using – td_module_flex_1.php
Then added the field code like this:
<?php
class td_module_flex_1 extends td_module {
function __construct($post, $module_atts = array()) {
//run the parrent constructor
parent::__construct($post, $module_atts);
}
function render() {
ob_start();
$hide_image = $this->get_shortcode_att('hide_image');
$image_size = $this->get_shortcode_att('image_size');
$category_position = $this->get_shortcode_att('modules_category');
$btn_title = $this->get_shortcode_att('btn_title');
$title_length = $this->get_shortcode_att('mc1_tl');
$author_photo = $this->get_shortcode_att('author_photo');
$excerpt_length = $this->get_shortcode_att('mc1_el');
$excerpt_position = $this->get_shortcode_att('excerpt_middle');
if (empty($image_size)) {
$image_size = 'td_696x0';
}
if (empty($btn_title)) {
$btn_title = 'Read more';
}
$excerpt = '<div class="td-excerpt">';
$excerpt .= $this->get_excerpt($excerpt_length);
$excerpt .= '</div>';
?>
<div class="<?php echo $this->get_module_classes();?>">
<div class="td-module-container td-category-pos-<?php echo $category_position; ?>">
<?php if( $hide_image == '' ) { ?>
<div class="td-image-container">
<?php if ($category_position == 'image') { echo $this->get_category(); }?>
<?php echo $this->get_image($image_size, true);?>
</div>
<?php } ?>
<div class="td-module-meta-info">
<?php if ($category_position == 'above') { echo $this->get_category(); }?>
<?php echo $this->get_title($title_length);?>
<?php if ($excerpt_position == 'yes') { echo $excerpt; } ?>
<div class="td-editor-date">
<?php if ($category_position == '') { echo $this->get_category(); }?>
<span class="td-author-date">
<?php if( $author_photo != '' ) { echo $this->get_author_photo(); } ?>
<?php echo $this->get_author();?>
<?php echo $this->get_date();?>
<?php echo $this->get_comments();?>
</span>
</div>
<?php if ($excerpt_position == '') { echo $excerpt; } ?>
<div class="td-read-more">
href;?>"><?php echo __td($btn_title, TD_THEME_NAME);?>
</div>
cat<div class="uni-logo"><?php $uni_logo = get_field( 'uni_logo' ); ?>
<?php if ( $uni_logo ) { ?>
" alt="<?php echo $uni_logo['alt']; ?>" />
<?php } ?></div>dog
</div>
</div>
</div>
<?php return ob_get_clean();
}
}
I’ve added the text ‘cat / dog’ before and after my code so i could see where it is supposed to appear.
You can see the result here:
http://whystudyhere-com.sites.stackstaging.com/block-14-full-2/
Any help gratefully appreciated.
Hi Simon,
no, I meant two different layout menus (second block, third block) on the mainmenu in the link http://bit.ly/2rKkUaF
Thanks
Hi,
If your feature image look like this please use
Thumbnails – Fix strange looking images on blocks -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Thank you.
Those are both WordPress galleries, not affected by the theme, in terms of thumb used or it’s size and cropping.
In the second example you must be using the thumbnail size of the images
– http://prntscr.com/lxb2yu
Using a larger size there would create a different result. Comparison for the two galleries, with bigger images selected in the classic editor gallery (medium)
– http://prntscr.com/lxb427
WordPress crops the images if set here – http://prntscr.com/lxb8aw
So if the cropping is on there, and the thumbnail size is selected, on default settings the gallery will show images of 150x150px cropped.
The gallery in the Gutenberg gallery further applies cropping to ensure even images
– https://gogutenberg.com/blocks/gallery/
This is how I see it, I could be wrong in some aspects however. Haven’t made that many tests with WordPress galleries.
Hi,
Please understand that our theme is made in this way ( every single titles are set by default in theme files with h3 ), is nothing wrong with the theme, there are some blocks that let you to change the heading title, but most of them not.
Thank you for your understanding.
Hi Simion, sent reply to Bogdan and he said my site was getting a “404 error on a tagdiv composer file.” I made sure all folder and file permissions were set okay per his recommendation. I also reached out to host, Godaddy, and they said there is no block or security block on any files on my site. So I currently sit without a solution.
Sorry.. it renders the site home page with code for the blocks, and pages seem void of the theme itself
I recently corrected my SSL so my site will forward to the HTTPS:// version but now on a mobile device the site renders showing code for the blocks. How can I fix this and its only seems to be on the homepage. If I click on any of my menu items other than the home or homepage on logo. It renders correctly.
Thanks.
Why the new WordPress editor not working properly with this theme?
It started hiding the area of paragraphs or blocks after 4 blocks. Is this the issue with your theme?
Check the screenshot. https://prnt.sc/lx3fay
Well, basically the title sums it up, the tagDiv composer is missing after updating WP and Newspaper, the Sticky blocks from the page are no longer sticky (not that I could fix them, since the composer is missing).
The homepage now also displays this bit of code, instead of the actual blocks:
[tdb_loop modules_on_row=”eyJwaG9uZSI6IjEwMCUiLCJhbGwiOiI1MCUifQ==” modules_gap=”eyJsYW5kc2NhcGUiOiI0MCIsInBvcnRyYWl0IjoiMjgifQ==” modules_category=”image” show_excerpt=”none” show_btn=”none” ajax_pagination=”numbered” custom_title=”NEWEST ARTICLES” block_template_id=”td_block_template_2″ header_text_color=”#ffffff” f_header_font_family=”629″ f_header_font_size=”26″ f_header_font_line_height=”1.2″ f_title_font_family=”159″ title_txt=”#ffffff” title_txt_hover=”#b5c3cb” author_txt=”#ffffff” com_bg=”#96446c” pag_a_bg=”#b5c3cb” pag_a_border=”#b5c3cb” pag_border=”#333333″ pag_text=”#aaaaaa” f_pag_font_family=”159″ f_title_font_size=”eyJwaG9uZSI6IjE0In0=” f_title_font_line_height=”eyJwaG9uZSI6IjEuMyJ9″]
Can you guys help me with some suggestions? Thanks.
Hello I’ve been using the newspaper theme, which is great!
In my site I use the “related articles” module but it seems
there is no way to add some more filters to the posts that
are being displayed.
In my case, I’m showing related articles based on a tag. It
would be great if there was an option that the user could
use ajax-filtering based on a certain category. This option
exists in many other blocks-modules but not in this one.
Could you please provide some alternative, since I do not
seem to find a solution to that problem..
Thank you in advance
Hi i would like to filter my posts to go into a different block tab my homepage is http://vards.net I need to place the three posts with coins into the right side bar block tab that says Bid On These Items. please check this link for the picture illustration: http://vards.net/antiques
Thanks.
Gus
thanks calin.
I have tried all your suggestions. Thanks
However, I am struggling with the images. The size of the block I can change using the margin function, but the finished size is still dependent on the image size. There is no cropping or adjusting the image to a fixed size. If I crop the image myself, to fit for desktop view, it looks horrible for mobile. How do I get the automatic image cropping to a fixed size.
Hi
I ll try to explain what happened this morning
0. I already had installed Nespaper 8.7 site with Multi-purpose set pages and visual edited with tagDiv Composer
1. i have updated WP to newest version 5.01
2. Everything worked with all additional plugins as it was before point 1, except page where i had tagDiv Composer made block showing all posts sorted by newest first and with Load more option. This page suddenly gave white blank page
3. I thought that maybe its because new WP and i need new version of Newspaper theme, so i downloaded it from Envato and installed it (9.2.2)
4. I ve activated theme and suddenly all pages turn blank white, even admin page. Managed to fix this and at least to get admin page by renaming manually Newspaper theme folder.
5. Then I thought that its maybe because of plugins that goes with Newspapers, so i reinstalled tagDiv Composer and others td’s with those provided files in installation
6. Finally i have following situation:
– only tagDiv Composer is activated, of all plugins, site works (w/o some additional functionalities which other plugins provide)
– if i activate Classic Editor plugin and/or td speed booster, site still works
– if i activate any other plugin, even td Social counter to not mention other as those important Wordfence Security, Yoast and similar, entire site goes again in white blank pages
I ve tried to make theme inactive, deleted Newspaper folder and reinstalled it again. Problem hasn’t changed.
What to do? What could be so wrong? I m not skillful with this and WP, just common user.
Hi,
Featured image or video -> https://forum.tagdiv.com/featured-image-or-video/
Also please regenerate your thumbs
Thumbnails – Fix strange looking images on blocks
-> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Please make a test set a url from YouTube and see if the problem persist.
Thank you for your understanding.
Hi,
I understand what you mean. Blocks don’t have numbered pagination, only ajax pagination. Blocks and grids can display custom post types, but the posts cannot be filtered in any way, only sorted.
The loop elements have numbered pagination, but cannot be filtered. There would be no way around this. Maybe consider using blocks to display the custom post types.
The theme is somewhat limited when it comes to CPT, most of the theme and composer options are designed to work with default posts and categories. So there aren’t many settings for CPT. Sorry for the inconvenience.
Thanks