I am trying to display related subpages on every subpage as opposed to just have subpages displayed on the parent page
i am using this code which does the trick
however it also displays the subpage that is currently active, is there a way to not display the current subpage in the list but display all other related subpages
i can’t do that unless it picks up the current page ID??
because im using it in my page.php file…all the pages use the same file so i can’t exclude certain pages, apart from doing a huge if statement, but thats not very practical as its for a client who will be adding more pages later