“Between posts” position not showing on category pages (archives)

Hi, I have a bunch of elementor loops on the homepage and the same loops on archive pages.

When I tell AdInserter to show a piece of code “Between posts” + the position on the homepage, it works fine. (password adinserter)

But I do exactly the same and it doesn’t.

I have checked the “Show positions” option in the top admin bar and can see that on the homepage, all positions are detected:

But they are missing on the archive pages (that use the same Elementor loops):

I tried switching the theme, no change.

When I use the Elementor standard “Archive posts” widget, it works. But when I put the custom loop in there (same as on the homepage), it doesn’t.

The only difference between the homepage and archive custom loop is the query:
Homepage> set to show all recent posts
Archive (post category) page > set to show “current query” = posts from the current archive. This works fine – the posts change based on what category you’re looking at, so the WP archive loop is present – so not sure why not the hooks AdInserter is looking for?

When I inspect the code, it looks the same in both loops (homepage / category archive).
Homepage:
Archive page loop (same loop as homepage):

I have opened a ticket with Elementor too, but as the code is the same – could it be that AdInserter is missing something too?

thanks

Lukas

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer