I'm not great with Wordpress, new enough to it (and PHP).

Sites I have worked on before would have page files like, index.php or about-us/index.php - so in each of these files at the top would be something like this:

PHP Code:
$currentLevel1Page "Home"
Anyone know how I can add something like this to separate pages in Wordpress? I'd like to call a different element, like a paragraph or menu depending on the page.