Display child page number

I’d like to display the post number for my entries. I.e ‘This is post number 1’ and so on. What would be the best way to achieve this? I’ve included my loop below if that’s of any help. Thanks in advance.

			<?php foreach ($page->children() as $edition): ?>
		<article class="thumbnail">

			<?php foreach($edition->images() as $image): ?>
			<figure class="thumbnail-img-container">
				<a href="<?= $edition->url() ?>">
				  <img class="landing-img lazyload" loading="lazy" src="<?= $image->resize(640, null, 65)->url() ?>" data-src="<?= $image->resize(640, null, 65)->url() ?>" alt="">
				</a>
			</figure>
			<?php endforeach ?>

Post number depending on what? The sorting number from the folder? What sorting scheme are you using? Default numbers? Date?

Why would the user be interested in this information? Wouldn’t a date be more useful?

Sorry, should have been more specific. Is it possible to display the position set in the panel? See attached. I just need 1, 2, 3 etc.

Yes, that means you are sorting by default numbers.

You can achieve this by printing the page number:

<?= $edition->num() ?>

But see my added remark above.

Perfect! I wanted to catalogue my pages by ‘Editions’ as a visual cue. It won’t have any use to the user, you’re right. It’s just a little nicety :slight_smile:

Thanks for your help.