tagDiv Composer: Flex Block Elements

When you start building a website it’s important to use a structure that is suited for your content with the optimal impact on your visitors. Through this guide, you can learn how to use the theme’s tagDiv Composer Flex Block elements. With the tagDiv Composer plugin open, add a Flex Block on a page.

There’s a total of 5 Flex Block elements you can choose from to create your very own customized blocks. You can alter the size of your thumbnails, the column layout, the number of posts shown and much more. The tagDiv Composer Flex Block elements are versatile and will help you make your site to stand out from the crowd. Why don’t we get into more details?

tagDiv Composer Flex Block Elements

Add a Flex Block to the page just by dragging it onto the row into the preview area. Choose the type of Flex Block you want to use, based on the General style shown by the small thumbnail. Each of the small thumbs offers a general quick look at the style of the block you can create.

The block settings are divided into 5 tabs: General, Filter, Layout, Style, and CSS. However, don’t confuse the Flex Blocks with the Flexible Big Grids as they have a different layout.

1. Pre-Made Style Presets

Before diving into the actual settings, the Flex Blocks have a set of premade styles you can choose under the General tab. Use this option for a quick setup of your Flex block without going in too deep into the block settings.

tagDiv Composer Flex Block Elements

If you do not have the skills or the time to dig deeper into the block customization, this is the perfect tool for a quick and easy setup of your Flex Block element

This section provides a quick panel to set the overall fonts, text alignment, image format, a quick global color accent, the number of columns for your block. You can also choose the actual layout style and select to show or hide individual meta information. The panel shows different options based on the chosen Flex Block.

For a more in-depth look at the settings, there’s a presentation for each section below.

General Settings

The General tab offers broad settings and it’s the same across all of the Flex Blocks. It includes the following:

  • Custom title (optional) – Set a title for this block, if you leave it blank the block does not display any title.
  • Title URL (optional) – Set a custom URL for the block title.
  • Header template – You can choose from one of the 17 available header styles. If you’ve set a title for the block, this changes the style of that section.
  • Title background color (optional) – Choose a custom title background color for this block. The title background color also affects the hover color of the posts displayed as well as the Ajax filter hover color.
  • Title text color (optional) – Choose a custom title text color.
  • Content-Length –  Select the title and excerpt length for each of the modules used on the block.
  • Limit post number – If the field is empty, the limit post number is the number from WordPress Settings > Reading
  • Offset posts – Start the count with an offset. If you have a block that shows five posts before this one, you can make this one start from the 6’th post (by using offset 5)
  • Extra class – This input field can be used to add a specific or unique class for your block which can be used to add additional customizations to the block.

tagDiv Composer Flex Block Elements

2. Filter

The Filter tab is the section where you can choose which content to show for your block.

  • Post ID filter – Use the posts’ ID to filter your block by specific posts. You can get the post ID by accessing WP Admin > Posts section, hover the post title and check the link displayed on the browser left-bottom area. Use the URL to extract the IDs. To exclude posts from a block add a ‘-’ symbol in front of each ID.
  • Category Filter – Choose a specific category for the block from a drop-down menu containing all the existing categories.
  • Multiple categories filter – This option allows you to filter the posts by multiple categories. The procedure is similar to the one used on 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 places the sub-category ID (ex. Daily subcategory id: 342) with a ‘-’ symbol in front. If you decide to use the ‘multiple categories filter,’ the standard Category Filter is ignored.
  • Filter by tag slug – Filter the posts by their tags and enter the tag slugs separated by commas (ex: tag1, tag2, tag3).
  • Multiple authors filter – This allows you to filter the posts by author(s). Enter the author IDs separated by commas (ex: 13,23,18).
  • Post type – Use this filter if you want to display custom post types. Add the name of the post type. This is provided by the plugin used to create the CPT, or by the user if it’s custom-made. Usage: post, page, event – write 1 or more post types delimited by commas.
  • Sort order

    – This option lets you order the posts. Most of these options are self-explanatory, but there are a few options that have requirements:

    • Standard sorting options:
      • Latest posts – It shows articles from newest to oldest.
      • Oldest posts – It is the reverse of the previous sorting option.
      • Alphabetical A > Z – Your articles are sorted by their name in alphabetical order.
      • Random posts – This sorting option brings up posts randomly on each loading of the page. Every time you refresh the page, there are different articles on it. As a note. Do not use this sorting option together with pagination as it could result in duplicate posts.
      • Random posts from the last 7 days – This field brings up random posts based on the ones published in the last 7 days.
    • Sorting options that feature extra requirements:

      • Popular (all time) – this sorting option requires the post views to be active. If views are disabled, this option does not work.
      • Popular (last 7 days) – you have to enable the 7 days post sorting from Theme Panel > Block Settings > 7 Days Post Sorting.
      • Popular (jetpack + stats module required) – does not work with other settings/pagination and it requires Jetpack – Stats Module to be installed.
      • Featured – it displays posts included in the Featured category which is automatically created by the theme. If you delete this category and you want to restore it,  create a new category with the name of ‘Featured’ and a slug ‘featured’.
      • Random posts today – this field requires the post views to be active.
      • Highest rated – requires review posts, to see how you can set a review please check the following guide.
      • Most commented – requires comments to be active on posts. You can enable/disable the comments from Theme Panel > Post Settings > Post and Custom Post Types.

