- 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 try different flex block in main, and it does not display the desired category (Flex Block 4)

Flex Block 1 show correctly

Hello, I’m looking to apply the following option to a “flex block”: open all links in a new tab.
I can’t find the option available in the block itself…
How can I make the links of my articles to open in a new tab? I’ve seen that it’s possible to assign a CSS class, maybe there is a solution there Can you give me a hint on the name of the block itself to apply this special class that force to open articles in a new tab?
“When I add the following CSS code on my website :
.new-tab a {
target: _blank;
}
and apply the extra class “new-tab” to the flex bloc, it doesn’t work…
Do you have any solution to solve this issue please?
Hi Bettina,
this is the error deactivating all plugins, except those of TAGDIV.
I’ve also checked with 8.1, but I receive also some errors in the backend.
Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php:1142 Stack trace: #0 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php(1142): number_format() #1 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): td_block_social_counter->render() #2 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #3 [internal function]: do_shortcode_tag() #4 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #5 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #6 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php(316): tdc_composer_block->do_shortcode() #7 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_column->render() #8 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #9 [internal function]: do_shortcode_tag() #10 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #11 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #12 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php(1145): tdc_composer_block->do_shortcode() #13 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): vc_row->render() #14 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #15 [internal function]: do_shortcode_tag() #16 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #17 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/tdc_composer_block.php(278): do_shortcode() #18 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/includes/shortcodes/tdc_zone.php(591): tdc_composer_block->do_shortcode() #19 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdc_zone->render() #20 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(355): td_global_blocks::proxy_function() #21 [internal function]: do_shortcode_tag() #22 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/shortcodes.php(227): preg_replace_callback() #23 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/class-wp-hook.php(308): do_shortcode() #24 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/plugin.php(205): WP_Hook->apply_filters() #25 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/post-template.php(255): apply_filters() #26 /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-composer/legacy/Newspaper/page.php(51): the_content() #27 /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/template-loader.php(106): include(‘…’) #28 /web/htdocs/www.rottadeitrasporti.it/home/wp-blog-header.php(19): require_once(‘…’) #29 /web/htdocs/www.rottadeitrasporti.it/home/index.php(17): require(‘…’) #30 {main} thrown in /web/htdocs/www.rottadeitrasporti.it/home/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php on line 1142
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/functions.php on line 5279
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /web/htdocs/www.rottadeitrasporti.it/home/wp-includes/functions.php on line 5279
Where do you change the color of the filter text and filter text when highlighted.
Actually two questions 🙂
Is there a block for the gutenberg editor?
Is is possible to inject it via tagdiv composer but after the first paragraph?
All the best,
Daniel
Thank you Anamaria. I had tried to adjust the font size this way before I contacted you but found that it was too big on the lowest setting. How can I reduce these title font sizes within this block without impacting the font size on other pages?
Hello,
Using standrd template from theme panel, you can’t change the position of the block, but you can try to use a Single Post Template -> https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
Thank you!
Hello,
If you have reinstalled the plugin tagdiv Composer from Newspsper -> PLugins, then this gap is solved.
Also, maybe the block that don’t have a filter tab is called a posts loop.
The Posts Loop is automatically filtering the posts depending on the cloud template you set (for example on the category page there will be posted posts from that category).
Thank you!
Hi, is it possible to move the position of the comment field through the theme options?
Without having to create a new template. It’s possible?
Thanks
Hi,
If you use a plugin like Wordfence, please set it in learning mode.
Please make sure you have the latest version of the theme, 12.3
Please check if this code is missing from your .htaccess: https://www.screencast.com/t/iN0R93dD3p from our requirements https://forum.tagdiv.com/requirements-for-newspaper/ this requirement is not displayed in System Status.
Usually, after you set the code in .htaccess the WP editor works well.
Also, please check this guide about deny code https://forum.tagdiv.com/general-options-may-interfere-newspaper-theme/ ->
Please do a test using only tagDiv plugins and try to open the WP Editor.
Please check the console https://imgur.com/bRYwbvE if you have any errors when you try to open the wp editor, maybe is possible to be from the firewall or security module which blocks the admin-ajax.php request, which usually displays a 403 or 404 error.
If you don’t use a security plugin, please ask your host about this, maybe you have a security module that blocks this.
Also, if you are using Cloudflare, please make sure that is set as in our guide https://forum.tagdiv.com/cloudflare-cdn/, you need to disable the Rocket Loader.
Thank you
Hello,
Please let me know what prebuilt website you have.
You can have the comment counter in the tab layout https://www.screencast.com/t/cHE1i1UUc4I. Also, you can go to the Theme Panel -> Blocks settings and disable the comments -> https://i.imgur.com/heBQvoZ.png
Thank you!
The ‘edit content’ box will not load, so can’t edit or add content to this block. times.co.nz
Hi, I’m having problems trying to make the text size smaller in the title text 1 and 2 of the ‘fancy text with image block’. Any advice on how I do this? Thank you.
Just to clarify, the [td_block_x] Shortcodes are not being rendered/appearing either in the editor or the frontend. The child theme seems to be ignored, instead, it is loading the parent theme (Newspaper). The child theme is set in WordPress.
Hello,
This keeps happening, the home page is breaking each time I update… and this time, I cannot fix it.
The URL is: https://wrp.org.uk/
The code is just:
[vc_row][vc_column][vc_column_text][tdc_zone type="tdc_content"][/vc_column_text][/vc_column][/vc_row][vc_row el_class="unique-posts" css=".vc_custom_1612263135539{margin-top: 2rem !important;}"][vc_column width="2/3"][td_block_12 custom_title="News" custom_url="/news/" category_id="158" limit="1" offset="0" el_class="news lead"][td_block_2 category_id="1" limit="2" offset="1" el_class="news"][/vc_column][vc_column width="1/3"][td_block_9 custom_title="Editorials" custom_url="/editorials/" category_id="2" el_class="editorials"][/vc_column][/vc_row][vc_row el_class="td-ss-row"][vc_column width="2/3"][td_block_2 custom_title="Features" custom_url="/features/" category_id="3" limit="2" el_class="features"][td_block_2 category_id="3" limit="2" offset="2" el_class="features hide"][/vc_column][vc_column width="1/3"][td_block_7 custom_title="Events" custom_url="/events/" category_id="164" limit="0" offset="0" show_modified_date="true" el_class="event hide" tdc_css=""][/vc_column][/vc_row][vc_row][vc_column][vc_column_text][/tdc_zone][/vc_column_text][/vc_column][/vc_row]
I can see there is a [tdc_zone type=”tdc_content”] that may be the issue, but taking this out, doesn’t restore functionality.
It’s a busy website, so please reply soon!
Hi,
Please select the above block and set the margin-bottom to 0 https://i.imgur.com/eVkmugv.png
Thank you!
Hello,
Please let me know the design that you made; maybe you need to add margin-bottom on the block.
Thank you!
Hello,
Please edit with tagdiv Composer, select the block and in the tab layout you can change the position of the image -> https://i.imgur.com/KYEiK01.png
Thank you!
Hello,
I have a problem with the flex block used on all my category pages.
I use this model months ago with no problems.
Now the posts are presented with gaps in all the category pages.
Why ? What can i do ?
Thanks
Hello. I would like to do this.
In a “CPT” post I would like to show using “Flex Block” all the “posts” and other different “CPTs”, by the same author of the “CPT post” in which we are.
In the “Custom Post Type – Templates” I set in the “Flex Block > Filter > Category filter: Author – Current author doesn’t work, it shows all posts by all authors.
Is there any way to do this?
Thanks Antonio
Greetings,
how can i show modified date in single post?
I would like both the date inserted and the date modified to come out.
I’m not talking about the modules or blocks but about the single post. And I wish it was also visible on mobile them
Thanks for your help
We have updated our theme (newspaper 12.1.1) to the latest version of the theme (newspaper 12.3). After updating there are some style issues in the side widgets and some blocks. The issue is based on the constant and we can fix it by adding custom CSS, but before that, we didn’t have any issue like that. So is there any proper fix to solve this style issue?
Also, the tagDiv Cloud Library plugin is automatically deactivated after updating the theme. However, I activated it again. Why that plugin is automatically deactivated?
Screenshots:- https://imgur.com/a/hSJDrod
Hello,
Indeed, seems there is some issues with the Flex Blocks. Soon we will make an update to solve them.
Thank you for your understanding!
Hello @sejpost!
They are not working as they should, even on the desktop. I can see that you have some errors in the console. Something is blocking the Ajax processes there.
Make a test and deactivate ALL plugins except tagDiv ones, also if you are using a cache plugin, deactivate it, clear all cache and try again.
Let me know the results!
Thank you!