Hello,
I would like to show a message like, “This category has no posts” when a user lands on a category page that has no posts.
I am using the Posts Loop element. When the Posts Loop has no posts, how can I display a message to the user to let them know there are no posts rather than have a blank page?
Thank you.
Hello,
Please let me know how you added the code for ads. Did you use the ad box element or did you add it to the posts loop element?
If the AdSense code needs to be set between head tags, this can be set in our theme in Theme Panel -> Analytics/Js Codes. Example: https://prnt.sc/1tju9qf -> https://prnt.sc/10jk7fq, the code needs to be set only once per page -> https://www.wpbeginner.com/beginners-guide/how-to-add-google-adsense-to-your-wordpress-site/
Using auto ads those will be automatically placed where they fit correctly => https://i.imgur.com/qX36kT0.png
Thank you!
Hello!
Please access the search page template and edit it with the TagDiv Composer, click on the posts and check the posts loop element settings.
Let me know the results!
Thank you!
Hello, I have the same issue.
WordPress 5.9.3
Newspaper 11.4.3
Cool Tag Cloud 2.27
tagDiv Cloud Library 2.2
tagDiv Composer 3.3
tagDiv Social Counter 5
tagDiv Standard Pack 1.4
This is not the issue with the SEO plugin.
The problem is there even when I deactivate the SEO plugin (in my case All in One SEO v.4.2.0). Also I tested with the Yoast SEO (v.18.8) and the problem remains. The canonical tag on Homepage remains.
The issue only happens with certain settings:
- 1. The option in Setting » Reading is set to Static Page (and a page is selected)
- 2. On that page is used the option Pagination – Normal numbered (with Posts Loop element)
This doesn’t happen on Category/Tag pages where there is also pagination. On those pages there is no canonical tag.
Please, give advice on how to remove the canonical tag from the Homepage, without the need to – disable pagination, use modules, or change the theme. Thank you.
-
This reply was modified 4 years by
superh. Reason: added info for testing the issue with yoast plugin
The new updates are hugely buggy. I had to downgrade from 11.4.3 to 11.4.2 because the menus on desktop were inaccessible. Update to this: the menus are inaccessible on 11.4.2 when logged in.
After downgrading, I can no longer access the admin panel from the homepage when logged in because if the location of the little buttons to create a mobile page and to ‘load templates’.
The recent update (maybe to 11.2 or so) broke the formatting for the posts loop of latest posts. The photos disappeared, and now it’s only 1 column even though 2 columns is set in the options. This issue is weird because it looks fine in TD Composer, but doesn’t work when it renders the page.
When can we expect the bugs to be taken care of?
Hello,
You can use the Flex Block 1 and you can filter it to display the posts only from a category -> https://i.imgur.com/Nnt3zGX.png
The Posts Loops settings are divided into 5 tabs: General, Layout, Style, ADS 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!
The theme is now upgraded but i have a new problem with the number of articles.
The website show 12 articles and no more. In fact if i put the pagination to “load more” it show always the same articles even after loading. How to fix that ?
I’m using the tagDiv composer, the posts loop 2, extra setting :
Limit post number 0
Offset 0
Exclude post ids none
sort order latest
post type none
Pagination load more button
Hi,
I am using the Post Loops 2 to bring in posts I have created, but it is bringing in all posts / categories, and I want to restrict to only 1 category.
However in the ‘Extra’ section it only offers me ‘Post Type’, and not a category selection.
How do I choose just one category?
Thank you!
Hello,
I saw you use a default category template, then the number of posts from the loop can be changed only global from here -> https://i.imgur.com/haLY6eE.png
Hope this will help you!
Thank you!
Hello,
You can use an author template where you can have the author elements -> https://i.imgur.com/WePLWVF.png also, you can use a Flex bock and filter it to display the author posts -> https://i.imgur.com/7cOJGUa.png or a posts loop block, this is automatically filer.
Also, to display the other authors you can use the element authors box -> https://i.imgur.com/CSLP5Hx.png
Thank you!
when i try to edit cloud templates> page templates> my home page templates > with TD composer,
i add “News ticker” at below the header menu, and it’s suppose to slide the one by one, every head line of the post in a single box but suddenly it’s not working properly!
same as other column option like Big Grid Flex 1 & Posts Loop 2.
it’s works properly in edit section but it’s not working in the website view.
my website link given below.
https://news-bharat.in/
1. You need to enable the excerpt on the posts loop -> https://i.imgur.com/xyAVdqp.png for this you need to use the tagDiv Composer, edit the page, select the posts loop and search for “excerpt”.
How this text will get visible as bold
I have one parent Category ‘Servizzi’, which has two under categories ‘Summit’ and ‘Dribbling’. A user with a membership to ‘Summit’ should be able to see in the list/loop only articles belonging to cat Summit, same with a user with membership Dribbling, only articles from cat Dribbling.
A user with both memberships ‘Summit’ and ‘Dribbling’ should see articles from both.
The change i am looking to make is in the listing of posts. Someone with no access should not be able to view it even listed.
So which file is responsible for editing the post loop of this category template?
Hi,
1. You need to enable the excerpt on the posts loop -> https://i.imgur.com/xyAVdqp.png for this you need to use the tagDiv Composer, edit the page, select the posts loop and search for “excerpt”.
2. The Page 1 of 2 are part from pagination, so if you want to change the pagination, then you can do it from here -> https://i.imgur.com/zYiWvtR.png if you want to remove only that text, then please use this custom css:
.tdb_loop .page-nav .pages {
display: none;
}
Please set the code in the theme panel > custom code> custom css.
Thank you!
Hi Newspaper,
1) I am using the posts loop to display my article 2 in a row and on my right side I add a sidebar for recent post
but my article shows only post images and titles how I will display below title small text or small paragraphs.
2) in the posts loop I want to hide this message Page 1 of 2 only shows the button
Please help on this issue.
Hello!
I’m sorry, but there is no option for the posts loop element.
For customization and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
I have imported a category template and assigned it to a specific category of my website. Now i need to custom edit programmatically this template. I need to add a woocommerce conditional check on the logic of how a user can see a post (wc_memberships_user_can( $user_id, $action, $target, $when = ” ))
Anyway for this, i need to find the file responsible for it, so maybe i add it before the posts loop?
P.S I am asking for this site, https://opzionaria.ch/ with license ending in ….57648d94569e . i haven’t yet created a support account though. Is there a way i can add multiple licenses to one support account. I have bought like 5 licenses and find it hard to manage each with different support account.Thanks
Hi,
If I’m right, that it is a category page. In order to display only posts from that category, you need to use a specific filter, the current category filter, edit the cloud category template with tagDiv Composer -> https://i.imgur.com/q3Ke1bp.png -> https://i.imgur.com/dYQ4iDu.png also it can be use the posts loop element.
Thank you!
MORE TAG
This tag:
<!–more–>
The most theme (excerpts) show only content before this tag.
CONTENT in the loop
You can not place the content in the posts loop element( with paragraphs,etc).
Is this intentional? I have encountered such a solution elsewhere.
UNIQE CLASS to the post / category in the loop
Please note that this will require custom work which is not covered by the support team.
I have options for this, but could you make an offer?
-
This reply was modified 4 years by
topperharley.
Hello!
Please provide more information about what you need to achieve with MORE TAG, I didn’t understood well.
You can not place the content in the posts loop element( with paragraphs,etc).
Please note that this will require custom work which is not covered by the support team.
Thank you!
Hi, I need to add a div tag and some javascript to the single post template, so that it loads on all single posts. Can I do it without creating a Child theme? In this case, how should I do it?
I have tried to modify the loop-single.php file to see if it works correctly, but the changes are not showing.
Thanks in advance.
Hi Bettina,
thank you for your reply. This works for most shortcodes. Unfortunately it does not work for my dynamic content. It is a shortcode for a POD Template. I can add the shortcode in a post with Gutenberg but it does not work in the Composer.
I can even insert the CPT directly when I select the post type in Posts Loop. This would be an option if I could filter and format the output. Unfortunately I have not found a way to just show the post content. The data I need is for future events (six events from now on). An event only has a date, a title and a link. I need a formatted list of this simple data, filtered to current date, no image and not the unformated excerpt.
Thank you!
Posts Loop Element Latest Articles not working properly.it not showing the latest news in mobile site but in pc site its working properly.
Hi,
We recently went live with newspaper theme and I have questions regarding some issues and errors
1- There’s an error with font “Almendra display” Please debug and provide information “JA – Category Opiniao” ‹ Jornal do Algarve — WordPress
2- Video Popup and autoplay is enabled at tagdivcomposer but it’s not working. Why?
3- We noticed that mobile pages are extremely slow. Could you take a look and give us some feedback? How can we improve loading time on that page? To improve performance what’s the recommended option for “Content Preloading”?
4- Is it possible to change and customize video play button? We’d like to Turn it square and determine position over image (Bottom left or right, Top lef right?
5- How can we set a block to display exclusive articles but not only the exclusive ones? In our news site, any category can have exclusive posts and for that reason, I need to determine if an article will display exclusive label when that post is being published and edited. At post level and not at block level. We don’t want to group exclusive content into a spcific block but rather serve the, cronologicaly, through different blocks. How can we achive that?
5- We need to avoid the repetition of Featured articles on other blocks (homepage). How can we achieve that?
We’ve set the first block on our homepage to display only featured articles but there’s a problem. Those articles are always classifed as featured plus another category, for obvious reasons. We can’t find, in tagdiv composer, an option to avoid the repetition of an article at different blocks and that is a problem. If I use filtering options to exclude feature category from other blocks (avoiding the repetition on that article) they won’t be shown anywhere in the homepage. Using offset posts to avoid the repetition of feature article won’t work either because featured article It’s not the last post published. The only viable solution is to have, like other themes do, an option to avoid the repetition os posts from the different blocks that compose the homepage.
6- In “Post Loop” block there’s no option to exclude posts by categories. How can we achieve that? Example: Exclude category: -3, -47107, -24,
Warm Regards,
Marta Reis
Hi.
I am trying to setup a custom template for a specific category.
I’d like to have a posts loop block that lists the articles of this category and shows the content of the post in place of the excerpt, and need no “read more” button.
This category will contain very simple post content with an article image and only 2 or 3 text paragraphs.
I could write my 2 or 3 text paragraphs on the excerpt section, but displaying the excerpt on the loop removes the line feeds.
I really don’t know where to start from here…
Any help welcome.

