- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
- TutorialstagDiv Social Counter Tutorial
Hello @demeter !
If you set the post type like this in a flex block: https://app.screencast.com/Xuk5CzjKGv31C
then it will display the pages from your Dashboard -> Pages. Unfortunately, the pages can’t be filtered.
These settings are available only for cloud templates. Also, you need to duplicate the category template and assign it manually for the category with pages. So, you can have the global one for the category with posts and the duplicated one (different name) assigned to the category with pages.
If you use a cloud/PRO demo, then you should be able to edit the pages with the TagDiv Composer, click on the elements and check the settings from the left side.
Please check out our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
Thank you!
Hello @calw252!
If you use a cloud/PRO demo, then you should be able to edit the pages with the TagDiv Composer, click on the elements and check the settings from the left side.
Please check out our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
If you use default templates, then the settings are in the theme panel.
Make sure the block has no offset: https://forum.tagdiv.com/offset-feature/
More information about flex block settings you can find here: https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hi,
You can use the Flex Block or posts loop and customize it as you want -> https://i.imgur.com/hgP0ZE5.png
Thank you!
Hi,
I love the flex block builder! In order to use it properly, I would like to show certain flex block builder content only to certain wordpress users (I have created them with a user management plugin). How is this possible?
Thanks,
Dimitri
Hello.
I have a problem with the home page of my news portal. Where FLEX BLOCK 2 is pulling the news incorrectly.
I filtered to show all categories and the most recent news. However, news from two months ago is appearing.
Below is a print of the FLEX BLOCK 2 configuration and the way it appears, as well as a print of the most recent news registered.
https://imgur.com/Xezq3F6
https://imgur.com/E3Rp2dU
https://imgur.com/ILGraF3
https://imgur.com/A7yf2v7
Hi,
On that flex block you can check the margin for excerpt from layout tab and set it 0 – https://i.imgur.com/5iX1pMc.png – https://i.imgur.com/YWyOTRs.png you can also check the margin on title – https://i.imgur.com/0fhrVD4.png
Thank you!
Hi,
If you are using flex blocks you have individual options to display/hide the date(https://i.imgur.com/8VVEnM7.png-https://i.imgur.com/MjmoH4S.png), but on standard blocks, like block 21 it will use the theme panel option (the global one), what else can be done is to set an extra class on those blocks were you do not want to have the date and use a css like this one – https://i.imgur.com/zfPwneq.png
.remove-date .td-post-date {
display: none;
}
Css code should be set in the theme panel > custom code > custom css.
Thank you!
Hi,
A workaround is to set the post IDs you want on the block. Unfortunately, you can’t set an ID, and after to display other posts https://forum.tagdiv.com/big-grid-flex-settings/
Thank you!
Hi,
The image is displayed only if you use flex loop filter element and select this -> https://i.imgur.com/NBEANOE.png
Thank you!
Yes that was it, thanks!
Also, when I changed the excerpt length within the theme panel, all of the title lengths changed to that number too. I had to go through the whole site and change each title length manually for all flex blocks and post loops. Just FYI.
Hello,
There is a global option in the theme panel that you enabled – https://i.imgur.com/HPkjkKy.png after you can individually check on flex blocks if the option on that block is enabled or disabled – https://i.imgur.com/BZi7rn4.png
I hope this will help you!
Hello,
You must have the featured image set to display it on the Big Grid Flex 2 https://forum.tagdiv.com/featured-image-or-video/
Thank you!
Hello,
The numbered pagination can be used only on posts loop and posts loop 2 elements, the flex blocks do not have that option.
Thank you!
Hello,
That is the “Posts loop 2” element and it’s a special element for categories, tags, authors… this filters automatically posts on those.
What you need to do is to add the flex block element 1 and adjust the layout to look the same (filter it fi is the case) and after that remove the posts loop elements.
Also, only the posts loop elements have the n numbered pagination option.
Thank you!
Can the number of topics displayed in this “Flex Block 2” be specified? When clicking on the button shown in the image, the topics appear infinitely, and I have searched extensively in its settings but have not found a solution.

How I set featured posts in Big Grid Flex 2?
Salve, sito https://tenacemente.com/
Come faccio a cambiare questo elemento in Flex Block 1? https://imgur.com/a/7QHWc2N
Grazie
Hi,
You need to use the Flex Loop Filters https://i.imgur.com/hEzKseG.png and add there the taxonomies -> https://forum.tagdiv.com/filters-sorting-taxonomies/
Thank you!
Hi,
We have this article made on how to use drag and drop https://tagdiv.com/tagdiv-composer-page-builder-basics/
Also, about the flexibility of the row/column -> https://tagdiv.com/how-to-add-delete-and-duplicate-row-newspaper-theme/
Thank you!
I set teh date to shown on a loop block for category, then i tried the same thing on flex blocks on homepage, but despite in setting is set to shown date and tried different colors, the date is missing.
On source of the page i notice that the div date is there, but is empty, no text in it. Just like the function to get the date modified doesnt work, Any ideas?
Hi,
I have disabbled all plugins but the tagDIV ones, and still have the same issue.
I am afraid I need some help on this. I can provide dev access.
Here is the error that I get in the logs:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php:952
Stack trace:
#0 /wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php(1423): td_data_source::shortcode_to_args(Array, ‘2’, ”)
#1 /wp-content/plugins/td-composer/legacy/common/wp_booster/td_ajax.php(138): td_data_source::get_wp_query(Array, ‘2’, ‘td_flex_block_5’)
#2 /wp-includes/class-wp-hook.php(324): td_ajax::on_ajax_block(Array)
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_td_ajax…’)
#6 {main}
thrown in /wp-content/plugins/td-composer/legacy/common/wp_booster/td_data_source.php on line 952
Hi all, our excerpt length is set to 15 on the homepage flexblock 1. However, the word count seems to change for each post. For example, if you scroll to the 3rd set of posts, the last post shows 27 words.
Also, if you change the word count to 13, then each post is anywhere from 13-27 (all of them vary).
Further, is there a way to change this to character count vs. word count? Some sentences have much shorter or longer words than others, so it can make the flex block look inconsistent and messy.
Thanks!
function display_guest_author_shortcode() {
// Get the current post's ID
global $tdb_state_single;
$post_id = $tdb_state_single->post_id->__invoke();
// Check if the custom field 'guest_author' exists
$guest_author = get_post_meta($post_id, 'guest_author_name', true);
// Display the custom field value if it exists, otherwise show 'Staff'
$author_name = esc_html(!empty($guest_author) ? $guest_author : 'Staff');
$html = '<div class="td_block_wrap tdb_single_author td-pb-border-top td_block_template_1 tdb-post-meta" style="display:inline-block;font-family:Rubik!important;font-size: 13px!important;line-height: 1!important;font-weight: 400!important;text-transform: capitalize!important;padding-right:10px !important;margin-bottom:16px;color:#444;font-family:\'Open Sans\',\'Open Sans Regular\',sans-serif;font-size:11px;font-weight:400;clear:none;vertical-align:middle;line-height:1">
<div class="tdb-block-inner td-fix-index" style="display:flex;align-items:center"><div class="tdb-author-name-wrap" style="display:flex;align-items:baseline"><span class="tdb-author-by" style="margin-right:3px;font-family:Rubik!important;font-size:13px!important;line-height:1!important;font-weight:400!important;text-transform:capitalize!important">By</span> ' . $author_name . '</div></div></div>';
return $html;
}
// Register the shortcode
add_shortcode('display_guest_author_byline', 'display_guest_author_shortcode');
Then we do simple [display_guest_author_byline]
Goal was to replace the Author byline widget with something that will read a custom field (Guest Author) because none of the existing plugins seem to play nice with Newspaper theme. Simply publishing a custom field also didn’t work because we wanted some logic about showing ‘Staff’ when no Guest Author was there.
Hi there. I have the same problem but it doesn’t get fixed with what you suggested because I have no custom CSS in Custom Code section. This problem also occurred to me before!
So I imported this theme called “Black Version Pro,” and customized it. But whenever I used a different header than provided in the template, my logo and page content got hidden behind the header bar (the page started from top and behind the header bar, not from below header).
I tackled it using custom CSS to position the page below the header (I don’t think this was an optimal solution btw). Now I imported a footer and my logo text (not the logo image), goes up into the screen top after scrolling below and back up.
Sample 1: Fresh Page (Not scrolled) = https://ibb.co/T26K3BR
Sample 2: Scrolled down and up = https://ibb.co/XxwpYSS
Sample 3: After unchecking “align-items: flex-start;” = https://ibb.co/DrLxXX0
Is this a problem with headers and footers? Because they aren’t the ones that the template provided?
How can I fix this?
Website Link: https://narutoexplained.com
Hello @Tribun74!
You can use a flex block with this feature enabled: https://app.screencast.com/p09hpiFl0t12d
Thank you!