- 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,
You can try to use Flex Block 2 or Big Grid Flex, but it depends on what you want to display because those work to show posts and cpts.
Thank you!
Hi,
A workaround for want you need is to use the Multiple terms filter and set the IDs of your categories -> https://forum.tagdiv.com/flex-block-settings-guide/ “– This option allows you to filter the posts by multiple categories. The procedure is similar to the one used on the Post ID filter. Add the category IDs separated by commas (ex: 13,23,18). If you want to exclude categories, add a ‘-’ symbol in front of each ID. If you want to display posts from a category and remove the posts included in one of its sub-categories, first add the parent category ID (ex. Fashion category – 341) and after it, place the sub-category ID (ex. Daily subcategory id: 342) with a ‘-’ symbol in front. If you decide to use the ‘multiple taxonomies filter,’ the standard Category Filter is ignored.”
Thank you!
Thanks!
I have another problem. I want to bring the News Ticker right next to the block, how can I remove the blank space?
https://imgur.com/a/SQ6O66M
Hello,
I have specific category https://tendences.lv/isas-dzives-atzinas/ , prepared for for separate page https://tendences.lv/atzinas/ , and my wish is to exclude from home page template https://tendences.lv/ at all. How to do more efficiently? I am asking as I have a lot of different blocks in home page.
BR, Aldis
Is there an option for having a block that you can scroll through horizontally, similar to Netflix, Prime Video, etc., with a smooth scroll? We have attempted to use the Revolution Slider add-on but found that it is not completely compatible with all browser options (especially older browsers and device versions).
Hi Support, is it possible to Allow “Cache block results” for all Grid Widgets (Big Grid/Big Grid Flex) in TD Composer? Thanks.
Currently we can only set cache in Block widgets, but not in any Grid widgets.
It’s not working. The shortcode block does not render.
Hello @gorthi!
Check on this path: td-composer/legacy/Newspaper/includes/shortcodes/td_block_weather.php
Thank you!
It’s not working. The PHP Everywhere block we have in the sidebar does not render. I think it’s a problem related to making shortcode blocks with your theme.
I have a question:
On the website you have a recommended text for an inline article:
[td_flex_block_1 modules_on_row=”” limit=”1″ hide_audio=”yes” show_btn=”none” show_excerpt=”none” show_review=”none” show_com=”none” show_date=”none” offset=”1″ show_author=”none” show_tag=”none” image_floated=”float_left” sort=”latest” image_width=”200px” meta_padding=”25px 0 0 25px” modules_category=”none” modules_category_margin=”0 0 10px 0″ tdc_css=”eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJib3JkZXItYm90dG9tLXdpZHRoIjoiMSIsInBhZGRpbmctdG9wIjoiMTIiLCJwYWRkaW5nLWJvdHRvbSI6IjgiLCJib3JkZXItY29sb3IiOiIjZWFlYWVhIiwiZGlzcGxheSI6IiJ9fQ==”]
Is there a possibility to replace the sort=”latest” with other variations such as filter: tag, top articles, etc.?
Hello,
That one is the category and it can be adjusted using the block options – https://i.imgur.com/g353eKs.jpg for a better assistance please provide a link where I can investigate this “flex box”.
Thank you!
Hi Bettina,
I tried this css code .tdm_block .tdm_block_inline_text .tdm-descr .tdi_68 {text-align:justify !important}
but it doesn’t work
https://inspire-imaging.com/about/
above is the page of the website I’m applying it
Agreed, please add the h1-h6 option to header / text for all blocks/modules, thanks.
Hello.
I’m trying to use the SLIDER block on my home page. However, whenever I add it, I cannot save the CONTENT of the page.
I can use any other element, but when I insert the slider, it doesn’t save anymore.
I updated WordPress, theme and all plugins and the problem persists.
Check this print, pls!

