- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperFlex Block Settings Guide
- NewspaperBig Grid Flex Settings
- NewspaperSingle Post Excerpt
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperSearch setup for custom post type
- NewspaperBookmark – Save For Later
- NewspaperModules Builder in Newspaper Theme
- NewspaperFilters and sorting for taxonomies
- NewspaperHow to insert a block inside the content of a post
- NewspaperCustom Post Type Support
- NewspaperMeta Info on Modules and Blocks
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewsmagSocial counter styles on Newsmag
- NewspaperSocial Counter Styles on Newspaper
- TutorialsOffset Feature
- NewspaperCloudflare (CDN)
Hello @kwita !
No, because that element has no filter feature. You can filter the posts by using a flex block instead: https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hello,
Using Flex Blocks or Big Grid Flex blocks you can’t do it.
You can use only the element for images or a plugin to do it.
Thank you for your understanding!
Hi,
You can try to use Flex Block 1 -> https://i.imgur.com/NYEtlDG.jpg The elements that you tried don’t show posts.
Thank you!
Hi,
You can enable it from here https://i.imgur.com/nkKTnrK.png or you can use on a page the flex block and sort it -> https://i.imgur.com/5ubE5HL.png
Thank you!
Hello,
Each thumb that you have enabled, will create a copy of that images. II recommended using the Flex blocks, instead of blocks 1-25; those are from the tagDiv standard pack and can’t be customized as a Flex Block; this plugin loads all the styles even if it is not used;
So, our theme make thumbs which are enabled in Theme Panel -> Block Settings => https://www.screencast.com/t/ZvDvpiBFKY3 -> https://forum.tagdiv.com/theme-thumbs/
Also, WordPress creates thumbs => https://www.screencast.com/t/AMVBOZWto
Our suggestion is to take a look at what blocks you use and make sure that the thumbs are active only for that=> https://forum.tagdiv.com/theme-thumbs/
Thank you!
Hello,
For the tag template, if you have set a posts loop then will display all posts in this tag or you can use Flex Block/Big Grid Flex and set the filter to “Tag -Current tag ” => https://i.imgur.com/1xEPyYd.png and this is why the block will display posts for each tag. So, please check the settings.
Thank you!
Hi Anamaria. Sorry that I haven’t replied sooner … not sure why I’m not getting email updates on this thread, but I’ll look into that. 🙂
Here is the code … thanks again for the help!
[td_flex_block_1 modules_on_row="" limit="1" hide_audio="yes" category_id="1362" image_floated="eyJhbGwiOiJmbG9hdF9yaWdodCIsInBvcnRyYWl0IjoiaGlkZGVuIiwicGhvbmUiOiJoaWRkZW4iLCJsYW5kc2NhcGUiOiJmbG9hdF9yaWdodCJ9" custom_title="LBM Resources" block_template_id="td_block_template_2" tdc_css="eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJib3JkZXItcmlnaHQtd2lkdGgiOiIxIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjEiLCJib3JkZXItbGVmdC13aWR0aCI6IjEiLCJwYWRkaW5nLXRvcCI6IjEwIiwicGFkZGluZy1yaWdodCI6IjIwIiwicGFkZGluZy1ib3R0b20iOiIyMCIsInBhZGRpbmctbGVmdCI6IjIwIiwiYm9yZGVyLWNvbG9yIjoiI2NjY2NjYyIsImJvcmRlci1yYWRpdXMiOiI0IiwiYmFja2dyb3VuZC1jb2xvciI6IiNmZmZmZmYiLCJkaXNwbGF5IjoiIn19" title_tag="div" mc1_title_tag="p" f_header_font_family="948" f_header_font_size="13" f_header_font_spacing="-0.2" f_header_font_transform="none" header_text_color="#777777" modules_gap="0" all_modules_space="0" video_popup="" autoplay_vid="" show_author="none" show_cat="none" show_date="none" show_com="none" show_review="none" show_audio="none" meta_padding="0" f_title_font_family="948" f_title_font_size="21" f_title_font_weight="700" f_title_font_line_height="1.3" f_title_font_spacing="-.2" f_ex_font_family="948" ex_txt="#000000" title_txt="#000000" title_txt_hover="var(--chained-news-blue)" f_meta_font_weight="" f_ex_font_weight="300" f_ex_font_size="15" f_btn_font_family="948" f_btn_font_size="13" f_btn_font_weight="600" btn_bg_hover="var(--chained-news-blue)" btn_bg="var(--chained-news-separator)" sort="random_posts" f_ex_font_spacing="-.2" m_padding="0 10px 0 0" image_width="25" btn_radius="4"]
Hello Team,
Now i use big grid flex 1 to show 4 images at the same row, works fine and it keeps the aspect ratio of the image without cropping.
The problem with big grid flex 1 or any other block is making my LCP (large Content Paint ) very high ( 3 seconds), this is because of the code base of the block ( specially the <span> tag ).
Now i tried different elements like image box, single image, title over image and so on, the lcp is 580ms but the problem is non of them maintained the aspect ratio of the image meaning the images are cropped when i tried to resize using chrome dev tool.
Please advise.
Thank you
Can you tell how I can temporarily disable a (flex)block?
Would be a great functionality to (de)activate now and then to create even a more dynamic page layout.
Thnx, Jos
Hello,
Yes, you can change the layout of the row -> https://i.imgur.com/1fojOVF.png
-> https://tagdiv.com/flexibility-rows-columns-newspaper-theme/
-> https://tagdiv.com/how-to-add-delete-and-duplicate-row-newspaper-theme/
Thank you!
Hello Bettina,
Your solution did not work. Using my browser’s inspector, I can get a class (something like tdi_148) from a page and assign “display: none;” to it. But on another page this class will be different. So I will have to manually add more and more classes for every single page. Moreover, I may have several “Related article” blocks in one post.
Finally, I created my own classes and assigned them to each shortcoded element using the field Extra Class in TD composer:
@media (max-width: 767px){
.my-custom-hidden-mobile {
display: none;
}
}
@media (min-width: 768px){
.my-custom-visible-mobile {
display: none;
}
}
Now it works as expected. I get shortcode of the flex block and I insert it in many various posts on my site. They are properly hidden on mobile screens (or visible on bigger screens only).
-
This reply was modified 3 years by
Sergey.
Hi
yes I used mobile theme with amp
SETTING
Salta al contenuto principaleVai alla barra degli strumenti
Informazioni su WordPress
Sicilia Report
00 commenti in moderazione
Nuovo
SEO
Theme support
WP Rocket
Bespoke Web Development & Design Services
Take your website to the next level with web solutions designed for you!
Get free quote
Impostazioni AMP
AMP Settings Configured
The AMP configuration wizard helps you choose the best configuration settings for your site. Reopen Wizard.
Site Scan
The site has not been scanned yet. Scan your site to ensure everything is working properly.
Scan Site
Review
Your site is ready to bring great experiences to your users!
In Transitional mode AMP and non-AMP versions of your site are served using your currently active theme.
Browse your site below to ensure it meets your expectations, and toggle the AMP setting to compare both versions.
Need help?
Reach out in the support forums
Try a different template mode
Learn more how the AMP plugin works
Browse Site
Dismiss
Template Mode
Transitional
Transitional
Advanced Settings
Modelli supportati
Tipi di contenuti
Content types enabled for AMP:
Articoli
Template
Serve all templates as AMP
Limit AMP on a subset of the WordPress Template Hierarchy:
Singolare
Plugin Suppression
When a plugin adds markup that is not allowed in AMP you may let the AMP plugin remove it, or you may suppress the plugin from running on AMP pages. The following list includes all active plugins on your site, with any of those detected to be generating invalid AMP markup appearing first.
Stato Plugin Dettagli
Plugin status:
Active Ad Inserter Pro No validation errors yet detected.
Plugin status:
Active Advanced Database Cleaner PRO No validation errors yet detected.
Plugin status:
Active Advanced Editor Tools No validation errors yet detected.
Plugin status:
Active Classic Editor No validation errors yet detected.
Plugin status:
Active Featured Image from URL (FIFU) No validation errors yet detected.
Plugin status:
Active Imagify No validation errors yet detected.
Plugin status:
Active Resize Image After Upload No validation errors yet detected.
Plugin status:
Active Site Kit by Google No validation errors yet detected.
Plugin status:
Active tagDiv Cloud Library No validation errors yet detected.
Plugin status:
Suppressed tagDiv Composer Since 16 April 2023. Done by Redazione CT.
Plugin status:
Active tagDiv Mobile Theme No validation errors yet detected.
Plugin status:
Active tagDiv Newsletter No validation errors yet detected.
Plugin status:
Active tagDiv Social Counter No validation errors yet detected.
Plugin status:
Active tagDiv Standard Pack No validation errors yet detected.
Plugin status:
Active Videojs HTML5 Player No validation errors yet detected.
Plugin status:
Active Wordfence Login Security No validation errors yet detected.
Plugin status:
Active Wordfence Security No validation errors yet detected.
Plugin status:
Active WPeMatico No validation errors yet detected.
Plugin status:
Active WP Rocket No validation errors yet detected.
Plugin status:
Active WP User Avatars No validation errors yet detected.
Plugin status:
Active Yoast SEO No validation errors yet detected.
Analytics
Scopri ulteriori informazioni sull’analisi per AMP.
Analytics Configuration #1
Tipo:
Vendor or blank
CONFIGURAZIONE JSON:
}
}
Remove entry
Add entry
Sandboxing (Experimental)
Try out a more flexible AMP by generating pages that use AMP components without requiring AMP validity! By selecting a sandboxing level, you are indicating the minimum degree of sanitization. For example, if you selected the loose level but have a page without any POST form and no custom scripts, it will still be served as valid AMP—the same as if you had selected the strict level.
Enable sandboxing experiment
Paired URL Structure
When using the Transitional or Reader template modes, your site is in a “Paired AMP” configuration. Your site’s canonical URLs are non-AMP, and the separate AMP versions of your pages have AMP-specific URLs. The structure of a paired AMP URL is not important, whether using a query parameter or path suffix. The use of a query parameter is the most compatible across various sites and it has the benefit of not resulting in a 404 if the AMP plugin is deactivated. Note: Changing the paired URL structure can cause AMP pages to temporarily disappear from search results until your site is re-indexed. If you’re migrating from another AMP plugin with a different paired URL structure, then you may want to change this setting. Otherwise we recommend leaving it as is. Learn more
There are one or more entities that are already using the “amp” URL slug. For this reason, you cannot currently use the path suffix or legacy reader paired URL structures. See below for the source of the slug conflict(s):
Tag: AMP (ID: 9265)
Query parameter: ?amp=1 (default)
Path suffix: /amp/ (unavailable due to slug conflict per above)
Legacy transitional: ?amp
Legacy reader: /amp/ & ?amp (unavailable due to slug conflict per above)
Altro
Redirect mobile visitors to AMP
Enable Developer Tools
Enable AMP developer tools to surface validation errors when editing posts and viewing the site.
This is a per-user setting. It presumes you have some experience coding with HTML, CSS, JS, and PHP. Once enabled you will have access to Validated URLs and Error Index in the admin menu, the Validate URL item in the admin bar, and the AMP Validation sidebar in the editor.
Use native HTML image tag
The native HTML can now be used instead of the AMP-specific <amp-img> tag. AMP no longer requires the latter because lazy-loading is now a feature of the Web platform. Using native images can further improve page performance, although not all AMP components have been updated to work with them (see example). If you have CSS that is specifically targeting <amp-img> tags, you will need to update them to target
instead (which can be done by default since such tags are automatically rewritten in CSS selectors when conversions are done).
Delete plugin data at uninstall
When you uninstall the plugin you have the choice of whether its data should also be deleted. Examples of plugin data include the settings, validated URLs, and transients used to store image dimensions and parsed stylesheets.
Salva
Grazie per aver creato con WordPress.Versione 6.2
-
This reply was modified 3 years by
zarbos.
Hello,
We celebrated Easter, and the support time was reduced these days.
Can you please provide a link to your website? If you have header/footer from Theme Panel, you can find cloud templates like that in the cloud library -> https://cloud.tagdiv.com/#/load/All
For the homepage, if you use flex blocks, it is ok, but if you have blocks 1-25, then please change them to flex Blocks.
Also, do you want to migrate the website or only change to using cloud templates?
Thank you!
Hello,
I recommended using the Flex blocks, instead of blocks 1-25; those are from the tagDiv standard pack and can’t be customized as a Flex Block; this plugin loads all the styles even if it is not used;
After you can change the style as you want -> https://i.imgur.com/Chwj6S8.png -> https://i.imgur.com/KiSW2sY.jpg
Thank you!
Hi,
What I recommend in this situation is to set a class on that flex block – https://i.imgur.com/vyDez23.png and use a css to hide the featured image only for mobile. By doing this, there is no need to set that block twice and increase the size of the page.
Thank you!
Website: https://www.angelipress.com/
I placed 2 different flex blocks on the home page. In one all articles of 1 specific category must appear (IN EVIDENZA). In the other (ARTICOLI POPOLARI) all the latest articles.
The display is not correct in Flex Block no.3. I set a specific category and order “latest”, but the latest article does not appear in the large box. Not the last, but the penultimate appears. Instead, it appears in the Flex Box next to it, set to “all category” order “latest”.
Hello,
I recommend changing the block with Big Grid Flex and after you will be able to change the image size https://i.imgur.com/kRGfpGn.jpg
For the posts loop, please edit the page set the page template to default and after you can add the Posts Loop block in the page -> https://www.screencast.com/t/3jyBPefS0m8u
Thank you!
Hello,
A solution could be to use the unique article option, follow this guide: https://forum.tagdiv.com/unique-articles/
This option automatically removes duplicate posts from the page.
You can change the titles and filters on the blocks with tagdiv Composer, please check this guide -> https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hello,
I checked the website and I believe that the images look like this after the optimizations that have been done for the images to be loaded faster. When you are logged in, the images are looking ok?
What else I can recommend is to change the grid with a flex grid on which you can set the thumb you want to use.
Thank you!
Hello,
The Flex Blocks are from 1 to 5 and X, you are using standard blocks. I recommend using Flex Blocks instead of blocks 1-25; those are from the tagdiv standard pack and can’t be customized as a Flex Block.
Thank you!
Just updated to 12.3.1, and Flex Block 7 and 14 are gone…The options left don’t do what I want them to do. Why is it that they were removed?
We’re finishing up the home page and are using the Flex Block 1.
In the “layout”, in “modules per row” we are setting the number of horizontal modules for each viewport.
Example:
Desktop: 4 modules per row [] [] [] []
Horizontal: 3 modules per row [] [] []
Vertical: 2 modules per row [] []
Mobile: 1 module per row []
How do we limit the amount of articles shown per viewport?
Currently it is set to show 4 so it fills up well on the desktop viewport as it’s big and wide.
On Horizontal it also shows 4: 3 on the same row + 1 on the next row, which isn’t what we want.
Instead we only want to show 3 there.
On Vertical it shows 4 (2 rows of 2) which is OK, but we’d rather have it just 2 here.
On Mobile it shows 4 (4 rows of 1), which is way too much for such a small format with 6 main categories.
We’d just like to show only 2.
How do we do this?
Hello,
I have created a shortcoded block that I want to insert into posts in various places. The shortcode is referring to a flex block with related article(s). And I want the flex block to show image on desktop and tablets only. But I want the image to be hidden on mobile.
When I edit a page, I can do it by duplicating blocks and adjusting their visibility on mobile/desktop so that one row/element is only shown on mobile, while the other row/element is only shown on desktop.
However, in case of a shortcode inserted in a post, it does not work because both elements are shown (both original for desktop and duplicate for mobile). It looks like the display show/hide information is encoded into the row rather than into the flex block element.
So, my question is how can I create different elements for desktop/mobile inside the post?
Is there any slug I can add to the shortcoded string to show/hide it on desktop/mobile?
Is there any way I can hide/show image for desktop/mobile within one block (without block duplication)?
Below is my shortcode to be inserted into posts:
[td_flex_block_1 modules_on_row="" limit="1" hide_audio="yes" columns="25%" image_floated="float_left" image_size="td_1068x0" custom_title="Related Article" block_template_id="" post_ids="99" modules_extra_cat="" show_author="none" show_date="none" image_width="30" meta_info_align="" meta_info_horiz="content-horiz-left" meta_padding="0px 0px 20px 15px" modules_category="" show_review="none" excerpt_col="" btn_title="Read" mc1_el="45" show_btn="none" mix_type_h="" fe_saturate_h="1.5" mix_type=""]
[td_flex_block_1 modules_on_row="" limit="1" hide_audio="yes" columns="25%" image_floated="eyJhbGwiOiJmbG9hdF9sZWZ0IiwicGhvbmUiOiJub19mbG9hdCJ9" image_size="td_1068x0" custom_title="Related Article" block_template_id="" post_ids="99" modules_extra_cat="" show_author="none" show_date="none" image_width="eyJhbGwiOiIzMCIsInBob25lIjoiMTAwIn0=" meta_info_align="" meta_info_horiz="content-horiz-left" meta_padding="eyJhbGwiOiIwcHggMHB4IDIwcHggMTVweCIsInBob25lIjoiMHB4IDBweCAyMHB4IDBweCJ9" modules_category="" show_review="none" excerpt_col="" btn_title="Read" show_btn="none" mix_type_h="" fe_saturate_h="1.5" mix_type="" tdc_css="eyJhbGwiOnsiZGlzcGxheSI6IiJ9fQ==" show_cat="eyJwaG9uZSI6Im5vbmUifQ==" show_com="eyJwaG9uZSI6Im5vbmUifQ==" mc1_el="25"]
Hi,
How to hide big grid flex 4 on the article page?
Please check:https://prnt.sc/relB7DWkISZc
Thanks.
Thank you, Anamaria ! I found Blocks but I follow your advice to use the Flex Blocks ! Have a nice day !