Check if the child page has sibling pages, and bookmark current page

I already check if the secondary page has sister pages and I show it in a list of sister pages within each secondary page, but when I am inside a sister page, in the list where I show it I want to make the page where it is located be marked.

Something like this:

Science books
Book 1
Book 2
Book 3

When I’m inside:

Book 2

In the list of books I want to mark the current page

Book 1
Aqual page: Book 2
Book 3

Is it possible?
Thank you in advance

Read more here:: Check if the child page has sibling pages, and bookmark current page

Leave a Reply

Your email address will not be published. Required fields are marked *