tagDiv Composer Flex Block Elements

Ajax Categories Dropdown:

Filter type – Display a list of Categories, Authors or Tags next to the title. The user is able to see posts filtered on this block, that are dynamically loaded with Ajax without leaving the page. The Ajax filters (except by popularity) require an additional parameter.

  • Show the following IDs – the Ajax drop down shows only the (author ids, categories IDs or tag IDs) that you enter here separated by commas. If no IDs are provided in the input below, the filter shows all the available items (ex: all authors, all categories etc..)
  • Filter drop-down text – lets you choose the name for the first item from the drop-down Ajax list. By default, this is named ‘All.’
  • Content preloading – When the preloading section is active, the theme loads the first page content for each of the Ajax filters at the initial page load.


  • Pagination – You can choose to add pagination to your block.
    • Next Prev ajax – adds two navigation arrows to navigate through posts.
    • Load More button – the “Load more” button appears at the bottom of the Flex Block allowing users to see more posts
    • Infinite Load – automatically loads more posts when the user gets to the end of the Flex Block.
    • Infinite load show ‘Load more’ after x pages –  if you select infinite load you can use this option to make it stop after some pages, the “Load more” button appears at the page bottom allowing users to load more posts. Notice: For the Infinite Load you may need to specify after how many pages a button shows up, otherwise it loads posts until they are finished.

3. Layout

The layout tab is the section allows you to customize your Flex Block’s form. A Flex Block layout can be made out of 1 or 2 modules. You can find settings in this section not only for each Flex Block in particular but for every module used on the particular Flex Block as well.

Individual Flex Blocks have more or less the following options depending on the Flex Block type selected. For the sake of keeping this guide as short as possible, we only mention the most important ones as there are lots of customization options to choose from.

  • Overall layout

This section allows you to choose the number of columns or modules per column your block displays, the spacing (in pixels) between each module, setting margins and padding around your columns and adding a divider between elements.

If the Flex Block you’ve chosen is made out of 2 modules, there is a second layout section for the second module for more in-depth customization of the block.

  • Article image

This section lets you control the thumbnails shown for your content. There are 4 thumbnail sizes for the Flex Block element you can choose in this section appropriately named small, default, large or full.

After you choose the image size, you can also play around with its vertical alignment, image width, and height (in percentage), image position, image radius, or select to hide the image altogether if you choose to.

  • Article meta information

The meta information refers to the post titles, author, date, excerpt and other information about the post shown in a particular block.

You can choose the meta info positioning, alignment, as well as set margins and padding for each of the individual elements such as article title, category tag, author, date, and excerpt. If you want to hide certain elements, you can do it, too.

The author section allows you to use the author image as well as adjust its size.

Flex blocks 1 and 5 can also have a read more button added in this section.

tagDiv Composer Flex Block Elements - Layout Settings

4. Style

The style tab is all about styling the layout allowing you to change fonts and colors for your newly created block element.

  • Block fonts

The top section allows you to change the font size, font family, line height, font weight, letter spacing, and text transform. This section covers the fonts for the Block header, Ajax categories and the load more button.

  • Module fonts

