Display pages at same level excluding current page

Hi - I am setting up a development site using pages to maintain the hierarchy of the breadcrumbs. It’s for a Golf website selling vacation packages, although the packages are not ‘products’ per se, and therefore don’t need to be able to be purchased in the traditional sense.

Therefore, I am trying to create pages under this as an example structure:

Home
– Scotland
— Aberdeen
— Best of Aberdeen
— Aberdeen Weekend Deals
— International Dunes

If I display the page ‘Best of Aberdeen’ (at the third level) is it possible to create a dynamic loop or query as a provider to display the other sibling pages with the same direct parent? I’m sure this is possible, and there’s probably a simple way of doing this, but I can’t seem to figure it out.

Thank you

Hello @geoffmartyn,

Thanks for writing in! Regretfully we do not have a built-in feature of the Looper Provider that allows you to display the other sibling pages with the same direct parent. What you can do is to use Looper Provider Custom and then create your own PHP function that returns the siblings of the page with the same direct parent.

Be advised that custom PHP coding is beyond the scope of our support under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One service for further assistance.

Best Regards.

Thank you, @ruenel. I’ll do that and will see how I get on.

Kind regards,

Geoff

Hi Geoff,

You are most welcome. Please let us know how it works for you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.