How to call a certain object/menubar in a PHP file

Since noone responded, here’s my solution:

I copied my menubar from header.php into a new file called menubar.php and called that file with include(“menubar.php”);