I want to include a menu item on a particular php page on my site. I'm using an include to display the menu (includes-menu.php) on my pages (index.php, page1.php etc.).
If the user is at page3.php, I want to add an extra menu item. I imagine the code will need to check to see the name of the current page and if it is not page3.php it won't include the additional code, if it is, then it will display the code.
Should the additional code be hard coded inside an "if" statement" or as a further include in the "if" statement? (an include in an include?)
How can I achieve this please?