WordPress linking to subpages

I have made a subpage(accreditations.php) for my about_us.php page. I have done this by creating the page in wordpress and making the about us page the parent. I then made a php file for the accreditations page and applied a template name like you normally would so that I can edit it in my text editor.

To get the link to work I did this

<a href="accreditations" class="absolute_img_links">Accreditations</a>

which linked to the accreditations page through the about us page like this


Now I’m wondering how this has worked? and if it is the proper way to do this?

Read more here: WordPress linking to subpages

Leave a Reply

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