Site URL: https://transpodata.com.br
Can you help me please?
Thanks in advance.
Marcus Abrantes
Is there an easy way to pin particular posts to the top of a flex block? I am using a “flex 1” style block with no category filter and “latest” in the order. However, I want the option to pin a particular story at the top as we see fit and then have the latest appear below that. There is a “stick at top of blog” setting in the vanilla WP post editor but it seems to not affect the Newspaper flex block module.
Earth.com use sticky ads between paragraphs (within the content), see example.
I recreate something similar with Ad Inserter Pro but Newspaper’s css is preventing the ads being sticky. According to the plugin developer the theme sets the overflow CSS property which prevents sticky position: overflow: hidden, overflow: scroll or overflow: auto on the parent of a position: sticky element.
In the documentation with working demo of the sticky ad between paragraphs (the purple block if you scroll down) the author of the plugin mention: “Please note that sticky feature as described here depends on the styles used by the theme. If it sets overflow CSS propery on some parent element or otherwise prevents sticky position then sticky feature will not work.”
So is there a workaround this theme can work with Ad Inserter Pro?
Please advice.
Thank you.
Same case here, I blocked it in the cloudflare firewall
cloudflare > security > waf > firewall rules > URL > equals > /wp-json/tdw/save_css > managed chalenge > deploy
Hi, we are modifying the homepage to display a right sidebar containing only a Gutenberg block of PHP everywhere. This sidebar appears correctly throughout the site (like here https://lazio.lnd.it/archivio-comunicati), except on the homepage -> lazio.lnd.it. How can I resolve this?
Hello,
I am getting the following error, when trying to preview draft posts in the WP administration:
Warning: array_filter() expects parameter 1 to be array, bool given in /home/customer/www/…/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php on line 940
Fatal error: Uncaught TypeError: Argument 1 passed to tdb_state_single::sort_terms_hierarchically() must be of the type array, null given, called in /home/customer/www/…/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php on line 944 and defined in /home/customer/www/…/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php:3618 Stack trace: #0 /home/customer/www/…/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php(944): tdb_state_single->sort_terms_hierarchically(NULL, Array) #1 /home/customer/www/…/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_categories.php(328): tdb_state_single->{closure}(Array) #2 /home/customer/www/…/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_categories.php(328): Closure->__invoke(Array) #3 /home/customer/www/…/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_glo in /home/customer/www/…/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php on line 3618
It seems to be connected with the code I’ve added to functions.php in order to hide the names of three specific categories. (I did try ti use the option HIDE CATEGORY ON POST AND ON CATEGORY PAGES in the Newspaper theme panel, but it works only for the first category.)
add_filter('get_the_terms', 'hide_categories_terms', 10, 3);
function hide_categories_terms($terms, $post_id, $taxonomy){
// define which category IDs you want to hide
$excludeIDs = array(1, 2, 3);
// get all the terms
$exclude = array();
foreach ($excludeIDs as $id) {
$exclude[] = get_term_by('id', $id, 'category');
}
// filter the categories
if (!is_admin()) {
foreach($terms as $key => $term){
if($term->taxonomy == "category"){
foreach ($exclude as $exKey => $exTerm) {
if($term->term_id == $exTerm->term_id) unset($terms[$key]);
}
}
}
}
return $terms;
}
Theme name: Newspaper
Theme version: 12.6.3
Theme database version: 12.6.3
max_execution_time: 120
max_input_vars: 3000
WP Memory Limit: 512 MB/request
Caching plugin: No caching plugin detected
WP version: 6.4.3
WP multisite enabled: No
yes, Shared please reply as a priority these issue blocking us
Hello Herwig!
The page templates can’t be global on each page, and it is not working as a single template, for example. Create a new page in Dashboard -> Pages, press the publish button, and view. Edit it with the TagDiv Composer: https://prnt.sc/gGw1zq0zdf3r and start customizing it as you like. You can import from the Cloud Library sections, blocks, etc. already designed.
Thank you!
Hi,
https://app.screencast.com/U4n9QF8s7teZ1
Open flexblock – in the example above, don’t display the most recent post dynamically. Isn’t it something like -1 or something for the postID? The Ideja post that you see is the most recently added. I don’t want it to appear in that flexblock but I want that dynamically as I’m adding in another and the Ideja post will appear in that 4 post grid.
Does that make sense?
Thank you very much!
Hi all! I would like to create a block that doesn’t show when there isn’t any content to display.
Let’s say I have a block that shows posts from “current tag” and a specific category. If there aren’t posts about that, I don’t want the block (or the title block) to be displayed.
Is there a way to do so? Thank you very much!
Hi,
I would like to create a new article on my blog, about our wedding.
The page should includedetails about our honeymoon + the bank account for payments and gifts.
Is there any template or module / block that you suggest?
Thank you
Hello @AngelSky!
You can edit an article with the TagDiv Composer and delete the featured image element.
It won’t show in the article, but it will show in a flex block, for example.
Thank you!