- NewsmagSocial counter styles on Newsmag
- NewsmagNewsmag documentation
- NewsmagtagDiv Social Counter tutorial
- NewsmagIntroduction
- NewsmagCategory grid styles
- NewsmagTheme colors introduction
- NewsmagPage templates
So I have a Flex Loop Filter in my home page and I noticed sometimes when I leave that browser tap on my phone to go say read the news in another tab, when I come back to my site after a few minutes the filters are not responding any more.
Reloading the page by pulling down from the top of the screen doesn’t work.
I also tried changing the query parameter manually and refreshing the page and nothing, nada. Filter is completely unresponsive.
The only way to fix it is by launching the site on a new browser tab or by clicking on the logo of the website to go back home
Anyone experiencing this issue?
Hello!
I’ve already replied to you here: https://forum.tagdiv.com/topic/category-section-post-issue/
On your homepage, there are a lot of blocks with filters, limit and could be some offsets as well: https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hi,
Indeed there is a space, you need to use custom code css :where(.wp-block-columns.is-layout-flex)
{
gap:1px;
}
Set the code in Theme Panel > Custom code -> Custom css also, change the value for gap
Thank you!
Hi,
You need to apply filters on the blocks to display the posts from your categories. https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
All our flex blocks have cache enabled (from 1 to 10 minutes).
The option was 100% there before 2 days
Hello @gorthi!
You can make a row or column as sticky in the TagDiv Composer.
In a custom block, the information displayed in the block is designed in a module template. If you use a flex block builder, then you can choose your template here: https://app.screencast.com/gXE6SxpKfQShp and it will display on the block.
Check the guide here: https://forum.tagdiv.com/modules-builder-newspaper-theme/
Thank you!
Hello @daniel_crea !
Unfortunately, no. But you can use the Flex Block 1 element, and you will have the same settings for each module.
Thank you!
Hi!
Strange case
Till yesterday the option to clear blocks cache was at the end of system status of newspaper
exactly as described here:
https://forum.tagdiv.com/use-flex-blocks-cache-option/
Suddenly today , with no update sor something options disappeared.
Any ideas?
Is is possible to show captions of images on the flex boxes?
Hi,
Is it possible to show the excerpt of a post on Module 2 of Flex Block 3? I see the option on the Module 1 but not on the second.
Thank you!
Hello!
This is a custom block, and the information displayed in the block is designed in a module template. If you use a flex block builder, then you can choose your template here: https://app.screencast.com/gXE6SxpKfQShp and it will display on the block.
Thank you!
Hi,
The cache block option is used to reduce the requests to database, you can find more details here -> https://forum.tagdiv.com/use-flex-blocks-cache-option/
Thank you!
Hello @pavel_t !
You can choose to use a filter from this block: https://forum.tagdiv.com/flex-block-settings-guide/ and specify the category ID.
Check these guides: https://forum.tagdiv.com/filters-sorting-taxonomies/ ; https://forum.tagdiv.com/flex-block-builder-flex-loop-builder/
I hope that helps you!
Thank you!
Hello @pavel_t !
You can choose to use a filter from this block: https://forum.tagdiv.com/flex-block-settings-guide/ and specify the category ID.
Check these guides: https://forum.tagdiv.com/filters-sorting-taxonomies/ ; https://forum.tagdiv.com/flex-block-builder-flex-loop-builder/
I hope that helps you!
Thank you!
Hi glamsham,
1. Yes, this can be done, there are also plugins that can do this and can be used.
2. Also, in the theme panel thumbs sections let on only the thumbs that you are using (and default eventually the default sizes – https://i.imgur.com/OFGjPwW.png) – https://forum.tagdiv.com/theme-thumbs/
Unfortunately there is no system that will display the size that are enabled, but it can be done vice-versa, you can disable the thumbnails from the theme panel and check on the website to see those thumbs that are requested, it will be displayed like this – https://i.imgur.com/oWVNbbU.png and enabled those sizes in the theme panel – https://i.imgur.com/UkxiaA0.png
Also if it is a flex, you can changed the thumb on module – https://i.imgur.com/jqXWXqN.png
3. This can be done using a regenerate plugin that can delete unused thumbnails. A plugin that can be used it’s this one – https://wordpress.org/plugins/regenerate-thumbnails-advanced/
Thank you!
Hi,
I’m in the process of configuring the blocks on my theme but the articles are not displayed on homepage.
However, each article is in the right category but the flex block 2 cannot call up the last articles written. I deleted all the demo articles to be sure but again, the category articles are still not called up on the home page.
Screenshot:
https://postimg.cc/9R7rJjLw
https://postimg.cc/Ff1fkScZ
could you tell me if there is any additional action to take?
So I ended up changing the taxonomy key in ACF from “tdtax_my_taxonomy_name’ to ‘portfolio_category’. That of course broke my site because the relationship Custom Post Type – Custom Taxonomy was cut.
I fixed that by updating the database directly.
update wordpress.wp_term_taxonomy set taxonomy = ‘portfolio_category’ where taxonomy = ‘tdtax_my_taxonomy_name’;
So now when I use the Flex Loop Filter I see http://www.mydomainname.com/?tdb_tax_portfolio_category=something.
Which looks better than before, although still not quite there, I would like to get rid of the tdb_tax prefix altogether.
http://www.mydomainname.com/?tdb_tax_portfolio_category=something (nay)
http://www.mydomainname.com/?portfolio_category=something (yea!)
The issue was actually from my side, there was an issue regarding http and https redirect. It was caused by a misconfiguration setup between the server SSL Certificate and Cloudflare encryption “Flexible” mode.
I fixed it now after I removed the old SSL certificate and used Cloudflare’s Origin Certificate instead and switch Cloudflare’s SSL/TLS encryption mode to Full
When using Flex Loop Filter with Flex Loop Builder, I want to avoid verbose, ugly query parameters as below:
http://www.mydomainname.com/?tdb_tax_tdtax_my_taxonomy_name=something
Instead I would like to see something like:
http://www.mydomainname.com/?mytaxonomyname=something
The problem is I already created and used the custom taxonomy tdtax_my_taxonomy_name following the example of one of the prebuilt websites (my mistake). I am using ACF.
If I change the Taxonomy Key in ACF it will break my site, so that is not an option.
I already set up a permalink rewrite via ACF Advance Settings for the custom taxonomy, so I can go to http://www.mydomainname.com/portfolio/category/something and that works.
The problem is still the Flex Loop Filter and the long, ugly query parameter. I am sure this can be changed with some php magic, but how?
Any help greatly appreciated.
Hello @wordpressive!
Copy and rename the file for Flex Block 4 into the custom plugin. The error is saying that it is unable to find the class td_flex_block_4_custom.
Thank you!
Hello @eman!
We have the Module Views element that can be added to the Module template and used for your custom block on the homepage, for example, with the help of the Flex Block Builder element. Documentation here:
– https://forum.tagdiv.com/modules-builder-newspaper-theme/
– https://forum.tagdiv.com/flex-block-builder-flex-loop-builder/
Thank you!
Hi,
If the provided blocks do not display the featured image like you need, then please create your own module and use that one on flex block builder and flex loop builder. Make sure that this option is enabled on the featured image on your builder module – https://i.imgur.com/ANr3qIf.jpg this will make the image to be display in full size.
Thank you!
I’m trying to get this working, I made a custom plugin following the documentation (https://forum.tagdiv.com/the-plugin-method/)
I copied the code for flex block 4 from td_config_blocks and put it into the plugin
//hook used to add or modify items via Api
add_action( 'tdc_loaded' , function() { //add the api code inside this function
td_api_block::add( 'td_flex_block_4_custom',
array(
'map_in_visual_composer' => false,
'map_in_td_composer' => true,
"name" => 'Flex Block 4 Custom',
"base" => 'td_flex_block_4_custom',
"class" => 'td_flex_block_4',
"controls" => "full",
"category" => 'Blocks',
'tdc_category' => 'Blocks',
'icon' => 'icon-pagebuilder-td_flex_block_4',
'file' => TDC_PATH_LEGACY . '/includes/shortcodes/td_flex_block_4.php',
I copied all the ‘tdc_style_params’ ‘tdc_start_values’ ‘params’ as well but don’t want to paste them here as they are very large.
I changed the parameters that seemed to need changing, by adding _custom ad the end of them. But kept all the code the same.
When I activate my plugin and try to load it in TD Composer it doesn’t load.
tdcJobManager.addJob - Error callback - textStatus: error errorThrown:
js_files_for_wp_admin.min.js?ver=e12b81d6cbdf467845997a891495df2cx:42 jobRequest {shortcode: '[td_flex_block_4_custom modules_category="image" m…xcerpt1="" show_excerpt2="none" hide_audio="yes"]', columns: 2, jobId: 1, postId: '40247', replyHtml: ''}
tdcJobManager.addJob - ERROR: 500 server error
I see in the logs this:
Fatal error: Uncaught Error: Class 'td_flex_block_4_custom' not found
in public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php on line 33
Any help getting this working would be appreciated.
-
This reply was modified 2 years by
wordpressive.
i am not understand this
The shortcode Posts Loop has numbered pagination. Also, this block: https://forum.tagdiv.com/flex-block-builder-flex-loop-builder/
