- NewspaperPosts Loop Element
- NewspaperFlex Block Builder and Flex Loop Builder
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- NewspaperBookmark – Save For Later
- NewspaperModules Builder in Newspaper Theme
- NewspaperFilters and sorting for taxonomies
- NewsmagPage templates
- NewspaperPage templates
- NewspaperSmart Sidebar
- NewspaperChild Theme Support
- ApiAPI – Thumbnail – Introduction
- ApiAPI – Category top section style – Introduction
Hello!
If you want to have the same page as in our demo, then you can access this page, edit with TagDiv Composer plugin and you can add an element there called “Posts Loop”.
For more information about this plugin, please take a look here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
Thank you!
Hello,
As I said above, you can’t filter the block Posts Loop, you can only sort it =>https://www.screencast.com/t/geckLSYd5sa, so if you have set the Posts Loop on the homepage, then will display all post of all categories, if you have set the Posts Loop set on the category template, then will display the posts only from that category.
If you need a block that can filter you can use a flex block.
Thank you!
Can you explain more
The Posts Loop is automatically filtering the posts depending on the cloud template you set (for example on the category page there will be posted posts from that category).
Hello,
The Posts Loops settings are divided into 4 tabs: General, Layout, Style, and CSS. The Posts loop is a special block and doesn’t have filtering options.
The Posts Loop is automatically filtering the posts depending on the cloud template you set (for example on the category page there will be posted posts from that category).
Hope this helps you!
Thank you!
Hello,
We also tested this code, and indeed it does not apply on blocks but only on posts loop. and its behaviour is like a plugin.
The blocks from our theme are custom elements created by our developers and to apply the code from the created plugin new implementations or adjustments are needed depending on how the code should work (a developer is needed), theme support is only for guidance and theme settings.
If you really want to change this you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Hi Support,
I am trying to insert ads on the following areas of the newspaper theme (Health & Fitness – https://demo.tagdiv.com/newspaper_health/):
Above and below the related posts (see screenshot attached). I have attempted to use all loop-single-#.php files nothing is working:
/home/ruralhealthandme/public_html/wp-content/plugins/td-standard-pack/Newspaper/parts/single/loop-single-1.php (all the way up to 10).
Screenshot url: https://drive.google.com/file/d/1QxvaGWyLBhX5OIx0Xi8W2AQDkBaSXarB/view?usp=sharing
Website i am working on (sample page) – https://ruralhealthandmedicalmanual.com/community-surgery-asepsis-sterilization-equipment/community-surgery/how-do-we-give-preventive-surgery-care/
Kindly direct me in terms of what file i should be editing and where exactly in the code
Thanks in advance!
Hello,
To remove the author/date/comments on block 12 you need to go in Theme Panel -> Block Settings -> Meta info on Modules/Blocks => https://www.screencast.com/t/b4kXjK7deT01
The number pagination is only for an element called “Posts Loop” =>https://www.screencast.com/t/n6dOYgT3 and the flex blocks do not have this option.
Hope this helps you!
Thank you!
Hello @Vlad S
I am not php/wp developer, but I think the simplest test would be to do a plugin like this:
/*
Plugin Name: Just a test
Plugin URI: justatest.org
Description: Just a test
Version: 1.0
Author: Just a test
Author URI: justatest.org
License: Just a test
License URI: justatest.org
*/
function return_always_123( $count, $post_id ) {
return 123;
}
add_filter( 'get_comments_number', 'return_always_123' );
?>
Install and activate it.
Now every post (in the_post or the_loop) will have 123 comments, regardless of what is stored in wp tables (so filter is applied).
The posts listed in the block (we have home page parts with the_loop but blocks as well) sections will have whatever-is-real-comments-number (so filter is not applied).
Hello,
If you referring to this ad => https://www.screencast.com/t/PeP1plXC it appears. Also, for the latest articles, I think you use the Page Builder + Latest Articles + Pagination and you can find the settings for posts loop in this guide => https://forum.tagdiv.com/page-templates-2/
Thank you!
Hello!
2. On a category page will display also the posts from subcategories 1,2,3..etc how many posts the category has. On a subcategory however it will display only the posts from that subcategory.
If you want to add an element for example flex block, then you can filter some posts like this:
1. Post ID filter => add posts by IDs
2. Category filter => choose a category from which to display posts
3. Multiple taxonomies filter => choose multiple categories from which to display posts
4. Filter by tag slug => add posts by category name
5. Multiple authors filter => specify ID authors from which to display posts
6. Post Type => specify post type, for example if you have custom posts
7. Sort order => you can choose in which order you want to display posts
3. I just explained you above why that setting is not visible on your website, please read once again.
7. Your correct sidebar is an element called ” Social counter ” , so just edit the wrong page with the wrong sidebar and insert the same element there called ” Social counter “. In the end, you have the same sidebar.
9. I can see in that “Posts loop” element an offset, please delete the value from there and let the field empty.
Thank you!
Hello, I am trying to make a new homepage for my website. In the Lastest Articles tab, I want all the photos to be alligned, but every time the title of the article gets to big, the whole content gets missaligned.
My web page: https://tenews.ro/test-home-desktop/
Hello!
1. Check this documentation: https://forum.tagdiv.com/mega-menu/
It seems that you put the subcategories there and you shouldn’t add the subcategories also because it is taking automatically.
You can not change that order because it is in alphabetically order automatically.
2. In a category page will be displayed also the subcategories of that category. So, you can not display only the posts with that category without also the ones from the subcategories.
3. Edit that post with TagDiv Composer and verify if that element has already a background color for the tag. If there is set up a color, then the changes made in Theme Panel will be overwritten by the settings from TagDiv Composer.
4. In our theme we have a setting when you edit the post template with TagDiv Composer. You need to disable that setting like this: https://www.screencast.com/t/JaSHpq10Y
5. Please try to insert another video and check if the problem is still there because it could be from the video provider.
You can resize that element from the CSS tab, but maybe on other devices it will not look good.
6. Try to see if you can find those by accessing Newspaper -> Theme panel -> Translations -> Translations. There you can find a list with some words that you can translate in the right side of every words.
7. Edit that page with TagDiv Composer, click on the element and there you can choose which style you want to display from the element’s settings.
8. Posts loop is an element which can be added with TagDiv Composer and it is similar with flex blocks: https://forum.tagdiv.com/flex-block-settings-guide/
Also, if you have the latest update and you add this element, then you should be able to see some help if you just hover over the element’s settings.
Hope that helps you!
Thank you!
site: https://politik-kanal.at
1) MEGAMENU PROBLEM:
The menu is “blocked” by one subcategory named “GRÜNE” as you can see at the screenshots.
you can see this problem occur on the homepage at https://politik-kanal.at
MegaMenu problem: https://prnt.sc/119jw17
Category settings: https://prnt.sc/119jwp3
Menu settings 1: https://prnt.sc/119jxjf
Menu settings 2: https://prnt.sc/119jy70
QUESTION #1: How can i remove and get rid of the “GRÜNE” centered directly below the MegaMenu?
QUESTION #2: The order of the MegaMenu SubItems is not like i have ordered them in the WordPress Menu Backend. How can i make sure that the order of the Menu items is exactly like i ordered them in the WordPress menu?
2) CATEGORY PROBLEM #1:
When i am using cloud category template and i click on a category item then all categories show up instead of only posts of the selected category.
you can see this problem occur for example on this site: https://politik-kanal.at/thema/partei/gruene/
Category problem: https://prnt.sc/119kaul
Category settings: https://prnt.sc/119k9hn
QUESTION 1: how can i only show posts of the selected category ?
3) CATEGORY PROBLEM #2:
When i am inserting a special category tag color for all of my categories then they should appear on the post-page.
Category color problem: https://prnt.sc/119kfh5
Category color settings: https://prnt.sc/119kem3
QUESTION: Where can i find the color on the post page? I can not see any impact of this color-setting?
4) INFINITE SCROLLING PROBLEM:
When i am viewing a single-post and i am scrolling until the end of the single-post then below the comment section starts a new post.
Infinite posts problem: https://prnt.sc/119kgh6
QUESTION: How can i show only 1 single post per page?
5) VIDEO SIZE PROBLEM:
I have inserted a video via the tagdiv video-embed function.
Video size problem: https://prnt.sc/119l77x
Video settings: https://prnt.sc/119l8nu
QUESTION: How can i resize the video to fit into the page?
6) WRONG TRANSLATION:
When i am using the “Default” settings of the Social Followers on the homepage, then there is a wrong translation (Nachfolger instead of Follower).
Follower problem: https://prnt.sc/119mpcb
QUESTION: Where can i change the settings to correct german/desired language?
7) SIDEBAR PROBLEM:
I have changed the sidebar content on the homepage. When i am going to any other page like single-post page then there is a completely different sidebar on each page.
Correct Sidebar on homepage: https://prnt.sc/119mrpv
Different Sidebar on posts and pages: https://prnt.sc/119msb4
QUESTION: How can i use the same sidebar which is visible on all pages?
8) Is there any explanation / documentation about the “post-loop” content? How do i use this useful content wisely?
Thanks for detailed help!
Hello,
Unfortunately, only the Posts Loop has the option for numbered page and the flex blocks do not have this option.
You can use the Posts Loop for the latest articles => https://www.screencast.com/t/vHyY6KN3qQ7R
Hope this helps you!
Thank you!
Hello!
Please edit the page with TagDiv Composer, click on the element with 5 posts called “Posts Loop” and verify once again if you don’t have an offset, and let the field empty.
Let us know about your results!
Thank you!
Below are the errors and the files they occur in.
These errors only show on pages where a post loop is added to the design, but there are no posts to show, like empty category pages and the search page when there are no search results.
Once there is a post loop without posts, the design of the header template breaks (only cloud template, not default header presets).
If there are posts to show, no errors occur and the header looks normal.
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/includes/tdc_composer_block.php on line 202
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/includes/tdc_composer_block.php on line 202
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/includes/tdc_composer_block.php on line 202
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_raw_css.php on line 38
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php on line 1554
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php on line 1554
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/includes/tdc_composer_block.php on line 202
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/includes/tdc_composer_block.php on line 202
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php on line 1554
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/includes/tdc_composer_block.php on line 202
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php on line 1554
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php on line 1554
Notice: Trying to get property ‘ID’ of non-object in /home/public/sites/www.simstripes.com/wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php on line 1554
Hi,
Since the latest update I noticed that my header/navigation template breaks when I want to view a page with a post loop when there are no posts in the loop.
It gives a few errors starting with Trying to get property ‘ID’ of non-object followed by a file and a line number.
I already tried deactivating all plugins, expect for the necessary ones to show the page design, but without effect.
What is causing this issue?
Hi,
The Flex Block settings are divided into 5 tabs: General, Filter, Layout, Style, and CSS. However.
The Posts Loops settings are divided into 4 tabs: General, Layout, Style, and CSS. The Posts loop is a special block and doesn’t have filtering options.
Also, one of the options for pagination of the Posts Loop has the option for normal numbered and the flex blocks do not have this option.
The Posts Loop is automatically filtering the posts depending on the cloud template you set (for example on the category page there will be posted posts from that category).
Thank you!
I am in the process of redoing our website and I have created a test site at I cannot seem to locate a place to ask this question, but I am using the newspaper theme and I cannot seem to find out:
what is the difference between a posts loop and a Flex Block. |
How does posts loop import the posts to the page?
Not sure if their is one better then another?
If you use flex block can you add side widgets like you seem to be able to do with posts loop?
I have a page using both
https://ticotimes.5e.cr/categories/travel-news/costa-rica-travel
The flex block is on top and the posts loop at the bottom.
Hi Anamaria,
I already set the Grids to have 6 posts and added the mobile ads to the loops ad setting for the Latest Articles.
The question I’m asking is that how can I insert the ads between the 6 posts from the Grids? I want to display the ad like Grid 1, 2, 3, Ads, 4, 5, 6.
Hello,
If you referring to this grid, you set only a maximum of 6 posts to be displayed => https://www.screencast.com/t/5I53EgiIMtIU -> https://www.screencast.com/t/SA7Gwav7Q
but for posts loop (Latest Articles) you can add the ad in Mobile ads -> General ADS => https://www.screencast.com/t/LOw6fcmF6k
Hope this helps you!
Thank you!
Hi,
In the mobile theme setting I set the Grids to have 10 posts, how do you add an ad between them right after the 5th post?
I use the Loop Ad to display the ad between the Latest Article section which is perfect.
Hello!
Please provide me a screenshot with those settings you applied for that Posts Loop element in order to help you.
Thank you!
I changed my layout for my site to Category Template – Magazine PRO
My problem is that only one of the categories are showing on my page.
The rest shows nothing in the frontend – In the backend in TagDiv composer I see “No posts” under “Posts Loop”.
There seem to be no filter option.