I am using the following shortcode function to list all of my website pages in the footer of my website:
The problem is that each page has the title of:
Sydney - website name
This means that when I list all pages in the footer, I see a list such as:
Sydney - website name, Melbourne - website name, Brisbane - website name
But what I really want is:
Sydney, Melbourne, Brisbane
Is there a way that I can do this?