The module fonts section controls the font settings for each module in particular for the article title, the category tags, the meta information, excerpts as well as the read more button if present.

  • Colors

The color settings allow you to change individual colors for each of the layout sections. You can change the text color, background colors, hover colors, as well as adding a shadow effect and shadow offset.

tagDiv Composer Flex Block Elements - Style

5. CSS

The CSS tab refers to the block CSS as a whole and allows you to change it accordingly. This section includes the CSS box model where you can control the margins, padding, and border for the block.

Extra settings include border settings (color, style, radius, and width), shadows (shadow size, color, offset), the block overall background color or image (as well as their position and opacity).

tagDiv Composer Flex Block Elements - CSS

The color overlay feature adds a gradient on top of your block where you can choose multiple colors to add all new creative gradients to take your block style to the next level.

The display option allows you to show or hide a particular block. This is useful if you want to hide a particular block for a specific device using the top device tabs.

tagdiv composer basics devices

Subscribe For More!

If you want to be the first to find out more about our themes
please subscribe to our newsletter

Bogdan B.
Bogdan B.
Passionate for gaming, mountain biking, snowboarding and travelling. I face every task as a new challenge to bring my skills to the next level.

Do you need any help with the Newspaper or Newsmag WordPress Themes? Please send us all the necessary details via email or create a new topic on our online forum. We're always happy to assist you.


  1. Is it possible to not only filter on a (custom post type) but also on a (custom taxonomy)? If that’s not something you can do in the UI, can you give me an example of what needs to get added to the code?

  2. In the future, will other elements besides Flex Boxes have the possibility to set a different layout/hide/display on the base of different devices?
    I am asking because i really like the mobile theme but it is very limited, so i don’t use it.
    But in different devices it does not look that good.
    Please consider one the 2 options.
    Thank you

    • Hi Manuel,

      Thank you for reaching out to us. Can you please be more specific about what exactly are you trying to achieve? Please send all the details into an email at contact@tagdiv.com or open a new topic on forum.tagdiv.com. Unfortunately, the Blog area is not assigned to the Customer Support Center. I’m sorry! Thank you so much for understanding. Stay Safe!

  3. hi, dose newspaper has an audio element and widget ( i mean i need to add track any where in the page or post) in its builder in order to add sound track ? also do I need to add audio player or its included?


    • Hi,

      Thanks for your interest in our theme! Yes, you can use an Audio Post Format which is a default WordPress functionality. Also, the theme has the functionality which allows you to add any SoundCloud link ad featured Audio. Like as an example, please check our demo from here -> https://demo.tagdiv.com/newspaper_podcasts/ You can install it and check how it was created. Unfortunately, this account is not assigned to our support forum and that’s why, if you need more technical assistance, you have to open a new support ticket at our support forum from here -> https://forum.tagdiv.com/forum/newspaper/ where you need to provide more details about your problem and we are ready to help you.

      All the best!

  4. There is imposible add third party shortcodes like autoread wp plugin it add but does not readthe post the bot. It is very funny on a Nice can’t add a simple shortcode

    • Hi,

      If you want to add some plugin shortcodes on the website, please note that you can try to add them inside a text with the title element and check how it goes. Unfortunately, this account is not assigned to our support forum and that’s why, if you need more technical assistance, you have to open a new support ticket at our support forum from here -> https://forum.tagdiv.com/forum/newspaper/ where you need to provide more details about your problem and we are ready to help you.

      All the best!

  5. Hi,

    I’m trying to filter posts from ID, I have typed post ID in post ID filter, but it says there is no post, even ID is right. Kindly help me with this


    • Hi Asaad! Thank you for reaching out to us. As the blog area is not assigned to the Customer Support Department, I kindly suggest you to send an email at and send us more details about this situation. Our support team is ready to answer all your queries and guide you! Thank you for understanding. Have a lovely day :0

  6. Any way I can have the title and picture of article side-by-side then have the excerpt centered to the entire block. Thank you.

    • Hi Giovanni,

      Thank you for reaching out to us. You might have a look on how blocks appear on a page here – https://cloud.tagdiv.com/#/load/Blocks. If you need any help, please do not hesitate to let us know either via forum or by email, as the Blog area is not assigned to the Customer Support Department. We’re looking forward to helping you! Thank you for understanding.


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Check out our latest