Grab Outer Looper id

Hi,
how can I grab the outer looper id from within an inner looper?
depth=1 does not work.
Best regards,
Hannes

Hello Hannes,

Thanks for writing in!

The Looper do not have an ID. Are you referring to a post ID? Normally, the “depth=1” should give you access to the parent looper. For example;

Looper Provider Query builder [display recent post items]
    Looper Consumer

          Looper Provider Dynamic Content
                Looper Consumer
                
                      Display Post ID by using "{{  dc:post:id }}"         

We would be happy to double-check your nested Loopers if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.